Fwd: avdec_h264 can't decide on src caps

Sebastian Dröge sebastian at centricular.com
Fri Oct 23 00:35:08 PDT 2015

On Do, 2015-10-22 at 14:20 +0000, Klaas Jan Russcher wrote:
> I have modified the pipeline to this:
> appsrc ! VIDEO_CAPS ! rtpstreamdepay ! rtpjitterbuffer ! rtph264depay ! h264parse ! queue ! avdec_h264 ! videoconvert ! videoscale ! autovideosink

The problem here seems to be invalid RTP payload:

> 0:00:03.719861720 22498       0xc34590 DEBUG  
>              GST_BUS gstbus.c:309:gst_bus_post:<bus2>
> [msg 0xcf06c0] posting on bus warning message: 0xcf06c0, time
> 99:99:99.999999999, seq-num 95, element 'data.video_jitterbuffer',
> GstMessageWarning, gerror=(GError)NULL,
> debug=(string)"gstrtpjitterbuffer.c\(2720\):\
> gst_rtp_jitter_buffer_chain\ \(\):\
> /GstPipeline:pipeline_video_show/GstRtpJitterBuffer:data.video_jitter
> buffer:\012Received\ invalid\ RTP\ payload\,\ dropping";

This happens a lot of times, it seems like every time a buffer arrives
in the jitterbuffer. It also posts WARNING messages on the bus about
that, which you should at least print in your application.

So yes, it's not surprising that the decoder can't decide on caps. It
never receives any data.

Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151023/0d6c9c13/attachment.sig>

More information about the gstreamer-devel mailing list