[Live-devel] H264VideoStreamDiscreteFramer

satheesh Ramalingam satram at juniper.net
Mon Apr 11 18:53:21 PDT 2011


Hi Steve,
Can you use openRTSP program to receive the stream and check whether it matches your input frames? This will tell u the difference in nalu header parsing. 

>> This worked to a degree. The encoder sends NAL unit types 7 and 8 first and then  1 ... 1, 5, 1 .... 1, 5.  
You can consider dropping first set of p -frames (nalu type 1) before getting first IDR (nal type 5). 


-----Original Message-----
From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Steve McFarlin
Sent: Tuesday, April 12, 2011 12:12 AM
To: live-devel at ns.live555.com
Subject: [Live-devel] H264VideoStreamDiscreteFramer

Hello,

I have an encoder that delivers discrete H264 frames with a NAL start code. When I copy to the fTo parameter is exclude the NAL start code and set the frame size to the appropriate value. My issue is the resulting stream is recognized as garbage when streamed to VLC and Quicktime renders a green blocky screen and the height is wrong. I did try the H264VideoStreamFamer as a test by feeding it the output of the encoder as a stream. This worked to a degree. The encoder sends NAL unit types 7 and 8 first and then  1 ... 1, 5, 1 .... 1, 5.  The encoder does not appear to set the frame rate in the SPS. 

Does anyone have any suggestions on where to look for the issue. Maybe 

Thanks,
Steve




_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list