Hi, I'm having some problems converting an xvid avi file to a dvd compliant mpeg-2 file using ffmpeg.
The problem I'm having is that ffmpeg isn't using the bitrate I specify. I've tried
ffmpeg -i video.avi -vcodec mpeg2video -acodec mp2 -b 7000k output.mpg
but the bitrate hovers at around 2500K when it's converting.
I also tried
ffmpeg -i video.avi -sameq -target dvd output.mpg
but the bitrate hovers at around 6500K when it's converting. Which isn't the same bitrate as the original video.
Anybody know why it's doing this?
+ Reply to Thread
Results 1 to 4 of 4
-
-
https://www.videohelp.com/tools?tool=gui4ffmpeg
Up above there is "options" ... uncheck preset , unlocks to generator down below -
Originally Posted by Bjs
-
I believe what you're seeing is because the output mpeg is VBR and the numbers are what's going on at that moment during the encode. The -b is average bitrate but moment by moment the actual can move around quite a bit. If it's any help, this is a script I use fairly often. The padding is to beat overscan:
Code:"C:\Program Files\ffmpeg.exe" -i "C:\path\to\file.avi" -target ntsc-dvd -b 6500 -maxrate 8000 -aspect 4:3 -s 656x448 -g 15 -padright 32 -padleft 32 -padtop 16 -padbottom 16 -acodec ac3 -ab 192 -ac 2 -mbd 2 -qmin 2 -async 1 -y "C:\path\to\file.mpg"
Similar Threads
-
FFmpeg bitrate problem
By ajitpals in forum Video ConversionReplies: 0Last Post: 1st May 2010, 02:02 -
ffmpeg bitrate
By heruvim in forum Newbie / General discussionsReplies: 1Last Post: 8th Dec 2009, 07:10 -
File Size & Video Bitrate Calculator
By wiseant in forum Video ConversionReplies: 3Last Post: 27th Nov 2009, 21:59 -
Small ffmpeg & bitrate question
By vvkeer in forum Newbie / General discussionsReplies: 1Last Post: 17th Feb 2009, 08:30 -
No change in bitrate (audio & video) after shrinking?
By moviebuff2 in forum Newbie / General discussionsReplies: 3Last Post: 8th Jan 2008, 00:34