Skip to content

Instantly share code, notes, and snippets.

@andrey-utkin
Created January 25, 2016 16:35
Show Gist options
  • Save andrey-utkin/633090e183e82b3ae5a4 to your computer and use it in GitHub Desktop.
Save andrey-utkin/633090e183e82b3ae5a4 to your computer and use it in GitHub Desktop.
$ ./fifo_test_v8.2.sh
ffmpeg version N-78043-g1d8f9b7 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.3.0 (Gentoo 5.3.0 p1.0, pie-0.6.5)
configuration: --enable-debug=3 --disable-optimizations --extra-cflags='-O0 -g3 -ggdb3' --enable-pic --disable-stripping --enable-openssl --enable-protocol=file --enable-protocol=pipe --enable-protocol=http --enable-protocol=https --enable-muxer=matroska --enable-muxer=mjpeg --enable-muxer=rtp --enable-muxer=mp4 --enable-muxer=rtsp --enable-muxer=rawvideo --enable-muxer=data --enable-demuxer=rtsp --enable-demuxer=matroska --enable-demuxer=mjpeg --enable-decoder=h264 --enable-decoder=mpeg4 --enable-decoder=mjpeg --enable-parser=h264 --enable-parser=mpeg4video --enable-parser=mjpeg --enable-encoder=mjpeg --enable-encoder=mpeg4 --enable-encoder=rawvideo --enable-encoder=libx264 --enable-libx264 --enable-gpl --enable-nonfree --enable-libfreetype --enable-libopenh264 --enable-libvpx
libavutil 55. 14.100 / 55. 14.100
libavcodec 57. 22.100 / 57. 22.100
libavformat 57. 23.100 / 57. 23.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 27.100 / 6. 27.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument 'debug'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'concat'.
Reading option '-i' ... matched as input file with argument 'clips.concat'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
Reading option 'concat.nut' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file clips.concat.
Applying option f (force format) with argument concat.
Successfully parsed a group of options.
Opening an input file: clips.concat.
[nut @ 0x3e7b300] Format nut probed with size=2048 and score=100
[nut @ 0x3e7b300] Before avformat_find_stream_info() pos: 315 bytes read:3863 seeks:0
[h264 @ 0x3e7d220] user data:"x264 - core 148 r2665M a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0x3e7d220] no picture
[nut @ 0x3e7b300] first_dts 6144 not matching first dts NOPTS (pts 4096, duration 2048) in the queue
[nut @ 0x3e7b300] All info found
[nut @ 0x3e7b300] After avformat_find_stream_info() pos: 7831 bytes read:7831 seeks:0 frames:24
[concat @ 0x3e721a0] Before avformat_find_stream_info() pos: 44 bytes read:44 seeks:0
[concat @ 0x3e721a0] file:0 stream:0 pts:4096 pts_time:0.08 dts:NOPTS dts_time:NOPTS -> pts:0 pts_time:0 dts:NOPTS dts_time:NOPTS
[h264 @ 0x3f063c0] user data:"x264 - core 148 r2665M a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0x3f063c0] no picture
[concat @ 0x3e721a0] file:0 stream:0 pts:12288 pts_time:0.24 dts:NOPTS dts_time:NOPTS -> pts:8192 pts_time:0.16 dts:NOPTS dts_time:NOPTS
[concat @ 0x3e721a0] file:0 stream:0 pts:8192 pts_time:0.16 dts:4096 dts_time:0.08 -> pts:4096 pts_time:0.08 dts:0 dts_time:0
[concat @ 0x3e721a0] All info found
[concat @ 0x3e721a0] After avformat_find_stream_info() pos: 44 bytes read:44 seeks:0 frames:3
Input #0, concat, from 'clips.concat':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0, 3, 1/51200: Video: h264 (High 4:4:4 Predictive), 4 reference frames (H264 / 0x34363248), yuv444p(left), 320x240 [SAR 1:1 DAR 4:3], 1/50, 25 fps, 25 tbr, 51200 tbn, 50 tbc
Metadata:
encoder : Lavc57.22.100 libx264
Successfully opened the file.
Parsing a group of options: output file concat.nut.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: concat.nut.
Successfully opened the file.
[nut @ 0x3f05740] Codec for stream 0 does not use global headers but container format requires global headers
Output #0, nut, to 'concat.nut':
Metadata:
encoder : Lavf57.23.100
Stream #0:0, 0, 1/51200: Video: h264, 1 reference frame (H264 / 0x34363248), yuv444p(left), 320x240 (0x0) [SAR 1:1 DAR 4:3], 1/51200, q=2-31, 25 fps, 25 tbr, 51200 tbn, 51200 tbc
Metadata:
encoder : Lavc57.22.100 libx264
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[nut @ 0x3f05740] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect timestamps in the output file.
[concat @ 0x3e721a0] file:0 stream:0 pts:6144 pts_time:0.12 dts:6144 dts_time:0.12 -> pts:2048 pts_time:0.04 dts:2048 dts_time:0.04
[concat @ 0x3e721a0] file:0 stream:0 pts:10240 pts_time:0.2 dts:8192 dts_time:0.16 -> pts:6144 pts_time:0.12 dts:4096 dts_time:0.08
[concat @ 0x3e721a0] file:0 stream:0 pts:20480 pts_time:0.4 dts:10240 dts_time:0.2 -> pts:16384 pts_time:0.32 dts:6144 dts_time:0.12
[concat @ 0x3e721a0] file:0 stream:0 pts:16384 pts_time:0.32 dts:12288 dts_time:0.24 -> pts:12288 pts_time:0.24 dts:8192 dts_time:0.16
[concat @ 0x3e721a0] file:0 stream:0 pts:14336 pts_time:0.28 dts:14336 dts_time:0.28 -> pts:10240 pts_time:0.2 dts:10240 dts_time:0.2
[concat @ 0x3e721a0] file:0 stream:0 pts:18432 pts_time:0.36 dts:16384 dts_time:0.32 -> pts:14336 pts_time:0.28 dts:12288 dts_time:0.24
[concat @ 0x3e721a0] file:0 stream:0 pts:28672 pts_time:0.56 dts:18432 dts_time:0.36 -> pts:24576 pts_time:0.48 dts:14336 dts_time:0.28
[concat @ 0x3e721a0] file:0 stream:0 pts:24576 pts_time:0.48 dts:20480 dts_time:0.4 -> pts:20480 pts_time:0.4 dts:16384 dts_time:0.32
[concat @ 0x3e721a0] file:0 stream:0 pts:22528 pts_time:0.44 dts:22528 dts_time:0.44 -> pts:18432 pts_time:0.36 dts:18432 dts_time:0.36
[concat @ 0x3e721a0] file:0 stream:0 pts:26624 pts_time:0.52 dts:24576 dts_time:0.48 -> pts:22528 pts_time:0.44 dts:20480 dts_time:0.4
[concat @ 0x3e721a0] file:0 stream:0 pts:36864 pts_time:0.72 dts:26624 dts_time:0.52 -> pts:32768 pts_time:0.64 dts:22528 dts_time:0.44
[concat @ 0x3e721a0] file:0 stream:0 pts:32768 pts_time:0.64 dts:28672 dts_time:0.56 -> pts:28672 pts_time:0.56 dts:24576 dts_time:0.48
[concat @ 0x3e721a0] file:0 stream:0 pts:30720 pts_time:0.6 dts:30720 dts_time:0.6 -> pts:26624 pts_time:0.52 dts:26624 dts_time:0.52
[concat @ 0x3e721a0] file:0 stream:0 pts:34816 pts_time:0.68 dts:32768 dts_time:0.64 -> pts:30720 pts_time:0.6 dts:28672 dts_time:0.56
[concat @ 0x3e721a0] file:0 stream:0 pts:45056 pts_time:0.88 dts:34816 dts_time:0.68 -> pts:40960 pts_time:0.8 dts:30720 dts_time:0.6
[concat @ 0x3e721a0] file:0 stream:0 pts:40960 pts_time:0.8 dts:36864 dts_time:0.72 -> pts:36864 pts_time:0.72 dts:32768 dts_time:0.64
[concat @ 0x3e721a0] file:0 stream:0 pts:38912 pts_time:0.76 dts:38912 dts_time:0.76 -> pts:34816 pts_time:0.68 dts:34816 dts_time:0.68
[concat @ 0x3e721a0] file:0 stream:0 pts:43008 pts_time:0.84 dts:40960 dts_time:0.8 -> pts:38912 pts_time:0.76 dts:36864 dts_time:0.72
[concat @ 0x3e721a0] file:0 stream:0 pts:47104 pts_time:0.92 dts:43008 dts_time:0.84 -> pts:43008 pts_time:0.84 dts:38912 dts_time:0.76
[concat @ 0x3e721a0] file:0 stream:0 pts:49152 pts_time:0.96 dts:45056 dts_time:0.88 -> pts:45056 pts_time:0.88 dts:40960 dts_time:0.8
[concat @ 0x3e721a0] file:0 stream:0 pts:51200 pts_time:1 dts:47104 dts_time:0.92 -> pts:47104 pts_time:0.92 dts:43008 dts_time:0.84
[concat @ 0x3e721a0] file:0 stream:0 pts:53248 pts_time:1.04 dts:49152 dts_time:0.96 -> pts:49152 pts_time:0.96 dts:45056 dts_time:0.88
[AVIOContext @ 0x3e839c0] Statistics: 8031 bytes read, 0 seeks
[nut @ 0x3f0a980] Format nut probed with size=2048 and score=100
[nut @ 0x3f0a980] Before avformat_find_stream_info() pos: 315 bytes read:3987 seeks:0
[h264 @ 0x3f0b0a0] user data:"x264 - core 148 r2665M a01e339 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=4 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
[h264 @ 0x3f0b0a0] no picture
[nut @ 0x3f0a980] first_dts 6144 not matching first dts NOPTS (pts 4096, duration 2048) in the queue
[nut @ 0x3f0a980] All info found
[nut @ 0x3f0a980] After avformat_find_stream_info() pos: 8480 bytes read:8480 seeks:0 frames:24
[concat @ 0x3e721a0] file:1 stream:0 pts:4096 pts_time:0.08 dts:NOPTS dts_time:NOPTS -> pts:472236648286964521 pts_time:9.22337e+12 dts:NOPTS dts_time:NOPTS
PTS 472236648286964544, next:920000 invalid dropping st:0
[nut @ 0x3f05740] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[nut @ 0x3f05740] Negative pts not supported stream 0, pts -9223372036854775808
[nut @ 0x3f05740] Try to enable the genpts flag
av_interleaved_write_frame(): Invalid argument
No more output streams to write to, finishing.
frame= 26 fps=0.0 q=-1.0 Lsize= 8kB time=00:00:00.92 bitrate= 70.1kbits/s speed=9.66x
video:11kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (clips.concat):
Input stream #0:0 (video): 26 packets read (11258 bytes);
Total: 26 packets (11258 bytes) demuxed
Output file #0 (concat.nut):
Output stream #0:0 (video): 26 packets muxed (11258 bytes);
Total: 26 packets (11258 bytes) muxed
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x3f05d40] Statistics: 0 seeks, 27 writeouts
[AVIOContext @ 0x3ef81c0] Statistics: 8480 bytes read, 0 seeks
[AVIOContext @ 0x3e72880] Statistics: 44 bytes read, 0 seeks
Conversion failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment