[Ffmpeg-devel] Something wrong with rate control?

Måns Rullgård mru
Thu Dec 1 11:06:05 CET 2005


Juan Jose Galvez said:
> Hello everyone,
>
> I'd like to know if something's wrong with rate control in the CVS
> versions
> I've been downloading from the last weeks. Specially when encoding with
> H.264. The output generated has a very different  bitrate than the one I
> ask
> for.
>
> I'm compiling CVS sources in Windows with mingw and this is an example of
> a
> command-line I'm testing:
>
> ./ffmpeg -i video.avi -vcodec h264 -b 512 -acodec mp3 test.avi
>
> While encoding FFMPEG reports bitrates of 3000 kbit/s, not 512 kbps. Mp3
> bitrate is 64kbps.
> Right now I'm testing with version 2005-12-01, and the same is happening
> with MPEG4.

You should set -minrate, -maxrate and -bufsize.

-- 
M?ns Rullg?rd
mru at mru.ath.cx





More information about the ffmpeg-devel mailing list