Opened 2 years ago

Closed 2 years ago

#5160 closed enhancement (fixed)

Document how -fs reduces size

Reported by: jidanni Owned by:
Priority: wish Component: documentation
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: yes

Description

How to reproduce:
On the man page, and in /usr/share/doc/ffmpeg-doc/manual/ffmpeg.html we see:

       -fs limit_size (output)
           Set the file size limit, expressed in bytes.

Mention how it does this: reduced screen size? Reduced bitrate? Or just
plain chopping of the movie when the limit is reached?

Change History (2)

comment:1 Changed 2 years ago by Misaki

It appears to stop, similar to pressing ctrl-C in Linux, once detected size exceeds the option. It finishes encoding the remaining frames. So, using -tune zerolatency for h264 makes it more accurate, while having a high bitrate/low crf makes it exceed the size.

comment:2 Changed 2 years ago by saste

  • Analyzed by developer set
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in:

commit 9effa012553167d3662f1392310671c575c9322f
Author: Umair Khan <omerjerk@gmail.com>
Date:   Mon Feb 1 01:17:58 2016 +0530

    doc/ffmpeg: explain properly how -fs works
    
    Fix trac ticket #5160.
    
    Signed-off-by: Umair Khan <omerjerk@gmail.com>
Note: See TracTickets for help on using tickets.