libav error while decoding MB
Nicolas Dufresne
nicolas at ndufresne.ca
Mon Nov 4 15:17:40 UTC 2019
Le lun. 4 nov. 2019 10 h 40, Shishigami <me at marcelherd.com> a écrit :
> I'm on Windows 10 using Gstreamer 1.16.1.
>
> I'm trying to run the following pipelines:
>
> gst-launch-1.0 videotestsrc ! x264enc ! video/x-h264,
> stream-format=byte-stream ! rtph264pay ! udpsink host=localhost port=5200
>
> gst-launch-1.0 udpsrc address=localhost port=5200 ! application/x-rtp,
> encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! avdec_h264 !
> autovideosink
>
> But it seems like the packets are in the wrong order? I get the following
> output:
>
> Setting pipeline to PAUSED ...
> 0:00:00.140465500 20676 00000000051F0360 WARN d3dvideosink
>
> d3dhelpers.c:1146:d3d_set_window_handle:<autovideosink0-actual-sink-d3dvideo>
> Window HWND already set to: 0
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> Redistribute latency...
> 0:00:08.562361200 20676 0000000005182500 WARN GST_PADS
> gstpad.c:4231:gst_pad_peer_query:<avdec_h264-0:src> could not send sticky
> events
> Redistribute latency...
> 0:00:08.594871600 20676 0000000005182500 ERROR libav :0::
> Reference 2 >= 2
> 0:00:08.597654600 20676 0000000005182500 ERROR libav :0::
> error while decoding MB 17 13, bytestream 3002
> 0:00:08.628660600 20676 0000000005182500 WARN videodecoder
>
> gstvideodecoder.c:2762:gst_video_decoder_prepare_finish_frame:<avdec_h264-0>
> decreasing timestamp (0:00:08.350789300 < 0:00:08.383611400)
> 0:00:08.694997400 20676 0000000005182500 ERROR libav :0::
> Reference 3 >= 3
> 0:00:08.698399100 20676 0000000005182500 ERROR libav :0::
> error while decoding MB 19 14, bytestream 1444
> 0:00:08.728272400 20676 0000000005182500 ERROR libav :0::
> Reference 2 >= 2
> 0:00:08.731733800 20676 0000000005182500 ERROR libav :0::
> error while decoding MB 19 12, bytestream 3688
> 0:00:09.028552500 20676 0000000005182500 ERROR libav :0::
> Reference 3 >= 2
> 0:00:09.031700600 20676 0000000005182500 ERROR libav :0::
> error while decoding MB 17 13, bytestream 3236
> 0:00:09.095675900 20676 0000000005182500 ERROR libav :0::
> gray chroma
> 0:00:09.099261300 20676 0000000005182500 ERROR libav :0::
> error while decoding MB 17 13, bytestream 2792
>
> How do I fix this? Any help is greatly appreciated!
>
Few things to notice, you didn't configure key frame distance on your
encoder, is not using live source (see is-live property on test sources)
and not using a jitterbuffer buffer. This is not yet RTP streaming, so
don't expect very good results.
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20191104/bb63f417/attachment-0001.html>
More information about the gstreamer-devel
mailing list