gstreaming video from hava thru raspberry pi

rtcumminsjr at comcast.net rtcumminsjr at comcast.net
Sun Oct 6 12:40:42 PDT 2013



Hi, 

I'm ingesting an RTSP stream from my HAVA player (tv) and trying to stream it on port 8080 with http protocol. This has worked with VLC on my laptop---but now I'm trying to accomplish the same http port 8080 streaming on my raspberry pi. I'm using gstreamer on the pi to try and replicate what I did with vlc on my laptop. 

The hava closes the connection after about 30 seconds. What is causing HAVA to close the connection? I have not been able to connect as a client to the http stream on port 8080 to play the video for the brief time gstreamer furiously buffers. Therefore I do not know to what extent it may be streaming if it is at all. 

I'm a newbie at this. The debug below may be helpful. Any thoughts as to what is wrong and how to get this working? 

Below are specifics: 


gst-launch-1.0 -v rtspsrc location=rtsp://192.168.1.7 ! decodebin ! videoconvert ! souphttpclientsink,host=192.168.1.13,port=8080 


Setting pipeline to PAUSED ... 
Pipeline is live and does not need PREROLL ... 
Setting pipeline to PLAYING ... 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: latency = 2000 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: drop-on-latency = false 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0: buffer-mode = Do low/high watermark buffering 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 5000000 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc4: timeout = 5000000 
New clock: GstSystemClock 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc1: timeout = 0 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc4: timeout = 0 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src: caps = application/x-rtcp 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_1998890121: caps = application/x-rtcp, ssrc=(uint)1998890121 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer1.GstPad:sink_rtcp: caps = application/x-rtcp, ssrc=(uint)1998890121 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink: caps = application/x-rtcp 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1998890121_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001B003000001B509000001000000012000885D4C307D30A041E1443F, a-mpeg4-esid=(string)224, npt-start=(guint64)0, npt-stop=(guint64)400737771000000, play-speed=(double)1, play-scale=(double)1 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_1998890121_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001B003000001B509000001000000012000885D4C307D30A041E1443F, a-mpeg4-esid=(string)224, npt-start=(guint64)0, npt-stop=(guint64)400737771000000, play-speed=(double)1, play-scale=(double)1 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_1998890121_96: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001B003000001B509000001000000012000885D4C307D30A041E1443F, a-mpeg4-esid=(string)224, npt-start=(guint64)0, npt-stop=(guint64)400737771000000, play-speed=(double)1, play-scale=(double)1 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_1998890121_96.GstProxyPad:proxypad10: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)MP4V-ES, profile-level-id=(string)3, config=(string)000001B003000001B509000001000000012000885D4C307D30A041E1443F, a-mpeg4-esid=(string)224, npt-start=(guint64)0, npt-stop=(guint64)400737771000000, play-speed=(double)1, play-scale=(double)1 
. 
. 
. 
. 
. 
. 
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:send_rtcp_src_0.GstProxyPad:proxypad3: caps = application/x-rtcp 
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource. 
Additioal debug info: 
gstrtspsrc.c(3859): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: 
The server closed the connection. 
buffering... 0% 


-------------------------source stream from hava:--------------------------------------------- 

Aspect : num 12 den 11 aspect 1.454545 pixel aspect 1.090909 

Video codec omx-mpeg4 width 320 height 240 profile 0 fps 29.970030 
Audio codec aac channels 2 samplerate 16000 bitspersample 16 
Subtitle count: 0, state: off, index: 1, delay: 0 
------------------------------------------------------------------------- 
Thanks !!! bob 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131006/c250b7fe/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stream.log
Type: text/x-log
Size: 10422 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131006/c250b7fe/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: omx.log
Type: text/x-log
Size: 258 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131006/c250b7fe/attachment-0001.bin>


More information about the gstreamer-devel mailing list