[FFmpeg-trac] #1771(documentation:open): The file size limit almost never works.

FFmpeg trac at avcodec.org
Fri Sep 28 20:52:36 CEST 2012

#1771: The file size limit almost never works.
             Reporter:               |                    Owner:
  agusdallalba                       |                   Status:  open
                 Type:  defect       |                Component:
             Priority:  minor        |  documentation
              Version:  git-master   |               Resolution:
             Keywords:  limit_size   |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |

Comment (by agusdallalba):

 Replying to [comment:3 saste]:
 > On the other hand, the additional size may be due to the format trailer,
 which is not always (easily) predictable, so that may be the reason of the
 observed behavior.

 I tried with `ffmpeg -i dinah.mp4 -an -f rawvideo -fs `__`xxxx`__` -y
 out.raw`, where `dinah.mp4` is a yuv420p 480x360 video. Each frame is
 (6B/4px)*480*360px = 259200 bytes of raw video. Coincidentally `out.raw`
 is always the smallest multiple of 259200 bytes that's '''bigger''' than
 __`xxxx`__ in the command line.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1771#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list