[FFmpeg-trac] #8189(ffmpeg:new): FFMPEG fails to trim beginning of clip
FFmpeg
trac at avcodec.org
Thu Feb 20 14:45:29 EET 2020
#8189: FFMPEG fails to trim beginning of clip
------------------------------------+----------------------------------
Reporter: mmorin | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by mmorin):
I think I understand now. Both samples have non-intra encoding, which
means that if the data related to a frame exceeds the bitrate, the extra
bytes will be saved in a "byte reservoir" and added to later frames . In
the first sample, the outpoint of 5 seconds has an empty byte reservoir
and the command can exit at that point without having to decode and re-
encode. In the second sample, the outpoint of 5 seconds has a non-empty
"byte reservoir", so copying without decoding and re-encoding is forced to
copy the whole file. Is my understanding correct?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8189#comment:9>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list