Can't record stream with gstreamer

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't record stream with gstreamer

ismail
Hello everybody

I am trying to record video
gst-launch-1.0 -e -vvvv rtspsrc location=rtsp://192.168.50.45:8601/wxHdSdiStreaming/2?videoCodecType=H.264 ! progressreport ! decodebin name=decoder \
  decoder. ! queue ! videoconvert \
  ! x264enc \
  ! filesink location=destination.mp4

But i can't get frames even when i wait a long time i have  and my destination.mp4 is 0ko size


Can any one help me?

logs :
root@calculator:/opt/ioi_tests# ./testgst.sh
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.50.45:8601/wxHdSdiStreaming/2?videoCodecType=H.264
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: latency = 2000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: ntp-sync = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: use-pipeline-clock = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: drop-on-latency = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 5000000000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2.GstPad:src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2: caps = application/x-rtcp
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0
Progress: (request) Sent PLAY request
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_3916945448_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)1051035683, seqnum-base=(uint)38975, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3916945448_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)1051035683, seqnum-base=(uint)38975, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_3916945448_96.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)1051035683, seqnum-base=(uint)38975, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_3916945448_96.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)1051035683, seqnum-base=(uint)38975, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1:
streaming task paused, reason not-linked (-1)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_3916945448: caps = application/x-rtcp, ssrc=(uint)3916945448
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp, ssrc=(uint)3916945448
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2.GstPad:src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_3916945448: caps = application/x-rtcp, ssrc=(uint)3916945448
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp, ssrc=(uint)3916945448
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0: caps = application/x-rtcp
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Interrupt while waiting for EOS - stopping pipeline...
Execution ended after 0:00:45.076503656
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@calculator:/opt/ioi_tests#

Best regards
Isma

Reply | Threaded
Open this post in threaded view
|

Re: Can't record stream with gstreamer

Arjen Veenhuizen
When you use x264enc, you transcode the original video (which is already in H264 format accoridng to your rtsp url). Furthermore, you do not mux it in a container, so you would actually store raw H264 instead of an MP4.

Perhaps this pipeline would work:

gst-launch-1.0 -e -vvvv rtspsrc location=rtsp://192.168.50.45:8601/wxHdSdiStreaming/2?videoCodecType=H.264 ! h264parse ! queue ! mp4mux ! queue ! filesink location=destination.mp4 

Furthermore, you could check whether you can actually see anything:

gst-launch-1.0 -e -vvvv rtspsrc location=rtsp://192.168.50.45:8601/wxHdSdiStreaming/2?videoCodecType=H.264 ! h264parse ! decodebin ! videoconvert ! xvimagesink
Reply | Threaded
Open this post in threaded view
|

Re: Can't record stream with gstreamer

ismail
Thank you very much for your response i understand better now with your pipline
But i still have the same problem :

Please help if you have other ideas

root@calculator:/opt/oto/ioi_tests# gst-launch-1.0 -e -vvvv rtspsrc location=rtsp://192.168.50.43:8601/wxHdSdiStreaming/2?videoCodecType=H.264 ! h264parse ! queue ! mp4mux ! queue ! filesink location=desti.mp4
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://192.168.50.43:8601/wxHdSdiStreaming/2?videoCodecType=H.264
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: latency = 2000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: ntp-sync = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: use-pipeline-clock = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: drop-on-latency = false
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 5000000000
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1.GstPad:src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: caps = application/x-rtcp
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: timeout = 0
Progress: (request) Sent PLAY request
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_2063746432_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)3224200086, seqnum-base=(uint)21515, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2063746432_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)3224200086, seqnum-base=(uint)21515, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2063746432_96.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)3224200086, seqnum-base=(uint)21515, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_2063746432_96.GstProxyPad:proxypad3: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, profile-level-id=(string)64002A, sprop-parameter-sets=(string)"Z2QAKq2EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSFITk8nyfk/k/J8nm5s00IEkKQnJ5Pk/J/J+T5PNzZprLA8AQ9KkAAAB4AAAXcGBAAHoSAACJVC974XhEIyw\=\=\,aO48sA\=\=", a-tool=(string)"LIVE555\ Streaming\ Media\ v2012.10.24", a-type=(string)broadcast, x-qt-text-nam=(string)"RTSP/RTP\ stream\ from\ wx\ HdSdi\ camera", x-qt-text-inf=(string)"wxHdSdiStreaming/2\?videoCodecType\=H.264", clock-base=(uint)3224200086, seqnum-base=(uint)21515, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-linked (-1)
EOS on shutdown enabled -- waiting for EOS after Error
Waiting for EOS...
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:send_rtcp_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSink:udpsink1.GstPad:sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad2: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_2063746432: caps = application/x-rtcp, ssrc=(uint)2063746432
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp, ssrc=(uint)2063746432
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1.GstPad:src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_2063746432: caps = application/x-rtcp, ssrc=(uint)2063746432
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp: caps = application/x-rtcp, ssrc=(uint)2063746432
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtcp_sink: caps = application/x-rtcp
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0: caps = application/x-rtcp
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Interrupt while waiting for EOS - stopping pipeline...
Execution ended after 0:00:10.775429536
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
root@calculator:/opt/oto/ioi_tests# gst-launch-1.0 -e -vvvv rtspsrc location=rtsp://192.168.50.42:8601/wxHdSdiStreaming/2?videoCodecType=H.264 ! h264parse ! decodebin ! videoconvert ! xvimagesink
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1765): gst_xvimagesink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
XVideo extension is not available
Setting pipeline to NULL ...
Freeing pipeline ...




BEST REGARDS
Isma

Reply | Threaded
Open this post in threaded view
|

Re: Can't record stream with gstreamer

Sebastian Dröge-3
On Do, 2016-03-03 at 14:35 -0800, ismail wrote:

> Thank you very much for your response i understand better now with
> your pipline But i still have the same problem : 
>
> Please help if you have other ideas 
>
> [...]
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
> Internal data
> flow error.
> Additional debug info:
> gstbasesrc.c(2865): gst_base_src_loop ():
> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0:
> streaming task paused, reason not-linked (-1)
Get a debug log and then look there for the first "not-linked". From
there on look backwards in the debug log to find the actual cause.


> root@calculator:/opt/oto/ioi_tests# gst-launch-1.0 -e -vvvv rtspsrc
> location=rtsp://192.168.50.42:8601/wxHdSdiStreaming/2?videoCodecType=
> H.264 !
> h264parse ! decodebin ! videoconvert ! xvimagesink
> Setting pipeline to PAUSED ...
> ERROR: Pipeline doesn't want to pause.
> ERROR: from element
> /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> Could not initialise Xv output
> Additional debug info:
> xvimagesink.c(1765): gst_xvimagesink_open ():
> /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
> XVideo extension is not available
Use a different video sink, e.g. ximagesink. This means that your
system does not support XV.

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


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment