[Live-devel] Why H264 annexB bytestream transported incompletely

2009-04-27 Thread wang wuying
Hi,all,I have been trying to stream H264 annexB bytestream with livemedia.My H264 file is composed of many NAL Units, each NAL Unit starts with a four-byte startcode(0x00 0x00 0x00 0x01),and only one frame a NAL Unit and the first frame is I frame ,the others are P frame. I have implement

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-31 Thread Ross Finlayson
> >On the client, I just added one sentence in MediaSession.cpp's >> MediaSession::lookupPayloadFormat(): >> >> case 96: {temp = "H264"; freq = 9; nCh = 1; break;} This is completely wrong. 96 is a dynamic RTP payload format code; it does *not* have a static definition. The

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-31 Thread Andreas Färber
Hi, Am 29.03.2008 um 14:13 schrieb Felix: >On the server, I just added my own > H264VideoFileServerMediaSession and xH264VideoStreamFramer. >On the client, I just added one sentence in MediaSession.cpp's > MediaSession::lookupPayloadFormat(): > > case 96: {temp = "H264"; freq

[Live-devel] Why H264 annexB bytestream transported incompletely?[problem solved]

2008-03-30 Thread Felix
Hi Ross: Thank u so much for help! The problem was solved already. The durationTime is set to be 2us. But I forgot to set it when there is already NALU in xH264VideoStreamFramer's buffer. In this case, no data needs to be gotten from ByteStreamFileSouce. And the durationTime i

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-29 Thread Ross Finlayson
Something that I just noticed: > num_packets_received6153 > kBytes_received_total 2793.262000 Therefore, the average packet size is about 454 bytes. That's OK. > kbits_per_second_ave7440.833705 > packet_loss_percentage_ave 13.264731 Therefore, the data rate that

[Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-29 Thread Felix
Hi Ross: Thank you very much for answering my question on the maillist! There is sufficient network bandwidth, and just one network router between server and client. For the client and server are on two PC in one LAN. And to check whether my network is Ok, I used livemediaSe

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-29 Thread Ross Finlayson
>1. On the server, I checked that all datas are correctly write to the socket, >but on the client, less data can be read from that socket. What >causes data loss? i/ Insufficient network bandwidth between server and client, and/or 2/ Overloaded network router(s) betwen server and ciient, and/

[Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-29 Thread Felix
Hi: Thank you for answering my question! I checked the packet loss by using the "-Q" option to "openRTSP", and the statistics are below: begin_QOS_statistics server_availability 100 stream_availability 100 subsession video/H264 num_packets_recei

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-28 Thread Ishwar . Jasuja
TECTED]> To LIVE555 Streaming Media - development & use <[EMAIL PROTECTED]> cc Subject Re: [Live-devel] Why H264 annexB bytestream transported incompletely? Hello, Am 28.03.2008 um 09:15 schrieb Felix: I have been trying to stream H264 annexB bytestream with livemedia, and ha

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-28 Thread Ross Finlayson
Because you've modified the code, I probably can't help you much with your problem. However, the first thing I'd check would be network packet loss. You can check this using the "-Q" option to "openRTSP". -- Ross Finlayson Live Networks, Inc. http://www.live555.com/ __

Re: [Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-28 Thread Andreas Färber
Hello, Am 28.03.2008 um 09:15 schrieb Felix: I have been trying to stream H264 annexB bytestream with livemedia, and have made little progress these days. My own xH264VideoStreamFramer(subclass of H264VideoStreamFramer) and H264VideoFileServerMediaSubsession have been done. To che

[Live-devel] Why H264 annexB bytestream transported incompletely?

2008-03-28 Thread Felix
Hi all: I have been trying to stream H264 annexB bytestream with livemedia, and have made little progress these days. My own xH264VideoStreamFramer(subclass of H264VideoStreamFramer) and H264VideoFileServerMediaSubsession have been done. To check my classes, I modified live555