[FFmpeg-user] -fs and -b

Etienne Buira etienne.buira.lists at free.fr
Tue Jul 5 01:36:01 CEST 2011


On Mon, Jul 04, 2011 at 05:29:58PM -0600, Jim Worrall wrote:
> If you set both -fs to limit file size and -b to limit bitrate, does one take precedence over the other, or does the one that leads to the smallest file and lowest bitrate get applied?  I'm using libx264.
> Jim

Hi.

-fs is not intented to be a target file size.

If you specify both -fs and -b, it will encode at bitrate b, and stop
when destination file haves the -fs size (then, truncating if this
condition happens).

PS: please cut your lines.


More information about the ffmpeg-user mailing list