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.
+ Reply to Thread
Results 1 to 5 of 5
-
Drop dead gorgeous!
-
Tried
Code:ffmpeg -i myfile.avi -target pal-vcd vcd.mpg
Any diffference? -
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! -
Originally Posted by Gew
Look at the left at "Tools" to download a more recent build. -
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!
Similar Threads
-
Converting Avi to Mpg using ffmpeg
By sumit_pankaj in forum Video ConversionReplies: 5Last Post: 31st May 2020, 20:42 -
Need CBR MP3 in FFMPEG encode, can you help?
By RogerTango in forum Video ConversionReplies: 7Last Post: 17th May 2010, 20:09 -
AVI /MPG to FLV with FFMPEG
By akpnet in forum Video ConversionReplies: 2Last Post: 23rd Apr 2010, 06:52 -
[FFMPEG] mpg > jpg , not all frames is outputted
By squadjot in forum Video ConversionReplies: 3Last Post: 2nd Jan 2010, 17:58 -
.mpg -> .mp4 using ffmpeg, Video is choppy and 2x too long
By rccollins in forum Video ConversionReplies: 3Last Post: 11th Dec 2008, 10:20