[FFmpeg-trac] #4595(undetermined:new): time specification improvements

FFmpeg trac at avcodec.org
Fri Jun 5 23:54:34 CEST 2015


#4595: time specification improvements
-------------------------------------+-------------------------------------
             Reporter:  gajjanag     |                     Type:
               Status:  new          |  enhancement
            Component:               |                 Priority:  normal
  undetermined                       |                  Version:  git-
             Keywords:  time         |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 According to the docs,

 -ss pos

     Seek to a given position in seconds.
 -t duration

     play <duration> seconds of audio/video

 Nevertheless, examining the source code reveals that this description is
 incomplete.
 For instance, ffmpeg does accept the common HH:MM:SS format specifier for
 times.
 The doc above is misleading as it leads one to conclude that the user must
 convert
 their time string to a raw number of seconds before passing it in.

 Also, the exact format accepted is not documented in the source code.
 I believe bringing it in line with ISO 8601
 (https://en.wikipedia.org/wiki/ISO_8601)
 could be a usability improvement.

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


More information about the FFmpeg-trac mailing list