[Live-devel] Still working on a h264 framer

Mike Gilorma mike.gilorma at apogeelabs.com
Fri Jun 27 06:28:48 PDT 2008


Ok, I'll give that a shot.  The FU-A framing was already done for me in
the H264VideoRTPSink that came with live555.  I did have to add some
code to it to send the sps and pps packets before each IDR unit so VLC
would play the stream.  

thanks for the help, I'll keep everybody posted on the progress!

On Thu, 2008-06-26 at 22:30 -0400, Jerry Johns wrote:
> The reason why you're stream doesn't work in Quicktime is because
> QuickTime expects something called SDP Parameters - its text that
> describes the stream, and in the case of H.264,
> Quicktime looks into this SDP list to find the SPS and PPS information
> (See RFC Spec section on sprop parameters)
> 
> You will have to parse your H.264 file, find the SPS and PPS Nal
> units, (usually they're the first two units in the stream) and
> according to the RFC Spec, base64 encode and append it to your SDP
> Parameters
> You should be implementing this i think in H264VideoRTPSink.cpp
> 
> Also, i didn't see any FU-A framing in your parser...are your NAL
> units sub MTU size?
> 
> Jerry
> _______________________________________________
> 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