[FFmpeg-trac] #2327(undetermined:new): accept "chapters" as segment_times

FFmpeg trac at avcodec.org
Tue Mar 5 08:02:05 CET 2013


#2327: accept "chapters" as segment_times
-------------------------------------+-------------------------------------
               Reporter:  dericed    |                  Owner:
                   Type:             |                 Status:  new
  enhancement                        |              Component:
               Priority:  wish       |  undetermined
                Version:  git-       |               Keywords:
  master                             |  segment,chapters
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 Summary of the bug:

 FFmpeg adds recent support for "chapters" within -force-key-frames.

 At: http://ffmpeg.org/ffmpeg.html
 {{{
 If one of the times is "chapters[delta]", it is expanded into the time of
 the beginning of all chapters in the file, shifted by delta, expressed as
 a time in seconds. This option can be useful to ensure that a seek point
 is present at a chapter mark or any other designated place in the output
 file.
 }}}

 Could "chapters" be similarly supported in -segment_times, so that this
 would be feasible (segment input based on embedded chapters):

 {{{
 ffmpeg -i file_with_chapters.mov -map 0 -c:v libx264 -c:a libfaac
 -force_key_frames chapters-0.1 -f segment -segment_list tout.csv
 -segment_times chapters-0.1 chaptered_%03d.mp4
 }}}

 Currently to do the same the user must parse out the chapter start values
 and do this:

 {{{
 ffmpeg -i /Users/davidrice/SoundieF.mpeg -map 0 -c:v libx264 -c:a libfaac
 -force_key_frames chapters-0.1 -f segment -segment_list tout.csv
 -segment_times 10,20,30 chaptered_%03d.mp4
 }}}

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


More information about the FFmpeg-trac mailing list