[Live-devel] H.264 NAL confusion

Ross Finlayson finlayson at live555.com
Mon Mar 30 21:23:09 PDT 2009


>I'm confused about what information I need to supply to the framer 
>to get all this to work correctly.  So far it seems I need to:
>
>1. Supply NAL units
>
>2. Implement currentNALUnitEndsAccessUnit() (for me, this always 
>returns true since each NAL unit I have seems to correspond with a 
>whole encoded frame--does that sound right to you?)

Yes.

>
>3. supply SPS/PPS information which is communicated in 
>sprop_parameter_sets_str (just for clarification: this looks like 
>"(SPS as base64),(PPS as base64)", right?)

Yes.

>
>4. supply profile_level_id (any hints about this one?  I've reviewed 
>rfc 3984, and i'm still a little fuzzy on what this value should 
>look like)

I suggest consulting the documentation for your H.264 encoder.

>
>5. Anything else?

Remember to set "fPresentationTime" and "fDurationInMicroseconds".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list