<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks Ganesh. <br>fileSink->addData(configData, configLen, timeNow); worked and my problem is solved. actually my MPEG4 receiver was receiving frames correctly. The problem was receiver was unable to write the initial useful information of the stream before writing the frames data. After writing the intial data it, everything is working properly.<br><br>Thanks<br>K. Masood<br><br><hr id="stopSpelling">Date: Mon, 22 Jun 2009 23:36:05 -0700<br>From: ganesh_vijayan@yahoo.com<br>To: live-devel@ns.live555.com<br>Subject: Re: [Live-devel] MPEG4 RTSP Client/Receiver<br><br>
<style>
.ExternalClass DIV
{;}
</style><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div>Hi Khalid,<br><br>You can refer to the openRTSP example which provides a good starting point for the receiver. However, there is a catch. In case of MPEG4, some additional data is received initially, which requires to be added to the bitstream. Does your application cater to the same? I presume you are using Livemedia for your RTSP receiver.<br><br>In playCommon.cpp, there is an example implementation for codec name MP4V-ES (fileSink->addData(configData, configLen, timeNow);). This should provide you with some input pointers.<br><br>Thanks,<br>Ganesh<br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Khaliq Masood <kmasoodpk@hotmail.com><br><b><span style="font-weight: bold;">To:</span></b> live-devel@ns.live555.com<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, June 23, 2009 11:14:37 AM<br><b><span style="font-weight: bold;">Subject:</span></b> [Live-devel] MPEG4 RTSP Client/Receiver<br></font><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Hi Everyone,<br><br>I am writing RTSP MPEG4 receiver that can receive a stream from "myMPEG4VideoStreamer" over a LAN and save it into file. streamer works fine, when i receive the stream from VLC it plays fine. but my receiver could not receive it correctly (it is not playable). May be i am able to decode the stream properly, how can i decode MPEG4 stream on receiver end. i am using RTSPClient and Subsessions in my receiver. please guide me where i am doing wrong?<br><br><br>Regards<br>K. Masood<br><br><hr>See all the ways you can stay connected <a rel="nofollow" href="http://www.microsoft.com/windows/windowslive/default.aspx">to friends and family</a></div></div></div><br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009' target='_new'>Check it out!</a></body>
</html>