[Live-devel] test.m4e streaming not working anymore

Ross Finlayson finlayson at live555.com
Fri Apr 19 02:52:21 PDT 2013


> When I try to stream locally a m4e file like 
> http://www.live555.com/liveMedia/public/m4e/para.m4e using 
> testOnDemandRTSPServer, no data is transmitted.

Data is definitely being transmitted - and is being received at the client end:

./openRTSP -n rtsp://4.79.217.242:8554/para.m4e
Opening connection to 4.79.217.242, port 8554...
...local connection opened
Sending request: OPTIONS rtsp://4.79.217.242:8554/para.m4e RTSP/1.0
CSeq: 2
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)


Received 152 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Fri, Apr 19 2013 09:44:02 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, GET_PARAMETER, SET_PARAMETER


Sending request: DESCRIBE rtsp://4.79.217.242:8554/para.m4e RTSP/1.0
CSeq: 3
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)
Accept: application/sdp


Received 665 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 3
Date: Fri, Apr 19 2013 09:44:02 GMT
Content-Base: rtsp://4.79.217.242:8554/para.m4e/
Content-Type: application/sdp
Content-Length: 498

v=0
o=- 1366364489655635 1 IN IP4 4.79.217.242
s=MPEG-4 Video, streamed by the LIVE555 Media Server
i=para.m4e
t=0 0
a=tool:LIVE555 Streaming Media v2013.04.16
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:MPEG-4 Video, streamed by the LIVE555 Media Server
a=x-qt-text-inf:para.m4e
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000C8888007D05841214103
a=control:track1

Opened URL "rtsp://4.79.217.242:8554/para.m4e", returning a SDP description:
v=0
o=- 1366364489655635 1 IN IP4 4.79.217.242
s=MPEG-4 Video, streamed by the LIVE555 Media Server
i=para.m4e
t=0 0
a=tool:LIVE555 Streaming Media v2013.04.16
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:MPEG-4 Video, streamed by the LIVE555 Media Server
a=x-qt-text-inf:para.m4e
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:500
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3;config=000001B003000001B509000001000000012000C8888007D05841214103
a=control:track1

Created receiver for "video/MP4V-ES" subsession (client ports 54170-54171)
Sending request: SETUP rtsp://4.79.217.242:8554/para.m4e/track1 RTSP/1.0
CSeq: 4
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)
Transport: RTP/AVP;unicast;client_port=54170-54171


Received 203 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Apr 19 2013 09:44:02 GMT
Transport: RTP/AVP;unicast;destination=4.79.217.242;source=4.79.217.242;client_port=54170-54171;server_port=6972-6973
Session: 2E0729EE


Setup "video/MP4V-ES" subsession (client ports 54170-54171)
Created output file: "video-MP4V-ES-1"
Sending request: PLAY rtsp://4.79.217.242:8554/para.m4e/ RTSP/1.0
CSeq: 5
User-Agent: ./openRTSP (LIVE555 Streaming Media v2013.04.16)
Session: 2E0729EE
Range: npt=0.000-


Received 188 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 5
Date: Fri, Apr 19 2013 09:44:02 GMT
Range: npt=0.000-
Session: 2E0729EE
RTP-Info: url=rtsp://4.79.217.242:8554/para.m4e/track1;seq=46001;rtptime=2997460372


Started playing session
Receiving streamed data (signal with "kill -HUP 81870" or "kill -USR1 81870" to terminate)...
Data packets have begun arriving [1366364642373]


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:
	avcodec warning: cannot decode one frame (<n> bytes)

As you noted, VLC can still play H.264 streams OK.

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??



Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20130419/e50b2f94/attachment.html>


More information about the live-devel mailing list