Why do I get a massively huge HuffYUV file sometimes?

If you have questions about compression/encoding/converting look here.
Locked
User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Sat Nov 24, 2007 1:12 am

Do you have the .Net Framework installed? avi_tc's GUI depends on that, although I'm not sure if it's .Net 1.1 or 2.0 (it's okay to install both of them - actually for some things it's required because some programs use 1.1 and others use 2.0).

Links:
1.1 =
http://www.microsoft.com/downloads/deta ... laylang=en

2.0 =
http://www.microsoft.com/downloads/deta ... laylang=en
dazza1008 wrote:BTW - a problem. NO SOUND!!!! @_@ I'd like to have sound available because I might want to use the original soundtrack as an intro, but that may be why the size was reduced so much... (btw in order to have sound I have opened up a file in WMM, saved it as an mp3, memorised who said what when, and matched it up with the image. Not recommended.)
To have correct audio sync, you'll need to take the video that avi_tc exported, the audio (which you can take from VDubMod by loading the original 119fps DivX file, going to Streams->Stream List, highlighting the audio stream, and hitting the Demux button), and the timecode that avi_tc exported, and mux them together into an MKV file with MKVMergeGUI from the MKVToolNix project. It's mostly straightforward, just use the Add button to load the video and audio, highlight the video stream in the Tracks area, and then use the Timecodes field to locate and load the timecode file. Then hit the 'Start muxing' button and wait for it to finish up.

Then you'll need to use an AviSynth script to load the MKV correctly (make sure AviSynth is installed first, though). This script should do:

Code: Select all

DirectShowSource("path\to\video.mkv",fps=29.97,convertfps=true)
(just the name of the file is required when the script is in the same directory as the video; the " marks are a required part of the script, so make they're there also)

You can then load the script into VirtualDubMod (with the regular Open video file command, not Open via AviSynth) and go from there.
And btw what do you mean by pre-processing because this program assumes a constant frame rate (and my avi probably doesn't have that, hence the need for 119 fps with some dummy frames)? This was the first thing I did... I thought I would have to create another divX file with null frames removed. But exactly how would I go about doing that?

Thanks! ^-^
AVI can only support constant frame rate. Using null frames is a hack that allows variable frame rates to be used with it by making it appear as though it's a constant frame rate file. When it comes out of avi_tc, though, it will probably have been set to 29.97, 23.976, or some arbitrary framerate in between - this will mess with the audio sync or may play too fast/slow in sections because of matching only one or the other FPS. The adjustment I'm talking about is to make most of the video run at the right speed at the expense of the fewer sections that don't match (in other words, set it to 23.976 and not care the about the ones that are 29.97), or just use Premiere's ability to speed up/slow down the video to fix the problem of sections going too fast or too slow.

Alternately, I already described how to deal with wanting to maintain audio sync above by making the MKV file and using AviSynth - that'll make sure both sections are taken care of right. The script I provided turns the video into a proper constant framerate file while maintaining the audio sync.

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Post by Qyot27 » Sat Nov 24, 2007 1:21 am

If you absolutely need to use 23.976, then you can do this with the AviSynth script:

Code: Select all

DirectShowSource("path\to\video.mkv",fps=29.97,convertfps=true)
Decimate(5, mode=2)
BicubicResize(704,396)
Which will bring it down to 23.976 and resize it to the dimensions you specified. If it actually needs to be cropped instead of resized (if the difference in size is actually due to letterboxing), then the Crop(left,top,-right,-bottom) command can be used instead, followed by the resizing line.

Locked

Return to “Conversion / Encoding Help”