[Live-devel] H264VideoStreamDiscreteFramer

Steve McFarlin steve at stevemcfarlin.com
Mon Apr 11 11:41:38 PDT 2011


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






More information about the live-devel mailing list