Skip to content

Instantly share code, notes, and snippets.

@dericed
Created April 19, 2018 14:43
Show Gist options
  • Save dericed/84a99d942c5302a48532e7355f3df19d to your computer and use it in GitHub Desktop.
Save dericed/84a99d942c5302a48532e7355f3df19d to your computer and use it in GitHub Desktop.
ffmpeg started on 2018-04-19 at 09:43:22
Report written to "/Users/cnicols/Desktop/TEST/1_ffmpeg_20180419-094322.log"
Command line:
/usr/local/opt/ffmpegdecklink/bin/ffmpeg-dl -v info -nostdin -hide_banner -nostats -f decklink -draw_bars 0 -audio_input analog -video_input composite -format_code ntsc -channels 8 -raw_format yuv422p10 -i "Intensity Shuttle Thunderbolt" -metadata:s:v:0 "encoder=Uncompressed 10-bit 4:2:2" -color_primaries smpte170m -color_trc bt709 -colorspace smpte170m -color_range mpeg -metadata "creation_time=now" -movflags write_colr -c:v v210 -c:a pcm_s24le -filter_complex "[0:v:0]setfield=bff,setsar=40/27,setdar=4/3; [0:a:0]pan=stereo| c0=c0 | c1=c1[stereo1];[0:a:0]pan=stereo| c0=c2 | c1=c3[stereo2]" -map "[stereo1]" -map "[stereo2]" -f mov /Users/cnicols/Desktop/TEST/1.mov -map 0 -c copy -f nut -
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'info'.
Reading option '-nostdin' ... matched as option 'stdin' (enable or disable interaction on standard input) with argument 0.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-nostats' ... matched as option 'stats' (print progress report during encoding) with argument 0.
Reading option '-f' ... matched as option 'f' (force format) with argument 'decklink'.
Reading option '-draw_bars' ... matched as AVOption 'draw_bars' with argument '0'.
Reading option '-audio_input' ... matched as AVOption 'audio_input' with argument 'analog'.
Reading option '-video_input' ... matched as AVOption 'video_input' with argument 'composite'.
Reading option '-format_code' ... matched as AVOption 'format_code' with argument 'ntsc'.
Reading option '-channels' ... matched as AVOption 'channels' with argument '8'.
Reading option '-raw_format' ... matched as AVOption 'raw_format' with argument 'yuv422p10'.
Reading option '-i' ... matched as input url with argument 'Intensity Shuttle Thunderbolt'.
Reading option '-metadata:s:v:0' ... matched as option 'metadata' (add metadata) with argument 'encoder=Uncompressed 10-bit 4:2:2'.
Reading option '-color_primaries' ... matched as AVOption 'color_primaries' with argument 'smpte170m'.
Reading option '-color_trc' ... matched as AVOption 'color_trc' with argument 'bt709'.
Reading option '-colorspace' ... matched as AVOption 'colorspace' with argument 'smpte170m'.
Reading option '-color_range' ... matched as AVOption 'color_range' with argument 'mpeg'.
Reading option '-metadata' ... matched as option 'metadata' (add metadata) with argument 'creation_time=now'.
Reading option '-movflags' ... matched as AVOption 'movflags' with argument 'write_colr'.
Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'v210'.
Reading option '-c:a' ... matched as option 'c' (codec name) with argument 'pcm_s24le'.
Reading option '-filter_complex' ... matched as option 'filter_complex' (create a complex filtergraph) with argument '[0:v:0]setfield=bff,setsar=40/27,setdar=4/3; [0:a:0]pan=stereo| c0=c0 | c1=c1[stereo1];[0:a:0]pan=stereo| c0=c2 | c1=c3[stereo2]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[stereo1]'.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '[stereo2]'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'mov'.
Reading option '/Users/cnicols/Desktop/TEST/1.mov' ... matched as output url.
Reading option '-map' ... matched as option 'map' (set input stream mapping) with argument '0'.
Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument 'nut'.
Reading option '-' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument info.
Applying option nostdin (enable or disable interaction on standard input) with argument 0.
Applying option hide_banner (do not show program banner) with argument 1.
Applying option nostats (print progress report during encoding) with argument 0.
Applying option filter_complex (create a complex filtergraph) with argument [0:v:0]setfield=bff,setsar=40/27,setdar=4/3; [0:a:0]pan=stereo| c0=c0 | c1=c1[stereo1];[0:a:0]pan=stereo| c0=c2 | c1=c3[stereo2].
Successfully parsed a group of options.
Parsing a group of options: input url Intensity Shuttle Thunderbolt.
Applying option f (force format) with argument decklink.
Successfully parsed a group of options.
Opening an input file: Intensity Shuttle Thunderbolt.
[decklink @ 0x7fc926800a00] Trying to find mode for frame size 0x0, frame timing 0/0, field order 0, direction 0, mode number 0, format code ntsc
[decklink @ 0x7fc926800a00] Found Decklink mode 720 x 486 with rate 29.97(i)
[decklink @ 0x7fc926800a00] Using 8 input audio channels
[decklink @ 0x7fc926800a00] Frame received (#1) - No input signal detected - Frames dropped 1
[decklink @ 0x7fc926800a00] Frame received (#3) - Input returned - Frames dropped 2
[decklink @ 0x7fc926800a00] Probe buffer size limit of 5000000 bytes reached
Guessed Channel Layout for Input Stream #0.0 : 7.1
Input #0, decklink, from 'Intensity Shuttle Thunderbolt':
Duration: N/A, start: 0.000000, bitrate: 229869 kb/s
Stream #0:0, 5, 1/1000000: Audio: pcm_s16le, 48000 Hz, 7.1, s16, 6144 kb/s
Stream #0:1, 6, 1/1000000: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, 223725 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
Successfully opened the file.
detected 4 logical cores
[Parsed_setfield_0 @ 0x7fc92640b0e0] Setting 'mode' to value 'bff'
[Parsed_setsar_1 @ 0x7fc92640b3c0] Setting 'sar' to value '40/27'
[Parsed_setdar_2 @ 0x7fc92640b760] Setting 'dar' to value '4/3'
[Parsed_pan_3 @ 0x7fc92640bb60] compat: called with args=[stereo| c0=c0 | c1=c1]
[Parsed_pan_3 @ 0x7fc92640bb60] Setting 'args' to value 'stereo| c0=c0 | c1=c1'
[Parsed_pan_4 @ 0x7fc92640c060] compat: called with args=[stereo| c0=c2 | c1=c3]
[Parsed_pan_4 @ 0x7fc92640c060] Setting 'args' to value 'stereo| c0=c2 | c1=c3'
Parsing a group of options: output url /Users/cnicols/Desktop/TEST/1.mov.
Applying option metadata:s:v:0 (add metadata) with argument encoder=Uncompressed 10-bit 4:2:2.
Applying option metadata (add metadata) with argument creation_time=now.
Applying option c:v (codec name) with argument v210.
Applying option c:a (codec name) with argument pcm_s24le.
Applying option map (set input stream mapping) with argument [stereo1].
Applying option map (set input stream mapping) with argument [stereo2].
Applying option f (force format) with argument mov.
Successfully parsed a group of options.
Opening an output file: /Users/cnicols/Desktop/TEST/1.mov.
[file @ 0x7fc92640dd60] Setting default whitelist 'file,crypto'
Successfully opened the file.
Parsing a group of options: output url -.
Applying option map (set input stream mapping) with argument 0.
Applying option c (codec name) with argument copy.
Applying option f (force format) with argument nut.
Successfully parsed a group of options.
Opening an output file: -.
[pipe @ 0x7fc92640f6c0] Setting default whitelist 'crypto'
Successfully opened the file.
Output #1, nut, to 'pipe:':
Metadata:
encoder : Lavf57.83.100
Stream #1:0, 0, 1/48000: Audio: pcm_s16le (PSD[16] / 0x10445350), 48000 Hz, 7.1, s16, 6144 kb/s
Stream #1:1, 0, 1/1000000: Video: v210 (V210 / 0x30313256), yuv422p10le(bottom first), 720x486, q=2-31, 223725 kb/s, 29.97 fps, 29.97 tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #0:0 (pcm_s16le) -> pan
Stream #0:0 (pcm_s16le) -> pan
Stream #0:1 (v210) -> setfield
setdar -> Stream #0:0 (v210)
pan -> Stream #0:1 (pcm_s24le)
pan -> Stream #0:2 (pcm_s24le)
Stream #0:0 -> #1:0 (copy)
Stream #0:1 -> #1:1 (copy)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[Parsed_setfield_0 @ 0x7fc926500d20] Setting 'mode' to value 'bff'
[Parsed_setsar_1 @ 0x7fc926503220] Setting 'sar' to value '40/27'
[Parsed_setdar_2 @ 0x7fc9265020a0] Setting 'dar' to value '4/3'
[Parsed_pan_3 @ 0x7fc9265028c0] compat: called with args=[stereo| c0=c0 | c1=c1]
[Parsed_pan_3 @ 0x7fc9265028c0] Setting 'args' to value 'stereo| c0=c0 | c1=c1'
[Parsed_pan_4 @ 0x7fc926502a40] compat: called with args=[stereo| c0=c2 | c1=c3]
[Parsed_pan_4 @ 0x7fc926502a40] Setting 'args' to value 'stereo| c0=c2 | c1=c3'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'video_size' to value '720x486'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'pix_fmt' to value '74'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'time_base' to value '1/1000000'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'pixel_aspect' to value '0/1'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] Setting 'frame_rate' to value '30000/1001'
[graph 0 input from stream 0:1 @ 0x7fc9265037a0] w:720 h:486 pixfmt:yuv422p10le tb:1/1000000 fr:30000/1001 sar:0/1 sws_param:flags=2
[graph_0_in_0_0 @ 0x7fc926503b20] Setting 'time_base' to value '1/48000'
[graph_0_in_0_0 @ 0x7fc926503b20] Setting 'sample_rate' to value '48000'
[graph_0_in_0_0 @ 0x7fc926503b20] Setting 'sample_fmt' to value 's16'
[graph_0_in_0_0 @ 0x7fc926503b20] Setting 'channel_layout' to value '0x63f'
[graph_0_in_0_0 @ 0x7fc926503b20] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x63f
[graph_0_in_0_0 @ 0x7fc926503d80] Setting 'time_base' to value '1/48000'
[graph_0_in_0_0 @ 0x7fc926503d80] Setting 'sample_rate' to value '48000'
[graph_0_in_0_0 @ 0x7fc926503d80] Setting 'sample_fmt' to value 's16'
[graph_0_in_0_0 @ 0x7fc926503d80] Setting 'channel_layout' to value '0x63f'
[graph_0_in_0_0 @ 0x7fc926503d80] tb:1/48000 samplefmt:s16 samplerate:48000 chlayout:0x63f
[format_out_0_2 @ 0x7fc9265043e0] Setting 'sample_fmts' to value 's32'
[format_out_0_1 @ 0x7fc926504b40] Setting 'sample_fmts' to value 's32'
[format @ 0x7fc926505260] compat: called with args=[yuv422p10le|yuv422p]
[format @ 0x7fc926505260] Setting 'pix_fmts' to value 'yuv422p10le|yuv422p'
[format_out_0_2 @ 0x7fc9265043e0] auto-inserting filter 'auto_resampler_0' between the filter 'Parsed_pan_4' and the filter 'format_out_0_2'
[format_out_0_1 @ 0x7fc926504b40] auto-inserting filter 'auto_resampler_1' between the filter 'Parsed_pan_3' and the filter 'format_out_0_1'
[AVFilterGraph @ 0x7fc926412320] query_formats: 14 queried, 17 merged, 6 already done, 0 delayed
[Parsed_pan_4 @ 0x7fc926502a40] [SWR @ 0x7fc928049c00] Using s16p internally between filters
[Parsed_pan_4 @ 0x7fc926502a40] o0 = 0 i0 + 0 i1 + 1 i2 + 0 i3 + 0 i4 + 0 i5 + 0 i6 + 0 i7
[Parsed_pan_4 @ 0x7fc926502a40] o1 = 0 i0 + 0 i1 + 0 i2 + 1 i3 + 0 i4 + 0 i5 + 0 i6 + 0 i7
[Parsed_pan_4 @ 0x7fc926502a40] Pure channel mapping detected: 2 3
[auto_resampler_0 @ 0x7fc926505820] [SWR @ 0x7fc92801fc00] Using s16p internally between filters
[auto_resampler_0 @ 0x7fc926505820] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:s32 r:48000Hz
[Parsed_pan_3 @ 0x7fc9265028c0] [SWR @ 0x7fc92805ec00] Using s16p internally between filters
[Parsed_pan_3 @ 0x7fc9265028c0] o0 = 1 i0 + 0 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 + 0 i6 + 0 i7
[Parsed_pan_3 @ 0x7fc9265028c0] o1 = 0 i0 + 1 i1 + 0 i2 + 0 i3 + 0 i4 + 0 i5 + 0 i6 + 0 i7
[Parsed_pan_3 @ 0x7fc9265028c0] Pure channel mapping detected: 0 1
[auto_resampler_1 @ 0x7fc926506ec0] [SWR @ 0x7fc928034c00] Using s16p internally between filters
[auto_resampler_1 @ 0x7fc926506ec0] ch:2 chl:stereo fmt:s16 r:48000Hz -> ch:2 chl:stereo fmt:s32 r:48000Hz
[Parsed_setsar_1 @ 0x7fc926503220] w:720 h:486 sar:0/1 dar:40/27 -> sar:40/27 dar:1600/729
[Parsed_setdar_2 @ 0x7fc9265020a0] w:720 h:486 dar:1600/729 sar:40/27 -> dar:4/3 sar:9/10
Clipping frame in rate conversion by 0.000008
Output #0, mov, to '/Users/cnicols/Desktop/TEST/1.mov':
Metadata:
creation_time : now
encoder : Lavf57.83.100
Stream #0:0, 0, 1/30000: Video: v210 (v210 / 0x30313276), yuv422p10le(tv, smpte170m/smpte170m/bt709, bottom coded first (swapped)), 720x486 [SAR 9:10 DAR 4:3], q=2-31, 223725 kb/s, 29.97 fps, 30k tbn, 29.97 tbc (default)
Metadata:
encoder : Uncompressed 10-bit 4:2:2
Stream #0:1, 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
Metadata:
encoder : Lavc57.107.100 pcm_s24le
Stream #0:2, 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
Metadata:
encoder : Lavc57.107.100 pcm_s24le
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#25) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#50) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#75) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#100) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#125) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#150) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#175) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
[decklink @ 0x7fc926800a00] Frame received (#200) - Valid (933120B) - QSize 0.000000MB
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
Clipping frame in rate conversion by 0.000023
av_interleaved_write_frame(): Broken pipe
No more output streams to write to, finishing.
Error writing trailer of pipe:: Broken pipe
frame= 218 fps= 31 q=-0.0 Lq=-1.0 size= 202734kB time=00:00:07.24 bitrate=229372.6kbits/s speed=1.02x
video:397305kB audio:9528kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Input file #0 (Intensity Shuttle Thunderbolt):
Input stream #0:0 (audio): 218 packets read (5586368 bytes); 218 frames decoded (349148 samples);
Input stream #0:1 (video): 218 packets read (203420160 bytes); 218 frames decoded;
Total: 436 packets (209006528 bytes) demuxed
Output file #0 (/Users/cnicols/Desktop/TEST/1.mov):
Output stream #0:0 (video): 218 frames encoded; 218 packets muxed (203420160 bytes);
Output stream #0:1 (audio): 217 frames encoded (347547 samples); 217 packets muxed (2085282 bytes);
Output stream #0:2 (audio): 217 frames encoded (347547 samples); 217 packets muxed (2085282 bytes);
Total: 652 packets (207590724 bytes) muxed
Output file #1 (pipe:):
Output stream #1:0 (audio): 218 packets muxed (5586368 bytes);
Output stream #1:1 (video): 218 packets muxed (203420160 bytes);
Total: 436 packets (209006528 bytes) muxed
436 frames successfully decoded, 0 decoding errors
[AVIOContext @ 0x7fc92640de40] Statistics: 2 seeks, 795 writeouts
[AVIOContext @ 0x7fc92640f800] Statistics: 0 seeks, 6512 writeouts
Conversion failed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment