[Live-devel] livemedia lib throughput speed limitations

2010-05-22 Thread Tao Wu
Hi, I am trying to figure out the H264 throughput speed of livemedia library. As I know, the library uses durationInMicroseconds in H264FUAFragmenter::afterGettingFrame, which finally passes the value to MultiFramedRTPSink::sendPacketIfNecessary() to determine the when to send next frame. ( st

Re: [Live-devel] fPresentationTime fDurationInMicroseconds value setup

2010-01-28 Thread Tao Wu
Hi Ross, Thanks for your explanations. I am somehow unsure about the proper setup of fPresentationTime and fDurationInMicroseconds. My h264 video stream comes in the oder of pps, sps, I, P, P, P...(29 times) in a second. Is the following code correct ? Thank you. ::continueReadProcessing() {

[Live-devel] fPresentationTime fDurationInMicroseconds value setup

2010-01-26 Thread Tao Wu
Hi All, I need to understand the value of fPresentationTime fDurationInMicroseconds. Those two are used in almost all videoframers. I have an IP camera, which sends out video frames in the oder of pps, sps, I, P, P, P...(29 times) in a second. So should the fPresentationTime/ fDurationInMicroseco

[Live-devel] Private data in H264 RTP/RTSP stream

2010-01-06 Thread Tao Wu
Hi, I want to add some use private data (like camera locations, etc) periodically to H264 video stream. This rate of these private data is very slow, like 10Kbps. One way (A) is to create a separate "faked" video stream for the transmission using libmedia's rtp/rtsp library. Since rtp/rtsp does no

[Live-devel] an architecture question of livemedia server

2009-10-21 Thread Tao Wu
Hi, I have an architecture question of livemedia. Livemedia is a single thread program, it uses "event" to serve multiple video streams. If in one video stream, I called some blocking functions, will it hurt other video streams? For example, assume the server wants to server two video streams, A a

Re: [Live-devel] H264 RTSP with VLC or openRTSP

2009-10-08 Thread Tao Wu
Russ, Thanks for your reply. I am very sure the fPresentationTime is correct. I can use VLC to play the RTSP stream for 2 , 3 minutes correctly, then suddenly VLC becomes blank. Because openRTSP has the buffer limitation (encoded frame must be able to fit into the buffer, I set it -b 60K), I suspe

[Live-devel] H264 RTSP with VLC or openRTSP

2009-10-07 Thread Tao Wu
Hi, I have made a H264 media server and the input is encoded frames directed coming from the hardware encoder, not from a file. I can successfully receive the H264 stream from openRTSP command tool and store the received stream into a file. The VLC player also can play the stored the file smoothly

[Live-devel] question about live streaming H264

2009-09-23 Thread Tao Wu
Hi, I play to live stream h264, the source is not a file, but encoded video frames from hardware. Can some one suggest what example code I can look at as reference, like H264VideoStreamFrame, VideoFileServerMediaSubsession (their source is a file , not encoded frames)? Thanks a lot. Best Regards,

[Live-devel] H264 SDP sprop_parameter_sets_str definition

2009-08-20 Thread Tao Wu
Hi, I write a H264 framer and it works with openRTSP. However, it will cause VLC player to crash. Thanks for Ross's comment, I realized that my setup of SDP sprop_parameter_sets_str is not correct. I do not know the format or structure of SDP sprop_parameter_sets. I go over the RFC 3984, but not

[Live-devel] H264 video frame problem

2009-08-17 Thread Tao Wu
Hi, I am working on a H264 video framer to stream a h264 file. I did some search on the forum and found Mike did some solid work before. Basically, I wrote a H264 videostream class, which are almost a re-make of Mike's work. However, I have problems to play the stream on VLC. The VLC player will c