[FFmpeg-user] SMPTE when converting to JPEGs

Wolfgang Hugemann auto at hugemann.de
Tue Oct 24 14:00:53 EEST 2017


> You didn't answer Carl Eugen's very important question: Did you use
> ffmpeg to convert the camera's AVI to JPEG frames? What command did you
> use?

Well, of course I used ffmpeg; otherwise I wouldn't ask it in this forum.
> It's possible though to
> instruct ffmpeg to create one output image for every input frame
> (regardsless of its timestamp or frame rate)

This is what I am looking for.

> Please show us your full command line and the complete, uncut console
> output.

This is my Windows CMD line:

C:\Programme\ffmpeg\bin\ffmpeg -ss 00:01:30.00 -t 00:00:04.00 -i 
[CH01]14_10_43.avi -vf 
"drawtext=fontfile=/Windows/Fonts/arial.ttf:fontcolor=yellow:fontsize=350:timecode='09\:57\:00\:00':r=30:x=15:y=50" 
-q:v 3 _frames\%%02d.jpg

And this is the output:

ffmpeg version N-79630-g9ac154d Copyright (c) 2000-2016 the FFmpeg 
developers
   built with gcc 5.3.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray 
--enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme 
--enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmfx 
--enable-libmp3lame --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus 
--enable-librtmp --enable-libschroedinger --enable-libsnappy 
--enable-libsoxr --enable-libspeex --enable-libtheora 
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc 
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp 
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid 
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
   libavutil      55. 22.101 / 55. 22.101
   libavcodec     57. 38.100 / 57. 38.100
   libavformat    57. 34.103 / 57. 34.103
   libavdevice    57.  0.101 / 57.  0.101
   libavfilter     6. 44.100 /  6. 44.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
[avi @ 00000000024f24a0] non-interleaved AVI
Guessed Channel Layout for  Input Stream #0.1 : mono
Input #0, avi, from '[CH01]14_10_43.avi':
   Duration: 00:05:52.00, start: 0.000000, bitrate: 7226 kb/s
     Stream #0:0: Video: h264 (Constrained Baseline) (H264 / 
0x34363248), yuv420p, 1920x1080, 7177 kb/s, 30 fps, 30 tbr, 30 tbn
     Stream #0:1: Audio: pcm_mulaw ([7][0][0][0] / 0x0007), 8000 Hz, 1 
channels, s16, 64 kb/s
[swscaler @ 00000000037dccc0] deprecated pixel format used, make sure 
you did set range correctly
[image2 @ 00000000025e0760] Using AVStream.codec to pass codec 
parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to '_frames\%02d.jpg':
   Metadata:
     encoder         : Lavf57.34.103
     Stream #0:0: Video: mjpeg, yuvj420p(pc), 1920x1080, q=2-31, 200 
kb/s, 30 fps, 30 tbn
     Metadata:
       encoder         : Lavc57.38.100 mjpeg
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame=   42 fps=0.0 q=3.0 size=N/A time=00:00:01.30 bitrate=N/A dup=8 
drop=0 speed=2.52x
frame=   77 fps= 75 q=3.0 size=N/A time=00:00:02.46 bitrate=N/A dup=15 
drop=0 speed=2.39x
frame=  110 fps= 72 q=3.0 size=N/A time=00:00:03.56 bitrate=N/A dup=21 
drop=0 speed=2.33x
frame=  119 fps= 72 q=3.0 Lsize=N/A time=00:00:03.96 bitrate=N/A dup=23 
drop=0 speed=2.39x
video:52135kB audio:0kB subtitle:0kB other streams:0kB global 
headers:0kB muxing overhead: unknown

Kind regards
Wolfgang Hugemann


More information about the ffmpeg-user mailing list