<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite">When I try to stream locally a m4e file like <br><a href="http://www.live555.com/liveMedia/public/m4e/para.m4e">http://www.live555.com/liveMedia/public/m4e/para.m4e</a> using <br>testOnDemandRTSPServer, no data is transmitted.<br></blockquote><div><br></div></div>Data is definitely being transmitted - and is being received at the client end:<div><br></div><div><div>./openRTSP -n <a href="rtsp://4.79.217.242:8554/para.m4e">rtsp://4.79.217.242:8554/para.m4e</a></div><div>Opening connection to 4.79.217.242, port 8554...</div><div>...local connection opened</div><div>Sending request: OPTIONS <a href="rtsp://4.79.217.242:8554/para.m4e">rtsp://4.79.217.242:8554/para.m4e</a> RTSP/1.0</div><div>CSeq: 2</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)</div><div><br></div><div><br></div><div>Received 152 new bytes of response data.</div><div>Received a complete OPTIONS response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 2</div><div>Date: Fri, Apr 19 2013 09:44:02 GMT</div><div>Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER</div><div><br></div><div><br></div><div>Sending request: DESCRIBE <a href="rtsp://4.79.217.242:8554/para.m4e">rtsp://4.79.217.242:8554/para.m4e</a> RTSP/1.0</div><div>CSeq: 3</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)</div><div>Accept: application/sdp</div><div><br></div><div><br></div><div>Received 665 new bytes of response data.</div><div>Received a complete DESCRIBE response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 3</div><div>Date: Fri, Apr 19 2013 09:44:02 GMT</div><div>Content-Base: <a href="rtsp://4.79.217.242:8554/para.m4e/">rtsp://4.79.217.242:8554/para.m4e/</a></div><div>Content-Type: application/sdp</div><div>Content-Length: 498</div><div><br></div><div>v=0</div><div>o=- 1366364489655635 1 IN IP4 4.79.217.242</div><div>s=MPEG-4 Video, streamed by the LIVE555 Media Server</div><div>i=para.m4e</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2013.04.16</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:MPEG-4 Video, streamed by the LIVE555 Media Server</div><div>a=x-qt-text-inf:para.m4e</div><div>m=video 0 RTP/AVP 96</div><div>c=IN IP4 0.0.0.0</div><div>b=AS:500</div><div>a=rtpmap:96 MP4V-ES/90000</div><div>a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000C8888007D05841214103</div><div>a=control:track1</div><div><br></div><div>Opened URL "<a href="rtsp://4.79.217.242:8554/para.m4e">rtsp://4.79.217.242:8554/para.m4e</a>", returning a SDP description:</div><div>v=0</div><div>o=- 1366364489655635 1 IN IP4 4.79.217.242</div><div>s=MPEG-4 Video, streamed by the LIVE555 Media Server</div><div>i=para.m4e</div><div>t=0 0</div><div>a=tool:LIVE555 Streaming Media v2013.04.16</div><div>a=type:broadcast</div><div>a=control:*</div><div>a=range:npt=0-</div><div>a=x-qt-text-nam:MPEG-4 Video, streamed by the LIVE555 Media Server</div><div>a=x-qt-text-inf:para.m4e</div><div>m=video 0 RTP/AVP 96</div><div>c=IN IP4 0.0.0.0</div><div>b=AS:500</div><div>a=rtpmap:96 MP4V-ES/90000</div><div>a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000C8888007D05841214103</div><div>a=control:track1</div><div><br></div><div>Created receiver for "video/MP4V-ES" subsession (client ports 54170-54171)</div><div>Sending request: SETUP <a href="rtsp://4.79.217.242:8554/para.m4e/track1">rtsp://4.79.217.242:8554/para.m4e/track1</a> RTSP/1.0</div><div>CSeq: 4</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)</div><div>Transport: RTP/AVP;unicast;client_port=54170-54171</div><div><br></div><div><br></div><div>Received 203 new bytes of response data.</div><div>Received a complete SETUP response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 4</div><div>Date: Fri, Apr 19 2013 09:44:02 GMT</div><div>Transport: RTP/AVP;unicast;destination=4.79.217.242;source=4.79.217.242;client_port=54170-54171;server_port=6972-6973</div><div>Session: 2E0729EE</div><div><br></div><div><br></div><div>Setup "video/MP4V-ES" subsession (client ports 54170-54171)</div><div>Created output file: "video-MP4V-ES-1"</div><div>Sending request: PLAY <a href="rtsp://4.79.217.242:8554/para.m4e/">rtsp://4.79.217.242:8554/para.m4e/</a> RTSP/1.0</div><div>CSeq: 5</div><div>User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)</div><div>Session: 2E0729EE</div><div>Range: npt=0.000-</div><div><br></div><div><br></div><div>Received 188 new bytes of response data.</div><div>Received a complete PLAY response:</div><div>RTSP/1.0 200 OK</div><div>CSeq: 5</div><div>Date: Fri, Apr 19 2013 09:44:02 GMT</div><div>Range: npt=0.000-</div><div>Session: 2E0729EE</div><div>RTP-Info: url=<a href="rtsp://4.79.217.242:8554/para.m4e/track1;seq=46001;rtptime=2997460372">rtsp://4.79.217.242:8554/para.m4e/track1;seq=46001;rtptime=2997460372</a></div><div><br></div><div><br></div><div>Started playing session</div><div>Receiving streamed data (signal with "kill -HUP 81870" or "kill -USR1 81870" to terminate)...</div><div>Data packets have begun arriving [1366364642373]</div></div><div><br></div><div><br></div><div>HOWEVER, with VLC 2.0.6 as the client, the video doesn't render. Opening VLC's "Messages" log, I see several messages of the form:</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>avcodec warning: cannot decode one frame (<n> bytes)</div><div><br></div><div>As you noted, VLC can still play H.264 streams OK.</div><div><br></div><div>So, the problem seems to be at the VLC end. Nothing related specifically to MPEG-4 video streaming has changed in the LIVE555 libraries recently. Has anything changed in VLC's "live555.cpp" interface code, or in the way that the rest of VLC handles MPEG-4 video??</div><div><br></div><br><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a></span></span>
</div>
<br></body></html>