[FFmpeg-trac] #8415(undetermined:new): image2 strftime %z not supported

FFmpeg trac at avcodec.org
Fri Dec 6 19:23:05 EET 2019


#8415: image2 strftime %z not supported
-------------------------------------+-------------------------------------
             Reporter:  ap           |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  4.2
  undetermined                       |
             Keywords:  image2,      |               Blocked By:
  strftime                           |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 FFMPEG 4.2.1 Windows Build

 ffmpeg ^
 -rtsp_transport tcp ^
 -i rtsp://..... ^
 -f image2 ^
 -vf fps=fps=1 ^
 -strftime 1 ^
 "test\%%Y%%m%%d%%H%%M%%S%%z.jpg"

 image2 encoder states strftime is supported. However using the %z option
 produces timezone name '%Z' and NOT the numeric offset for the timezone.

 This parameter is not working properly.
 %z     The +hhmm or -hhmm numeric timezone (that is, the hour and
               minute offset from UTC). (SU)

 I also tested and NOTE that %s (epoch) is not supported.

 http://man7.org/linux/man-pages/man3/strftime.3.html


 IDEALLY there would be an OPTION so support UTC time.

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


More information about the FFmpeg-trac mailing list