[FFmpeg-user] -fs and -b

Jim Worrall coniophora at gmail.com
Tue Jul 5 03:20:22 CEST 2011


On Jul 4, 2011, at 5:36 PM, Etienne Buira wrote:

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.

Oh, I had not understood that.  Good to know.
Thank you.


More information about the ffmpeg-user mailing list