<div dir="ltr"><div><div><div><div><div><div><div>Hi All,<br><br></div><span style="font-family:monospace,monospace">I<font size="2"> am trying to play a RTSP stream which has Audio+Video data. But the stream fails to play with the error:</font></span></div><div><br><span style="font-family:monospace,monospace"><font size="2"><span style="font-family:monospace,monospace"><font size="2">gstrtspsrc.c:5564:gst_rtspsrc_send:<rtspsrc0> [00m <b>got error -8 <br></b></font></span></font></span></div><div><font size="2">which is</font><span style="font-family:monospace,monospace"><font size="2"> <i>GST_RTSP_EPARSE (-8)</i></font></span><br><span style="font-family:monospace,monospace"></span></div><span style="font-family:monospace,monospace"><font size="2"><br></font></span></div><span style="font-family:monospace,monospace"><font size="2">Following is the Pipeline I ran:<br><br><i><b>./gst-launch-1.0 --gst-debug=rtspsrc:7 rtspsrc location="rtsp://<a href="http://65.254.18.61:555/StdCh1">65.254.18.61:555/StdCh1</a>" debug=1 ! rtph264depay ! avdec_h264 ! videoconvert ! xvimagesink</b><br></i><br></font></span></div><span style="font-family:monospace,monospace"><font size="2">This is a very simple pipeline, but somehow this particular stream is not able to get played, while the same works fine with <b>VLC and mplayer.</b><br></font></span></div><span style="font-family:monospace,monospace"><font size="2">Below are the logs for rtsp communication and error: <br></font></span></div><div><span style="font-family:monospace,monospace"><font size="2"><br></font></span></div><div><span style="font-family:monospace,monospace"><font size="2"><b>LOgs for Describe Request Respose: </b><br></font></span></div><div><span style="font-family:monospace,monospace"><font size="2"><br></font></span></div><div><i><span style="font-family:monospace,monospace"><font size="2">sdp packet 0x7ff18c026140: <br> version: '0' <br> origin: <br> username: '-' <br> sess_id: '0' <br> sess_version: '0' <br> nettype: 'IN' <br> addrtype: 'IP4' <br> addr: '192.168.56.61' <br> session_name: 'SPECOServer' <br> information: '(NULL)' <br> uri: '(NULL)' <br> emails: <br> email 'NONE' <br> connection: <br> nettype: 'IN' <br> addrtype: 'IP4' <br> address: '0.0.0.0' <br> ttl: '0' <br> addr_number: '0' <br> key: <br> type: '(NULL)' <br> data: '(NULL)' <br> attributes: <br> attribute 'control' : '*' <br> attribute 'range' : 'npt=0.000000-' <br> medias: <br> media 0: <br> media: 'video' <br> port: '0' <br> num_ports: '0' <br> proto: 'RTP/AVP' <br> formats: <br> format '97' <br> information: '(NULL)' <br> bandwidths: <br> type: 'AS' <br> bandwidth: '2560000' <br> key: <br> type: '(NULL)' <br> data: '(NULL)' <br> attributes: <br> attribute 'framerate' : '30.0' <br> attribute 'control' : 'trackID=0' <br> attribute 'rtpmap' : '97 H264/90000' <br> attribute 'fmtp' : '97 packetization-mode=1; profile-level-id=4d0029;sprop-parameter-sets=Z00AKZpkA8ARPy4C3AQEBQAAAwPoAADqYOhgAMNkAAMNkLvLjQwAGGyAAGGyF3lwoA==,aO48gA==;' <br> attribute 'framesize' : '97 1920-1080' <br> attribute 'recvonly' : '' <br> media 1: <br> media: 'audio' <br> port: '0' <br> num_ports: '0' <br> proto: 'RTP/AVP' <br> formats: <br> format '0' <br> information: '(NULL)' <br> bandwidths: <br> type: 'AS' <br> bandwidth: '64000' <br> key: <br> type: '(NULL)' <br> data: '(NULL)' <br> attributes: <br> attribute 'control' : 'trackID=1' <br> attribute 'rtpmap' : '0 PCMU/8000/1' <br> attribute 'recvonly' : '' <br> media 2: <br> media: 'application' <br> port: '0' <br> num_ports: '0' <br> proto: 'RTP/AVP' <br> formats: <br> format '107' <br> information: '(NULL)' <br> key: <br> type: '(NULL)' <br> data: '(NULL)' <br> attributes: <br> attribute 'control' : 'trackID=2' <br> attribute 'rtpmap' : '107 vnd.onvif.metadata/90000' <br></font></span></i></div><div><span style="font-family:monospace,monospace"><font size="2">----------------------------------------------------------<br></font></span></div><div><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace"></span></div><span style="font-family:monospace,monospace"></span></div><div><span style="font-family:monospace,monospace"><font size="2"><b>Logs for RTSP play request: </b><br></font></span></div><div><span style="font-family:monospace,monospace"><font size="2"><br></font></span></div><div><i><span style="font-family:monospace,monospace"><font size="2">RTSP request message 0x7ff191d41c90 <br> request line: <br> method: 'PLAY' <br> uri: 'rtsp://<a href="http://65.254.18.61:555/StdCh1">65.254.18.61:555/StdCh1</a>' <br> version: '1.0' <br> headers: <br>Progress: (request) Sending PLAY request <br> key: 'User-Agent', value: 'GStreamer/1.12.1' <br> key: 'Range', value: 'npt=0-' <br> body: <br> <br>** (gst-launch-1.0:1944): WARNING **: Sending Data :PLAY rtsp://<a href="http://65.254.18.61:555/StdCh1">65.254.18.61:555/StdCh1</a> RTSP/1.0 <br>CSeq: 7 <br>User-Agent: GStreamer/1.12.1 <br>Range: npt=0- <br>Session: 0305430776 <br>Authorization: Digest username="admin", realm="RtspServer_5cf20718d3ab", nonce="62c8897f0ca73ee635ec360f24919836", uri="rtsp://<a href="http://65.254.18.61:555/StdCh1">65.254.18.61:555/StdCh1</a>", response="ff0ae5efd9529ae2b19670fdc1388e1e" <br>Date: Wed, 11 Oct 2017 05:07:35 GMT <br> <br> <br> <br>0:00:03.353165276 [331m 1944 [00m 0x25e9190 [33;01mWARN [00m [00m rtspsrc gstrtspsrc.c:5462:gst_rtspsrc_try_send:<rtspsrc0> [00m <b>error: Could not receive message. (Parse error) </b><br>0:00:03.353408957 [331m 1944 [00m 0x25e9190 [37mDEBUG [00m [00m rtspsrc gstrtspsrc.c:5564:gst_rtspsrc_send:<rtspsrc0> [00m <b>got error -8 </b><br>0:00:03.353450387 [331m 1944 [00m 0x25e9190 [33;01mWARN [00m [00m rtspsrc gstrtspsrc.c:7397:gst_rtspsrc_play:<rtspsrc0> [00m <b>error: Could not send message. (Parse error) </b><br>ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: <b>Could not read from resource. </b><br>Additional debug info: <br>gstrtspsrc.c(5462): gst_rtspsrc_try_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: <br>Could not receive message. (Parse error) <br>Execution ended after 0:00:00.212607666 <br>Setting pipeline to PAUSED ... <br><br><br></font></span></i></div><i><span style="font-family:monospace,monospace"><font size="2"></font></span></i><div><span style="font-family:monospace,monospace"><font size="2"><i><br></i></font></span><br><span style="font-family:monospace,monospace"><font size="2"><span style="font-family:monospace,monospace"><font size="2">If anyone ever faced this same issue please let me know. The complete log file is attached below.<br></font></span> </font></span><div><div><div><div><div><div><br><br><br clear="all"><div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="color:rgb(31,73,125)">With Warm Regards,</span></b></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(31,73,125)">Shrishty Deorari</span></p><p style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(31,73,125)">VVDN Technologies Pvt Ltd<u></u><u></u></span></p><p style="margin:0in 0in 0.0001pt"><b style="font-family:Calibri,sans-serif;font-size:11pt"><span style="color:rgb(31,73,125)">Cell : </span></b><span style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(31,73,125)">+91 </span><font face="Calibri, sans-serif" color="#1f497d"><span style="font-size:14.6667px">7773980237</span></font><span style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(31,73,125)"> | </span><b style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(31,73,125)">Skype :</b><span style="font-family:Calibri,sans-serif;font-size:11pt;color:rgb(31,73,125)"> shrishty_vvdn</span></p></div><div><span style="color:rgb(31,73,125)"><br></span></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>