PDA

View Full Version : strange (S)VCD quality results with ffmpeg/menc


martino
2nd December 2007, 19:25
I've been trying to write a batch script for encoding to various formats and when I came to VCD and SVCD I got very strange results. The quality seems to cycle between bad and good every few frames. I've tried both mencoder and ffmpeg (but as expected since they use a similar library) the results were similar.

The command line that I used is basically the one taken from mplayer's documentation;
mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=x%format% -vf scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 -o output.mpeg input.avs

Download of a sample: http://www.sendspace.com/file/jngkre

Am I missing out any setting that could fix this, or is this some kind of a general problem with ffmpeg? If yes, then are there any other command line tools for transcoding to (S)VCD?


Thank You