тест
» ffmpeg -loglevel debug -lavfi testsrc,settb=1/30,setpts=N -enc_time_base 0 -copytb 0 -copyts -f null -frames 1 -
ffmpeg version 4.0.2-2+b1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 8 (Debian 8.2.0-7)
configuration: --prefix=/usr --extra-version=2+b1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-lavfi' ... matched as option 'lavfi' (create a complex filtergraph) with argument 'testsrc,settb=1/30,setpts=N'.
Reading option '-enc_time_base' ... matched as option 'enc_time_base' (set the desired time base for the encoder (1:24, 1:48000 or 0.04166, 2.0833e-5). two special values are defined - 0 = use frame rate (video) or sample rate (audio),-1 = match source time base) with argument '0'.
Reading option '-copytb' ... matched as option 'copytb' (copy input stream time base when stream copying) with argument '0'.
Reading option '-copyts' ... matched as option 'copyts' (copy timestamps) with argument '1'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'null'.
Reading option '-frames' ... matched as option 'frames' (set the number of frames to output) with argument '1'.
Reading option '-' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option lavfi (create a complex filtergraph) with argument testsrc,settb=1/30,setpts=N.
Applying option copytb (copy input stream time base when stream copying) with argument 0.
Applying option copyts (copy timestamps) with argument 1.
Successfully parsed a group of options.
[Parsed_testsrc_0 @ 0x55fa175a90c0] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
[Parsed_settb_1 @ 0x55fa175a9b00] Setting 'expr' to value '1/30'
[Parsed_setpts_2 @ 0x55fa175aa540] Setting 'expr' to value 'N'
Parsing a group of options: output url -.
Applying option enc_time_base (set the desired time base for the encoder (1:24, 1:48000 or 0.04166, 2.0833e-5). two special values are defined - 0 = use frame rate (video) or sample rate (audio),-1 = match source time base) with argument 0.
Applying option f (force format) with argument null.
Applying option frames (set the number of frames to output) with argument 1.
Successfully parsed a group of options.
Opening an output file: -.
Successfully opened the file.
Stream mapping:
setpts -> Stream #0:0 (wrapped_avframe)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
detected 4 logical cores
[Parsed_testsrc_0 @ 0x55fa175ad680] size:320x240 rate:25/1 duration:-1.000000 sar:1/1
[Parsed_settb_1 @ 0x55fa175ae0c0] Setting 'expr' to value '1/30'
[Parsed_setpts_2 @ 0x55fa175aeb00] Setting 'expr' to value 'N'
[AVFilterGraph @ 0x55fa175aa380] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[Parsed_settb_1 @ 0x55fa175ae0c0] tb:1/25 -> tb:1/30
[Parsed_settb_1 @ 0x55fa175ae0c0] TB:0.033333 FRAME_RATE:25.000000 SAMPLE_RATE:nan
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf58.12.100
Stream #0:0, 0, 1/25: Video: wrapped_avframe, 1 reference frame, rgb24, 320x240 [SAR 1:1 DAR 4:3], 0/1, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
Metadata:
encoder : Lavc58.18.100 wrapped_avframe
[Parsed_settb_1 @ 0x55fa175ae0c0] tb:1/25 pts:0 -> tb:1/30 pts:0
No more output streams to write to, finishing.
frame= 1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=33.3x
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file #0 (pipe:):
Output stream #0:0 (video): 1 frames encoded; 1 packets muxed (536 bytes);
Total: 1 packets (536 bytes) muxed
0 frames successfully decoded, 0 decoding errors