[FFmpeg-devel] Decklink question
ffmpeg at dx9s.net
ffmpeg at dx9s.net
Fri Sep 29 04:56:47 EEST 2017
> Will report back once I figure out how to request RGB from the recent
> patch you mentions about RGB.
search the git log: git diff 00a61f30a05a76d10e04253987202e41f8703ebe
cb8b729180cc3ccb85f6c0d2fa7190865cbc2cb7
found the additional options for the -raw_format
dx at x299:~/git/ffmpeg$ ffmpeg -format_code Hp59 -f decklink -video_input
hdmi -audio_input embedded -raw_format rgb10 -i 'DeckLink Studio 4K'
-acodec pcm_s24le -vcodec dnxhd -vf
scale=1920x1080,fps=60000/1001,format=yuv422p10 -b:v 440M out.mov
ffmpeg version N-87614-g3d4f8b9-dx9s-decklink Copyright (c) 2000-2017
the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr/local/ffmpeg
--extra-version=dx9s-decklink --build-suffix=-dx9s-decklink
--toolchain=hardened --cc=cc --cxx=g++ --enable-gpl --enable-shared
--disable-stripping --disable-decoder=libopenjpeg --enable-avresample
--enable-avisynth --enable-gnutls --enable-ladspa --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio
--enable-libflite --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug
--enable-libmp3lame --enable-libopenjpeg --enable-libopus
--enable-libpulse --enable-librtmp --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-libxvid
--enable-libzvbi --enable-openal --enable-opengl --enable-libdc1394
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264
--enable-libopencv --enable-decklink --enable-nonfree
libavutil 55. 77.101 / 55. 77.101
libavcodec 57.106.104 / 57.106.104
libavformat 57. 82.102 / 57. 82.102
libavdevice 57. 9.101 / 57. 9.101
libavfilter 6.106.100 / 6.106.100
libavresample 3. 6. 0 / 3. 6. 0
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[decklink @ 0x55e837135300] Found Decklink mode 1920 x 1080 with rate
59.94
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, decklink, from 'DeckLink Studio 4K':
Duration: N/A, start: 0.000000, bitrate: 3730287 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Stream #0:1: Video: r210 (R210 / 0x30313252), rgb48le(10 bpc,
progressive), 1920x1080, 3728751 kb/s, 59.94 tbr, 1000k tbn, 1000k tbc
File 'out.mov' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:1 -> #0:0 (r210 (native) -> dnxhd (native))
Stream #0:0 -> #0:1 (pcm_s16le (native) -> pcm_s24le (native))
Press [q] to stop, [?] for help
Output #0, mov, to 'out.mov':
Metadata:
encoder : Lavf57.82.102
Stream #0:0: Video: dnxhd (DNXHD) (AVdn / 0x6E645641), yuv422p10le,
1920x1080, q=2-1024, 440000 kb/s, 59.94 fps, 60k tbn, 59.94 tbc
Metadata:
encoder : Lavc57.106.104 dnxhd
Stream #0:1: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo,
s32, 2304 kb/s
Metadata:
encoder : Lavc57.106.104 pcm_s24le
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=370825.6kbits/s speed=0.327x
Last message repeated 41 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=405042.1kbits/s speed=0.389x
Last message repeated 49 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=415794.5kbits/s speed=0.418x
Last message repeated 49 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=421479.6kbits/s speed=0.436x
Last message repeated 49 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=424998.7kbits/s speed=0.448x
Last message repeated 47 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=428648.9kbits/s speed=0.457x
Last message repeated 49 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=430208.3kbits/s speed=0.464x
Last message repeated 49 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=431393.8kbits/s speed=0.469x
Last message repeated 47 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=433168.8kbits/s speed=0.473x
Last message repeated 52 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=392545.3kbits/s speed=0.497x
Last message repeated 45 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=330666.6kbits/s speed=0.543x
Last message repeated 47 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=284429.5kbits/s speed=0.584x
Last message repeated 45 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
bitrate=249536.8kbits/s speed=0.619x
Last message repeated 12 times
[decklink @ 0x55e837135300] Decklink input buffer overrun!
Last message repeated 5 times
frame= 281 fps= 38 q=1.0 Lsize= 252493kB time=00:00:04.67
bitrate=442788.9kbits/s speed=0.627x
video:251776kB audio:713kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.001462%
[decklink @ 0x55e837135300] Decklink input buffer overrun!
Last message repeated 29 times
AND the video actually has VIDEO in it!... now to try to determine
what's going on with the buffering..
On a side note, is there a way to ask the "raw_audio" format instead of
16 bits ?! or have it default to 24 bits ?!
I will continue to do testing..
--Doug (dx9s)
(is this too much info?)
More information about the ffmpeg-devel
mailing list