Decoding RTP H264 Stream from Image Processor

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Decoding RTP H264 Stream from Image Processor

Matt
This post was updated on .
I am having an issue decoding the h264 stream from an image processor used to
generate ethernet streams from a camera sensor. I am using version 1.14.0 of gstreamer.

I am able to decode the stream when it is being transmitted as JPEG. I would
like to attempt h264. I have been able to encode and decode my own H264 test
sources using gstreamer. I have been unable to decode the stream from the
image processor using either VLC or gstreamer.

According to the datasheet of the image processor I can produce h264 streams
using either annex B or rfc6184 headers. The vendor's application does not
appear to work using anything but the annex B headers. Annex B headers are
also the only header version that produces any information using either VLC
or gstreamer. The pipeline I am testing with is as follows:

gst-launch-1.0 -v -m udpsrc
caps=application/x-rtp,media=(string)video,clock-rate=90000,encoding-name=(string)H264
port=5004 timeout=3000000000 buffer-size=1000000 ! rtpjitterbuffer latency=0
! decodebin ! autovideosink

When running this pipeline, I get the following errors:
Got message #76 from element "rtph264depay0" (warning): GstMessageWarning, gerror=(GError)NULL, debug=(string)"gstrtph264depay.c\(1253\):\ gst_rtp_h264_depay_process\ \(\):\ /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:\012Undefined\ packet\ type";
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0: Could not decode stream.
Additional debug info:
gstrtph264depay.c(1253): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
Got message #77 from element "rtph264depay0" (warning): GstMessageWarning, gerror=(GError)NULL, debug=(string)"gstrtph264depay.c\(1253\):\ gst_rtp_h264_depay_process\ \(\):\ /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:\012Undefined\ packet\ type";
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0: Could not decode stream.
Additional debug info:
gstrtph264depay.c(1253): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
Got message #83 from element "rtph264depay0" (warning): GstMessageWarning, gerror=(GError)NULL, debug=(string)"gstrtph264depay.c\(1253\):\ gst_rtp_h264_depay_process\ \(\):\ /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:\012Undefined\ packet\ type";
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0: Could not decode stream.
Additional debug info:
gstrtph264depay.c(1253): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
Got message #84 from element "rtph264depay0" (warning): GstMessageWarning, gerror=(GError)NULL, debug=(string)"gstrtph264depay.c\(1253\):\ gst_rtp_h264_depay_process\ \(\):\ /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:\012Undefined\ packet\ type";
WARNING: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0: Could not decode stream.
Additional debug info:
gstrtph264depay.c(1253): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
Got message #93 from element "rtph264depay0" (error): GstMessageError, gerror=(GError)NULL, debug=(string)"gstrtph264depay.c\(1264\):\ gst_rtp_h264_depay_process\ \(\):\ /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:\012NAL\ unit\ type\ 27\ not\ supported\ yet";
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0: The stream is in the wrong format.
Additional debug info:
gstrtph264depay.c(1264): gst_rtp_h264_depay_process (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
NAL unit type 27 not supported yet
Is there any chance I am missing something in my pipleline? Thank you.

Regards,
Matt Minga




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel