Decoding TS received over udpsrc
a-luz
arthurg.luz at gmail.com
Fri Apr 6 19:30:30 UTC 2018
Thank you for the reply!
As you've suggested, I have tried with rtp depay. It does not open any
window to display the image and the audio doesn't work as well, but it does
not give me any errors. When I run gst-launch with the verbose option, it
does give me some messages, but I don't really know what they mean.
*Here is the pipeline I've created:*
$ gst-launch-1.0 udpsrc port=7000
"caps=application/x-rtp,media=(string)video,clock-rate=(int)90000" ! rtpbin
! rtpmp2tdepay ! tsdemux emit-stats=true name=demux ! queue ! h264parse !
avdec_h264 ! autovideosink demux. ! queue ! aacparse ! avdec_aac !
autoaudiosink -v
*Here is the output:*
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0.GstPad:src: caps =
"application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_sink_0.GstProxyPad:proxypad2:
caps = "application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:recv_rtp_src:
caps = "application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:sink:
caps = "application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:recv_rtp_sink:
caps = "application/x-rtp\,\ media\=\(string\)video\,\
clock-rate\=\(int\)90000"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_sink_0: caps =
"application/x-rtp\,\ media\=\(string\)video\,\ clock-rate\=\(int\)90000"
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: stats =
"application/x-rtp-session-stats\,\ rtx-drop-count\=\(uint\)0\,\
sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\
source-stats\=\(GValueArray\)NULL\,\ rtx-count\=\(uint\)0\;"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: stats =
"application/x-rtp-session-stats\,\ rtx-drop-count\=\(uint\)0\,\
sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\
source-stats\=\(GValueArray\)NULL\,\ rtx-count\=\(uint\)0\;"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: stats =
"application/x-rtp-session-stats\,\ rtx-drop-count\=\(uint\)0\,\
sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\
source-stats\=\(GValueArray\)NULL\,\ rtx-count\=\(uint\)0\;"
/GstPipeline:pipeline0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0: stats =
"application/x-rtp-session-stats\,\ rtx-drop-count\=\(uint\)0\,\
sent-nack-count\=\(uint\)0\,\ recv-nack-count\=\(uint\)0\,\
source-stats\=\(GValueArray\)NULL\,\ rtx-count\=\(uint\)0\;"
------
It keeps sending that message every couple of seconds until I cancel the
execution.
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list