I've gotten about as far. I don't get any green video, but QT does determine my video width and height and start streaming. I haven't managed to figure out anything beyond that, but admittedly I haven't looked into it for a few weeks.
On Thu, May 7, 2009 at 10:17 AM, Ganesh V <[email protected]> wrote: > I got H.264 Streaming working with Quicktime. While preparing the > sprop_parameter_sets as shown below, I shouldn't have been including the > NALU start code which was the problem. > > Currently, quicktime is able to identify the incoming stream and is able to > set it's window width and height. However, I observe a green screen and > unable to view the video. Has anyone faced this issue before and solved the > same? > > Thanks. > > ------------------------------ > *From:* Ganesh V <[email protected]> > *To:* [email protected] > *Sent:* Wednesday, May 6, 2009 9:28:56 PM > *Subject:* [Live-devel] H.264 RTSP Streaming with QuickTime > > Dear Experts, > > Currently, I am trying to achieve generic RTSP H.264 Streaming > functionality based on Livemedia. Based on the available literature, I > figured that my application needs to generate sprop-parameter-sets for SDP. > From livemedia sources, I observed that in H264VideoRTPSink (constructor) > fFmtpSDPLine which contains the requisite information is generated. The > pseudo-code of my application is as shown below: > > strcpy(sprop_parameter_sets,base64Encode(sps, length_of_sps); > len = strlen(sprop_parameter_sets); > sprop_parameter_sets[len] = ','; > strcpy(sprop_parameter_sets+len+1, base64Encode(pps, length_of_pps)); > > H264VideoRTPSink::createNew(envir(), rtpGroupsock, > rtpPayloadTypeIfDynamic, p_context->profile_level_id, (const char*) > sprop_parameter_sets); > > With these changes, I am able to stream data from my application. This RTSP > stream is successfully decoded and displayed by VLC player, which works > without any issues. When I try to play this stream with Quick Time, the > session is setup and the player reports "Negotiating, Buffering .." and > finally, shows that QT is playing the stream, wherein the time counter is > increment. However, there is no video displayed on the QT screen. The window > is also not resized to the actual size of the stream and remains at the > default size of the window. When I check the movie info, I observe that > width, height and frame rate information is missing. > > I am able to get MPEG4 streaming working without any issues with QT, but > facing this issue with H.264. Has anyone tried H.264 RTSP streaming with QT > prior and was successfully able to display a H.264 stream? Am I doing some > mistake in my logic in invoking H264VideoRTPSink or have I missed some other > initialization? > > Many thanks in advance for your help. > Ganesh > > > > _______________________________________________ > live-devel mailing list > [email protected] > http://lists.live555.com/mailman/listinfo/live-devel > > -- Where are we going? And why am I in this hand-basket?
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
