#7126(undetermined:new): DECKLINK: Video keep misbehaving
#7126: DECKLINK: Video keep misbehaving -------------------------------------+------------------------------------- Reporter: ikolesnikov | Type: defect Status: new | Priority: normal Component: | Version: undetermined | unspecified Keywords: Decklink, | Blocked By: There are not enough buffered | Reproduced by developer: 0 video frames | Blocking: | Analyzed by developer: 0 | -------------------------------------+------------------------------------- I want to display incoming stream on a Decklink card and do it with the following command: {{{ $ ffmpeg -y -i "udp://IP:PORT?overrun_nonfatal=1" -f decklink -pix_fmt uyvy422 -s 720x576 -r 25000/1000 'DeckLink Quad (1)' ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609 configuration: --cpu=native --enable-pthreads --enable-bzlib --enable- libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable- libfdk-aac --enable-nonfree --enable-gpl --enable-swscale --enable-libcdio --enable-libxcb --enable- libx264 --enable-libxvid --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-nvenc --enable-openssl --enable-decklink --extra- cflags=-I/home/user/Blackmagic_DeckLink_SDK_10.9.5/Linux/include --extra-ldflags=-ldl --extra-libs=-ldl --enable-libnpp --extra- cflags=-I/usr/local/cuda-8.0/include --extra-ldflags=L/usr/local/cuda-8.0/lib64 --enable-pic --enable-shared libavutil 55. 58.100 / 55. 58.100 libavcodec 57. 89.100 / 57. 89.100 libavformat 57. 71.100 / 57. 71.100 libavdevice 57. 6.100 / 57. 6.100 libavfilter 6. 82.100 / 6. 82.100 libswscale 4. 6.100 / 4. 6.100 libswresample 2. 7.100 / 2. 7.100 libpostproc 54. 5.100 / 54. 5.100 [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] SPS unavailable in decode_picture_timing [h264 @ 0x1f51660] non-existing PPS 1 referenced [h264 @ 0x1f51660] decode_slice_header error [h264 @ 0x1f51660] no frame! Input #0, mpegts, from 'udp://IP:PORT': Duration: N/A, start: 73886.412744, bitrate: N/A Program 2 Metadata: service_name : MY TV service_provider: MY TV Stream #0:0[0x86]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg, top first), 720x576 [SAR 16:11 DAR 20:11], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x4c4](ara): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 128 kb/s Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native)) Stream #0:1 -> #0:1 (mp2 (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help [h264 @ 0x1f7c180] non-existing PPS 1 referenced [h264 @ 0x1f7c180] decode_slice_header error [h264 @ 0x1f7c180] no frame! [h264 @ 0x21aee80] non-existing PPS 1 referenced [h264 @ 0x21aee80] decode_slice_header error [h264 @ 0x21aee80] no frame! [h264 @ 0x2106040] non-existing PPS 1 referenced [h264 @ 0x2106040] decode_slice_header error [h264 @ 0x2106040] no frame! [h264 @ 0x1fb30a0] non-existing PPS 1 referenced [h264 @ 0x1fb30a0] decode_slice_header error [h264 @ 0x1fb30a0] no frame! [h264 @ 0x1fe35e0] non-existing PPS 1 referenced [h264 @ 0x1fe35e0] decode_slice_header error [h264 @ 0x1fe35e0] no frame! [h264 @ 0x1fe5c60] non-existing PPS 1 referenced [h264 @ 0x1fe5c60] decode_slice_header error [h264 @ 0x1fe5c60] no frame! [h264 @ 0x22e4560] non-existing PPS 1 referenced [h264 @ 0x22e4560] decode_slice_header error [h264 @ 0x22e4560] no frame! [h264 @ 0x21082c0] non-existing PPS 1 referenced [h264 @ 0x21082c0] decode_slice_header error [h264 @ 0x21082c0] no frame! Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x213ff00] non-existing PPS 1 referenced [h264 @ 0x213ff00] decode_slice_header error [h264 @ 0x213ff00] no frame! Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x1f7c180] non-existing PPS 1 referenced [h264 @ 0x1f7c180] decode_slice_header error [h264 @ 0x1f7c180] no frame! Error while decoding stream #0:0: Invalid data found when processing input [h264 @ 0x21aee80] non-existing PPS 1 referenced [h264 @ 0x21aee80] decode_slice_header error [h264 @ 0x21aee80] no frame! Error while decoding stream #0:0: Invalid data found when processing input Last message repeated 7 times [decklink @ 0x1f70920] Found Decklink mode 720 x 576 with rate 25.00(i) Output #0, decklink, to 'DeckLink Quad (1)': Metadata: encoder : Lavf57.71.100 Stream #0:0: Video: wrapped_avframe, uyvy422, 720x576 [SAR 16:11 DAR 20:11], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.89.100 wrapped_avframe Stream #0:1(ara): Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Metadata: encoder : Lavc57.89.100 pcm_s16le frame= 125 fps= 34 q=-0.0 size=N/A time=00:00:05.00 bitrate=N/A dup=31 drop=0 speed=1.37x frame= 138 fps= 33 q=-0.0 size=N/A time=00:00:05.52 bitrate=N/A dup=31 drop=0 speed=1.33x frame= 150 fps= 32 q=-0.0 size=N/A time=00:00:06.00 bitrate=N/A dup=31 drop=0 speed=1.28x frame= 162 fps= 31 q=-0.0 size=N/A time=00:00:06.48 bitrate=N/A dup=31 drop=0 speed=1.25x }}} This issue hard to reproduce as it can work a long time without any problems, but need await and I'll start to receive the following errors: {{{ [2018-04-06 10:14:26] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:26] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:26] Last message repeated 1 times [2018-04-06 10:14:26] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:26] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 2 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 1 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 2 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 1 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 2 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 1 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! [2018-04-06 10:14:27] Last message repeated 2 times [2018-04-06 10:14:27] [decklink @ 0x2045d40] There are not enough buffered video frames. Video may misbehave! [2018-04-06 10:14:27] [decklink @ 0x2045d40] There"s no buffered audio. Audio will misbehave! }}} After that these errors fall down constantly. I think it's a bug as this issue easy to fix using the FFmpeg restart. This is not an isolated case, I found the same problem at the [https://stackoverflow.com/questions/47287339/ffmpeg-how-to-skip-late- input stackoverflow] -- Ticket URL: <https://trac.ffmpeg.org/ticket/7126> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7126: DECKLINK: Video keep misbehaving -------------------------------------+------------------------------------- Reporter: ikolesnikov | Owner: Type: defect | Status: new Priority: normal | Component: Version: unspecified | undetermined Keywords: Decklink | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * keywords: Decklink, There are not enough buffered video frames => Decklink Comment: Please test current FFmpeg git head. -- Ticket URL: <https://trac.ffmpeg.org/ticket/7126#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#7126: DECKLINK: Video keep misbehaving -------------------------------------+------------------------------------- Reporter: ikolesnikov | Owner: Type: defect | Status: closed Priority: normal | Component: Version: unspecified | undetermined Keywords: Decklink | Resolution: Blocking: | needs_more_info Analyzed by developer: 0 | Blocked By: | Reproduced by developer: 0 -------------------------------------+------------------------------------- Changes (by cehoyos): * status: new => closed * resolution: => needs_more_info -- Ticket URL: <https://trac.ffmpeg.org/ticket/7126#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg