[FFmpeg-trac] #1771(documentation:closed): The file size limit almost never works.
FFmpeg
trac at avcodec.org
Mon Apr 8 08:27:38 EEST 2019
#1771: The file size limit almost never works.
-------------------------------------+-------------------------------------
Reporter: | Owner:
agusdallalba |
Type: defect | Status: closed
Priority: minor | Component:
| documentation
Version: git-master | Resolution: fixed
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Gyan):
In theory, one could
1) allow the user to set a trailer size threshold in % terms, or use a
hardcoded value.
2) write_packet could abort if current output size + pkt.size + above
trailer estimate exceeds the fs limit.
One complication would be missing interim frames for video streams with
delay. But that could perhaps be ameliorated by taking into account
video_delay from the stream's codecpar.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/1771#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list