Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Streaming H264 content via RTP/RTSP: VLC works, Quicktime doesn't

Hello,
We are developping a DSP based system that streams H264 content using RTP/RTSP.
We are feeding Quicktime and VLC with a similar URL: rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp
Both clients communicate with our server in the RTSP protocol. The following messages pass between Quicktime client and our server:

DESCRIBE rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp RTSP/1.0
CSeq: 1
Accept: application/sdp
Bandwidth: 512000
Accept-Language: nl-NL
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)

RTSP/1.0 200 OK
CSeq: 1
Content-Type: application/sdp
Content-Length: 435

v=0
o=- 4 16975365 IN IP4 212.143.39.228
s=MRS
t=0 0
b=RS:0
b=RR:0
a=range:npt=now-
a=isma-compliance:2,2.0,2
a=control:rtsp://stream/device 71_camera2.sdp
m=video 5438 RTP/AVP 97
c=IN IP4 10.0.0.51
a=control:trackID=1
b=AS:250
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=42801E;sprop-parameter-sets=Z0KAHomVQsEtA EA=,aFOAwGHI
a=mpeg4-esid:201
a=cliprect:0,0,288,352
a=framesize:97 352-288

SETUP rtsp://stream/trackID=1 RTSP/1.0
CSeq: 2
Transport: RTP/AVP;unicast;client_port=6970-6971
x-retransmit: our-retransmit
x-dynamic-rate: 1
x-transport-options: late-tolerance=2.900000
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)
Accept-Language: nl-NL

RTSP/1.0 200 OK
CSeq: 2
Session: 4
Transport: RTP/AVP;unicast;client port=6970-6971;serverport=12655-12656

PLAY rtsp://212.143.39.228:12654/stream/device 71_camera2.sdp RTSP/1.0
CSeq: 3
Range: npt=0.000000-
x-prebuffer: maxtime=2.000000
Session: 4
User-Agent: QuickTime/7.6.7 (qtver=7.6.7;os=Windows NT 5.1Service Pack 3)

RTSP/1.0 200 OK
CSeq: 3

At this stage our server starts sending H264 RTP frames to port 6970 of Quicktime's host machine. No firewall or NAT exists between the client and server machines. Sometimes it is the same machine.

Quicktime client says:
'Negotiating'
'Waiting for media...'
and after 10 seconds it says 'Not Found' and disconnects from the server.

VLC displays the video stream given the same URL.
Why is Quicktime not finding/displaying the stream?

Core 2 Duo, Windows XP Pro

Posted on Aug 24, 2010 5:26 AM

Reply
3 replies

Aug 26, 2010 4:48 AM in response to Gadi Bergman

I have managed to pass this stage by adding an 'RTP-Info' header to the 'PLAY' reply. Now the player does buffering and starts counting the time forward as if it were doing a kind of playback, but all that can bee seen on the Quicktime window is the large blue Quicktime icon with dots below scrolling from side to side.

Movie inspector shows an advancing 'Current Time', 'Movie FPS: 0.00', 'Format: StreamingH.264, 352x288, Millions', a good Bit Rate value and a Quality near 100%.

Streaming H264 content via RTP/RTSP: VLC works, Quicktime doesn't

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.