[FFmpeg-trac] #8576(undetermined:closed): strftime does not support %s
FFmpeg
trac at avcodec.org
Sat Mar 21 00:44:39 EET 2020
#8576: strftime does not support %s
-------------------------------------+-------------------------------------
Reporter: ap | Owner:
Type: enhancement | Status: closed
Priority: normal | Component:
| undetermined
Version: unspecified | Resolution:
| worksforme
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* keywords: strftime =>
* status: new => closed
* resolution: => worksforme
Comment:
{{{
$ ffmpeg -f lavfi -i testsrc2 -strftime 1 -vframes 1 %s.jpg
ffmpeg version N-97021-gf39678b3a9 Copyright (c) 2000-2020 the FFmpeg
developers
built with gcc 9 (SUSE Linux)
configuration: --enable-gpl --enable-gnutls --enable-libx264 --enable-
libx265 --enable-libdav1d --enable-libaom --enable-libvpx --enable-libxml2
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 @ 0x2a3e100] deprecated pixel format used, make sure you did set
range correctly
Output #0, image2, to '%s.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=12.7x
video:9kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
{{{
$ ls *.jpg
1584744228.jpg
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8576#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list