[FFmpeg-user] MPEG OPTION CONFIGURATION

Cédric Cochennec cedric.cochennec at gmail.com
Fri Dec 2 12:47:21 EET 2022


Hi all

I am trying to understand and set things up for mpeg streams options in
ffmpeg.
Let's do this with mpeg1video codec in mpg container.

I peaked up this command line in ffmpeg documentation wich work perfectly
well :

-f vcd -muxrate 1411200 -muxpreload 0.44 -packetsize 2324
-s 352x288 -r 25
-codec:v mpeg1video -g 15 -b:v 1150k -maxrate:v 1150k -minrate:v 1150k
-bufsize:v 327680
-ar 44100 -ac 2
-codec:a mp2 -b:a 160k


Now, I tried several changes to achieve bit_rate=2.123200 Mbit/s and
overall bit_rate=2.332245 Mbit/s but with little success for readability,
error buffer underflow etc...

What would be the setup of these options :

   - -muxrate
   - -muxpreload
   - -packetsize
   - -b:v
   - -maxrate:v
   - -bufsize:v

Many thanks for your help

Cédric


More information about the ffmpeg-user mailing list