[Live-devel] H264VideoStreamDiscreteFramer problems
David J Myers
david.myers at panogenics.com
Wed Jan 4 14:43:43 PST 2012
>> I-Frames from my encoder look like this
>> 00 00 00 01 27 42 00 32 8b 68
>> 02 18 0f 33 02 48
>> 04 00 00 00 01 28 ce 05
>> 0a c8 00 00 00 01 25 b8....................
>> So, in the above example I
>> send:- The first part, the SPS, 13 bytes 27 42 00 32 8b 68 02 18 0f 33
>> 02 48 04 Then the PPS, 5 bytes 28 ce 05 0a c8 Then the frame bytes, 25 b8
etc.
>Are you setting "fFrameSize" correctly in your 'frame source' class, before
you call "FramedSource::afterGetting(this)"? (Remember to *not* count the
four header bytes, because you stripped those off.)
Yes, I think so. So in my example, for the first SPS NAL, I set fFrameSize
to 13. For the PPS, fFrameSize is 5, etc
Could there be a problem with fPresentationTime? Should this be set to the
same value for each NAL unit in the frame?
Live555 on the server seems happy, it's just the client which rejects the
stream.
- David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120104/e46e4018/attachment.html>
More information about the live-devel
mailing list