[FFmpeg-devel] H.264 get profile level, SPS and PPS parameters in FFMPEG

Steve Jiekak devaureshy
Mon Aug 3 12:18:40 CEST 2009

Hi everyone,
I am writing a program which use FFmpeg and other api to stream H.264.
I need to know the hexadecimal for the profile level, SPS and PPS parameters
to construct
 the component which is sending the data via RTP.

I know there is an H264 structure in h264.h, that we can access to this
structure with
AVCodecContext ->priv_data (of course just when it is a h.264 format)
but I don't know how\when to extract the data that I need.

Wouldn't you mind to help me with that??
Steve jiekak

More information about the ffmpeg-devel mailing list