Video compression problems
February 3, 2009 2:53 PM
Subscribe
Does anyone have advice on video compression/transcoding formats, options, etc please?
I recently captured some old VHS tapes to my computer at high quality, which (naturally) resulted in giant files; 5.5gb for a two hour video. I'm trying to transcode/compress with ffmpeg and the results are still huge, and invariably look awful. There are huge blocks, artifacts, etc.
I know squat about video compression, but I know its possible to get decent video in small files because I download 'em all the time. Obviously I'm choosing the wrong format and/or compression options.
ffmpeg reports the video I got from my capture device as mpeg2 at 720x480 and 5999 kb/s. I tried ogg, avi, etc at 200kb/s (the default) and the result was unwatchable, so I boosted to 2000kb/s and the result was so so but not great and the file was still remarkably large.
I'm not wedded to ffmpeg if a different program would work better, though I'd prefer to stay in the free as in beer category, and ideally in the works with linux category.
Any help or advice would be greatly appreciated.
posted by sotonohito to computers & internet (14 comments total)
3 users marked this as a favorite
In terms of heavier filtering, your best bet is Avisynth but I have no idea how well it works on Linux natively /under Wine/etc. The doom9 Avisynth forums will have the best up-to-date info on using it under *nix. Avidemux will accept Avisynth input through its AVSProxy.
For a 720x480 4:3 NTSC encode, I would think x264 at High Profile/Level 4.1 compatible options at 1200kbs would give very good quality. One way to find a good bitrate (if predicting filesize is a necessity) is to encode with various CRF presets from 20 to 26, find the one that just hits watchable quality, and use the bitrate of that encode as a rule of thumb for similar sources. Otherwise just stick with a CRF encode: I've found CRF 22 to be visually transparent without going overkill on the bitrate like, say, CRF 18.
posted by Inspector.Gadget at 3:03 PM on February 3, 2009