[Live-devel] Why H264 annexB bytestream transported incompletely?
Ross Finlayson
finlayson at live555.com
Sat Mar 29 07:40:38 PDT 2008
Something that I just noticed:
> num_packets_received 6153
> kBytes_received_total 2793.262000
Therefore, the average packet size is about 454 bytes. That's OK.
> kbits_per_second_ave 7440.833705
> packet_loss_percentage_ave 13.264731
Therefore, the data rate that you're sending is about 7440/(1-0.13) =
8552 kbps. At 50 frames per second, that means that each frame
averages 171 kbits, or 21 kBytes. That seems too large, and is not
consistent with an average packet size of 454 bytes.
> inter_packet_gap_ms_ave 0.486910
That's much too low, if you really are sending packets 20 ms apart.
>
> The frame rate of my bytestream is fixed(0.02s), so I set
>durationTime as 20ms
Remember that for a 20ms duration, you need to set
"fDurationInMicroseconds" to 20000 (not 20). Are you sure you're
doing this correctly?
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list