[Live-devel] MPEG4 RTSP Client/Receiver
Khaliq Masood
kmasoodpk at hotmail.com
Wed Jun 24 23:25:21 PDT 2009
Thanks Ganesh it solved my problem. I have one more problem. i have tested two files for streamer. when file1 is streamed by streamer, the received file is not playable if i dont add initial stream information. While when file2 is streamed by the streamer, the received file is directly playable without adding initial information. i could not understand this.
Also when file2 is received, it is exactly the same as the original source file.
while when file1 is received, it is not only missing some initial information but also some initial frames.
My streamer is always streaming. i want whenever my receiver connects to streamer, receiver should receive stream from the start. i could not understand why receiver receives stream from start in case of file2 and not in case of file1.
can anyone help me know to what is going on and what is the solution.
Regards
K. Masood
Date: Mon, 22 Jun 2009 23:36:05 -0700
From: ganesh_vijayan at yahoo.com
To: live-devel at ns.live555.com
Subject: Re: [Live-devel] MPEG4 RTSP Client/Receiver
Hi Khalid,
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.
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.
Thanks,
Ganesh
From: Khaliq Masood <kmasoodpk at hotmail.com>
To: live-devel at ns.live555.com
Sent: Tuesday, June 23, 2009 11:14:37 AM
Subject: [Live-devel] MPEG4 RTSP Client/Receiver
Hi Everyone,
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?
Regards
K. Masood
See all the ways you can stay connected to friends and family
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090625/d0a8f65b/attachment-0001.html>
More information about the live-devel
mailing list