[FFmpeg-trac] #1483(avformat:new): Allow a list of keyframe numbers that are valid for starting a new segment

FFmpeg trac at avcodec.org
Sun Jun 24 03:13:52 CEST 2012


#1483: Allow a list of keyframe numbers that are valid for starting a new segment
----------------------------------+---------------------------------------
             Reporter:  gordon    |                     Type:  enhancement
               Status:  new       |                 Priority:  normal
            Component:  avformat  |                  Version:  unspecified
             Keywords:  segment   |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 It would be beneficial to have an option with the segmenter to white list
 keyframes that can be used to start new segments.  The duration of the
 segment would not cause a new segment to be created until a keyframe in
 the white list is reached.

 This will allow videos that have a subset of common keyframes to be
 segmented and maintain common starting points.  Otherwise, a constant gop
 is required which is not optimal.

 My feature request will allow the encoder to optimize keyframe placement
 for different quality levels of the encode in variant streams without
 risking playback getting out of sync between the variant streams which
 makes swapping between streams impossible.

 Adding a command line option to input a comma separated list of frame
 numbers would be an easy way to implement this.  Then the list can be
 checked against the current frame number when outputting packets into
 segments.

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


More information about the FFmpeg-trac mailing list