[Live-devel] RTSP of H264

2007-12-18 Thread Chang,Yi-Wen
>If we connect to mpeg1or2 rtsp server (testMPEG1or2VideoStreamer.cpp) via >MPlayer, >MPlayer still can't decode successfully because of data loss. We found that, in testMPEG1or2VideoStreamer.cpp, a video is sent repeatedlym so Mplayer will not lost data. But, if sent a video just one time, data

[Live-devel] RTSP of H264

2007-12-18 Thread Chang,Yi-Wen
>Maybe, but we lack some dependent libraries, and these libraries lack other >dependencies. >I think, before mplayer connect to RTSP server successfully, RTSP server has >already copyed data >in doGetNextFrame() and sent out frames to the rtpport of destination. >So that results in no complete f

[Live-devel] RTSP of H264

2007-12-18 Thread Chang,Yi-Wen
>>Possibly. Have you also tried using VLC as your client? >>I will try VLC (although it is not easy to install comparing with MPlayer). > Huh? VLC has pre-built binary versions for many platforms. Maybe, but we lack some dependent libraries, and these libraries lack other dependencies. I thin

[Live-devel] RTSP of H264

2007-12-17 Thread Chang,Yi-Wen
Hi, >>But, MPlayer shows the error: "decode_slice_header error... error >>while decoding frame". >> >>I am also asking help for MPlayer developers. >That's good, because that error indicates a problem with the decoder, >*not* with our software I tried to send some frames, not a whole file. I

[Live-devel] RTSP of H264

2007-12-17 Thread Chang,Yi-Wen
Hi, I have question about mplayer & H264 RTSP. We implemented a H264 stream sender and receiver, and they works successfully. Now, we tried to connect our stream sender and play from MPlayer. (For that, a RTSP server is implemented in the stream sender.) But, MPlayer shows the error: "decode_s

[Live-devel] how to play received stream via mplayer in local

2007-12-12 Thread Chang,Yi-Wen
Dear, I have written a h264 media sender and receiver, and they can work successfully. But, so far, in receiver, frames are received and saved to a file. We always to play the file via mplayer. I am asking a question: how can I play streaming in the receiver local via mplayer? I tried "mplayer

[Live-devel] about duration time

2007-11-18 Thread Chang,Yi-Wen
Dear, >>I supposed the duration time is the time of successive frames to be sends. > Yes. >>But, I view MultiFramedRTPSink.cpp code, the duration time is used >>to calculate the time at which the next packet is sent. >> If so, what should I consider to calculate the duration time? >Because y

[Live-devel] about duration time

2007-11-14 Thread Chang,Yi-Wen
Dear, I supposed the duration time is the time of successive frames to be sends. So, I calculate the duration time based on one frame processing time via transcoder (not based on frame rate, display rate) since video is from live source. But, I view MultiFramedRTPSink.cpp code, the duration ti

[Live-devel] if the NAL is larger than fMaxSize

2007-11-12 Thread Chang,Yi-Wen
If I increase buffer size as OutPacketBuffer::maxSize = 10 for RTPSink, is it possible that overflow occurs in receiver side? In H264VideoRTPSource(..., bufferSize, ...), the bufferSize indicates the maximum size for a received frame? Thank you very much. Best regards,

[Live-devel] if the NAL is larger than fMaxSize

2007-11-12 Thread Chang,Yi-Wen
>>In doGetNextFrame(), if the NAL is larger than fMaxSize, >>how to process the remaing data (fNumTruncatedBytes)? >You can't, because they will not have been delivered (because you did >not provide enough space for hem). >You need to make sure that the "maxSize" parameter to the >"getNextFrame

[Live-devel] the maximum buffer size for a frame

2007-11-12 Thread Chang,Yi-Wen
>>In doGetNextFrame(), if the NAL is larger than fMaxSize, >>how to process the remaing data (fNumTruncatedBytes)? >You can't, because they will not have been delivered (because you did >not provide enough space for hem). >You need to make sure that the "maxSize" parameter to the >"getNextFrame

[Live-devel] if the NAL is larger than fMaxSize

2007-11-12 Thread Chang,Yi-Wen
>>In doGetNextFrame(), if the NAL is larger than fMaxSize, >>how to process the remaing data (fNumTruncatedBytes)? >You can't, because they will not have been delivered (because you did >not provide enough space for hem). >You need to make sure that the "maxSize" parameter to the >"getNextFrame

[Live-devel] if the NAL is larger than fMaxSize

2007-11-12 Thread Chang,Yi-Wen
Dear, In doGetNextFrame(), if the NAL is larger than fMaxSize, how to process the remaing data (fNumTruncatedBytes)? Thanks. Best Regards,___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

[Live-devel] Received frame size on receiver side

2007-11-11 Thread Chang,Yi-Wen
Dear, We want to get frame size of received frames up to present on receiver side. Does fFrameSize in RTPSource represent the received frame per time? If no, do you know how to get or compute the received frame size? Many thanks of your answering. Best Regards,

[Live-devel] doGetNextFrame() in H264VideoStreamFramer

2007-11-05 Thread Chang,Yi-Wen
The said NAL unit's format indicates a NAL unit stream or byte stream? Or both is ok? If our NAL unit is byte stream format, should I extract NAL unit from the byte stream? Thank you very much.___ live-devel mailing list live-devel@lists.live555.com h

[Live-devel] doGetNextFrame() in H264VideoStreamFramer

2007-11-05 Thread Chang,Yi-Wen
Hi, Ross, Thank you for answering. Do you know the maximum size of a NAL unit? In doGetNextFrame(), is it possible that size of a NAL unit exceed and to be fragmented? Thanks!___ live-devel mailing list live-devel@lists.live555.com http://lists.live5

[Live-devel] doGetNextFrame() in H264VideoStreamFramer

2007-11-02 Thread Chang,Yi-Wen
Hi, everyone, I want to ask questions about doGetNextFrame() in H264VideoStreamFramer. 1. Should I copy "a whole frame data(a sequence of NALs of a frame)" or "a individual NAL unit" into the fTo address?? 2. Who to control to call currentNALUnitEndsAccessUnit()? When? How to detect the NAL

[Live-devel] How to replace with my H.264 transcoder?

2007-10-10 Thread Chang,Yi-Wen
Hi, I am also planing to design H.264 streaming. I want to replace with or insert my H.264 transcoder in H.264 streaming. Do you know what classses or functions should be rewrited or implemented in live555 libraries? And, how to do? Thanks a lot. ___ l

[Live-devel] H264 RTP Streaming: A Tutorial

2007-10-10 Thread Chang,Yi-Wen
Hi, I am also planing to design H.264 streaming. This tutorial is very helpful to me for understanding live555 basic idea. But, I have a question. I want to replace with or insert my H.264 transcoder in H.264 streaming. Do you know what classses or functions should be rewrited or implemented in