Changes between Version 28 and Version 29 of Seeking


Ignore:
Timestamp:
Jul 16, 2023, 3:40:47 PM (3 years ago)
Author:
RevoGat
Comment:

The split also might not be accurate when using -ss as output option (-ss before an output url; -ss after -i ).

Legend:

Unmodified
Added
Removed
Modified
  • Seeking

    v28 v29  
    8282== Seeking while doing a codec copy ==
    8383
    84 Using `-ss` as input option together with `-c:v copy` might not be accurate since `ffmpeg` is forced to only use/split on i-frames. Though it will—if possible—adjust the start time of the stream to a negative value to compensate for that.  Basically, if you specify "second 157" and there is no key frame until second 159, it will include two seconds of audio (with no video) at the start, then will start from the first key frame.  So be careful when splitting and doing codec copy.
     84Using `-ss` as input/output option together with `-c:v copy` might not be accurate since `ffmpeg` is forced to only use/split on i-frames. Though it will—if possible—adjust the start time of the stream to a negative value to compensate for that.  Basically, if you specify "second 157" and there is no key frame until second 159, it will include two seconds of audio (with no video) at the start, then will start from the first key frame.  So be careful when splitting and doing codec copy.