[MEncoder-users] MJPEG and LJPEG video bitrate

Bill Crockett wsc4 at optusnet.com.au
Thu May 16 12:38:58 CEST 2013


On 16/05/2013 1:03 AM, Carl Eugen Hoyos wrote:
 > Bill Crockett <wsc4 <at> optusnet.com.au> writes:
 >
 >> On 15/05/2013 9:21 PM, Carl Eugen Hoyos wrote:
 >>> Bill Crockett <wsc4 <at> optusnet.com.au> writes:
 >>>
 >>>> -ovc lavc -lavcopts vcodec=ljpeg:mbd=1:vbitrate=1800
 >>>
 >>> It makes no sense to set a bitrate for a lossless encoder.
 >>>
 >> What about the MJPEG?  Can I set that?
 >
 > It works to some degree with ffmpeg as long
 > as you select single-threaded encoding.
 >
 > Carl Eugen
 >
 >
Thank you.  I just did a bare-bones test like this and it worked:

  ffmpeg -i input.avi -vcodec mjpeg -b 16000k -acodec copy ffmpeg_test.avi

However, with MEncoder and looking at the the bottom of the Man page, it 
gives an example:

The same, but with MJPEG compression:
mencoder dvd://2 -o title2.avi -oac copy -ovc lavc -lavcopts 
vcodec=mjpeg:mbd=1:vbitrate=1800

Experimenting with the vbitrate of 1800 up to 24000000 made no 
difference and defaulted to some set rate.

Before MEncoder became unmaintained, did this ever work?


More information about the MEncoder-users mailing list