[FFmpeg-trac] #8415(avformat:closed): image2 strftime %z not supported
FFmpeg
trac at avcodec.org
Sat Mar 21 00:49:02 EET 2020
#8415: image2 strftime %z not supported
-------------------------------------+------------------------------------
Reporter: ap | Owner:
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: unspecified | Resolution: invalid
Keywords: image2 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => closed
* resolution: => invalid
Comment:
Not an issue that can be fixed in FFmpeg, I can reproduce with
mingw32/mingw64 compiler version gcc 7.3-win32 (GCC) 20180312.
{{{
$ ffmpeg.exe -f lavfi -i testsrc2 -vframes 1 -strftime 1
%Y%m%d%H%M%S%z.jpg
ffmpeg version N-97021-gf39678b3a9 Copyright (c) 2000-2020 the FFmpeg
developers
built with Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28315
for x64
configuration: --toolchain=msvc --enable-gpl
libavutil 56. 42.101 / 56. 42.101
libavcodec 58. 76.100 / 58. 76.100
libavformat 58. 42.100 / 58. 42.100
libavdevice 58. 9.103 / 58. 9.103
libavfilter 7. 77.100 / 7. 77.100
libswscale 5. 6.101 / 5. 6.101
libswresample 3. 6.100 / 3. 6.100
libpostproc 55. 6.100 / 55. 6.100
Input #0, lavfi, from 'testsrc2':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240
[SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[swscaler @ 00000215ED341E80] deprecated pixel format used, make sure you
did set range correctly
Output #0, image2, to '%Y%m%d%H%M%S%z.jpg':
Metadata:
encoder : Lavf58.42.100
Stream #0:0: Video: mjpeg, yuvj420p(pc), 320x240 [SAR 1:1 DAR 4:3],
q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc58.76.100 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 1 fps=0.0 q=3.8 Lsize=N/A time=00:00:00.04 bitrate=N/A
speed=0.626x
video:9kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ls *.jpg
20200320234505+0100.jpg
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8415#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list