VideoHelp Forum




+ Reply to Thread
Results 1 to 5 of 5
  1. ffmpeg -i "source.avi" -an -vcodec mpeg1video -b 1150000 -aspect 4:3 -s 352x288 -y output.mpg

    The results gets VBR by default.
    How do I enforce CBR through FFMPEG?


    Regards.
    Drop dead gorgeous!
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Tried

    Code:
    ffmpeg -i myfile.avi -target pal-vcd vcd.mpg
    ?

    Any diffference?
    Quote Quote  
  3. Yeah. Sorry for the stupid one. I know it's always a matter of just how hard you're willing to Google your way to the answer instead of throwing meaningless threads on-board. This time, I didn't go there in the first place, instead I dumped the long ffmpeg.exe help into a txt, searched it for strings like "cbr", "constant", "bitrate". After no results I gave it up, and threw this post!

    A couple of minutes later I started flooding wicked Google strings. Suddenly, I ran over this page [with a totally different topic], but anyways, there it was, the meaningful -target switch. Tried the -vcd (or w/ further precision: -pal-vcd) switches. Finally, CBR, as desired.


    Anyways..
    I guess this should be a whole different topic, but when I'm at it, anyone who knows why ffmpeg (latest Win32 build) can't achieve proper MP2 output? While -target pal fixes the video encoding, I still can't seem to get an audio output that doesn't go "SCHHHHHHHHHHHHHHHHHHHHZ" (high-freq noise; real SCARY one*).
    Drop dead gorgeous!
    Quote Quote  
  4. Member
    Join Date
    Sep 2007
    Location
    Europe
    Search PM
    Originally Posted by Gew
    anyone who knows why ffmpeg (latest Win32 build) can't achieve proper MP2 output? While -target pal fixes the video encoding, I still can't seem to get an audio output that doesn't go "SCHHHHHHHHHHHHHHHHHHHHZ" (high-freq noise; real SCARY one*).
    Probably not the "very" latest. MP2 audio was broken a few versions ago but seems to be fixed.

    Look at the left at "Tools" to download a more recent build.
    Quote Quote  
  5. THANKS!

    Gosh, I've actually suspected a bug of some kind, so I've been looking for a new Win32 build more or less every week (been stuck on svn-16596 january build for quite a while), but without sucess.

    Once again, seems like I've been missing it right in front of my eyes (on the board/site I visit like every day). Just downloaded latest 0.5 (built on mars 16) and mpeg audio now works like a charm all of a sudden.

    Just wonderful!
    Drop dead gorgeous!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!