[FFmpeg-trac] #8576(undetermined:new): strftime does not support %s

FFmpeg trac at avcodec.org
Thu Mar 19 09:25:35 EET 2020


#8576: strftime does not support %s
-------------------------------------+-------------------------------------
             Reporter:  ap           |                     Type:
                                     |  enhancement
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  strftime     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 [image2 @ 0000020d6a852b80] Could not get frame filename with strftime
 av_interleaved_write_frame(): Invalid argument

 strftime support is indicated in ffmpeg documentation
 strftime
 If set to 1, expand the filename with date and time information from
 strftime(). Default value is 0.

 http://man7.org/linux/man-pages/man3/strftime.3.html states '%s' for epoch
 seconds. Ideally this format would also support microseconds.

 How to reproduce:
 {{{
 % ffmpeg -i input ... output -strftime 1 "%s.jpg"
 [image2 @ 0000020d6a852b80] Could not get frame filename with strftime
 av_interleaved_write_frame(): Invalid argument

 ffmpeg version git-2020-03-15-c467328
 }}}

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


More information about the FFmpeg-trac mailing list