[Live-devel] H264VideoStreamDiscreteFramer problems

David J Myers david.myers at panogenics.com
Wed Jan 4 08:32:13 PST 2012


Hi,

I'm having problems getting a valid stream out of my live video server now I
have switched to using the H264VideoStreamDiscreteFramer. I was using
H264VideoStreamFramer but I couldn't avoid frame truncation problems.

 

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 I send these frames in three parts, removing the 00 00 00 01 headers,
copying the rest of the NALU bytes to the fTo buffer and then calling
FramedSource::afterGetting(this);

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.

 

I don't see any errors on my server but VLC rejects my stream with

Main video output warning: late picture skipped

Live555 demux warning: unsupported NAL type for H264

I also get the error

Avcodec decoder error: more than 5 seconds of late video

 

Thanks again, David

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120104/2f3eff50/attachment.html>


More information about the live-devel mailing list