[FFmpeg-trac] #3827(ffmpeg:new): Provide an option to quickly seek by a number of frames

FFmpeg trac at avcodec.org
Mon Aug 4 16:52:16 CEST 2014


#3827: Provide an option to quickly seek by a number of frames
----------------------------------+---------------------------------------
             Reporter:  11rcombs  |                     Type:  enhancement
               Status:  new       |                 Priority:  wish
            Component:  ffmpeg    |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 There are some cases where a user has the start and end frame numbers for
 their desired transcode, but not the corresponding timestamps. It'd be
 convenient to have an option analogous to `-ss` (as an input option) that
 skipped to the given frame number.
 As most formats don't have frame numbers, this would require the file to
 be read all the way up to the seek point to count frames, but shouldn't
 necessitate *decoding* video until the first keyframe before the seek
 point. This would likely involve reading up to the given frame, then
 acting as if `-ss` was given with that frame's timestamp (i.e. index-seek
 to nearest keyframe, then insert trim filters).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3827>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list