Need some advice on creating an FFMPEG command line to do 'Same Quality' video conversions.
It would need these options:
1) convert from MP4 to Xvid (using 2 passes)
2) resetting the resolution to 720x404
3) use MP3 audio with a 128 bitrate
4) resulting video should have the same quailty (bit rate) as the original
I have tried using some FFMPEG based VC converters, but in some cases, I haven't been able to achieve the same quality. I would like to try a command line instead.
Any help would be appreciated.
Regards...John B
+ Reply to Thread
Results 1 to 5 of 5
-
-
Not possible with lossy codecs like xvid
You'd need higher bitrates (thus larger filesizes) for simliar quality as the original if you're were not resizing
This is especially true if your MP4 used more advanced compression like AVC. Going from AVC to xvid is worse than the other way around (you're going from better compression to worse compression)
-sameq in ffmpeg actually means "same quantizer" as the input file, which is not the same thing as "same quality" -
Thanks for the really fast reply. Dumb question, would that apply to all AVI codecs? I usually watch these videos on TV via a DivX compatible DVD player.
-
No, there are "lossless" codecs that are AVI compatible. e.g lagarith, ut video codec, huffyuv, many others . These won't work on your DivX DVD Player
All lossless codecs are much larger in filesize because the "lossless" nature refers to the uncompressed state, or decoded data from the original video (so they are smaller than the uncompressed size, but not the original compressed video)
The best you can do for that player - quality wise - is use a low quantizer e.g. q=2 , but the filesize will be large . Sometimes it may stutter unless you use an encoding profile compatible for DivX standalones (the encoding profile e.g. DivX or XviD home theatre profile "caps" bitrate peaks, which may cause stuttering on standalone units, but this potentially reduces quality as well)
Similar Threads
-
Does FFmpegX download/install the FFmpeg command line tools?
By backspaces in forum ffmpegX general discussionReplies: 4Last Post: 4th Jul 2012, 12:56 -
Anyone Can Help to Convert This Preset to FFmpeg Command Line?
By raymng in forum Video ConversionReplies: 2Last Post: 26th Feb 2012, 12:11 -
ffmpeg / H264 (need help to build an optimized command line)
By iwiiiiiiiiii in forum Video ConversionReplies: 13Last Post: 22nd Oct 2011, 10:41 -
ffmpeg generate audio/add to video help please, command line
By surfmonkee in forum LinuxReplies: 3Last Post: 11th Sep 2011, 16:17 -
ffmpeg tga to x264 command line ?
By krohm in forum Video ConversionReplies: 71Last Post: 6th Jul 2010, 02:01