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

Luca Barbato lu_zero
Mon Aug 3 19:22:59 CEST 2009


Steve Jiekak wrote:
> 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.

extradata from lavf has everything you need.

check

http://cgit.lscube.org/cgit.cgi/feng/tree/src/media/parser/h264.c#n218

lu

-- 

Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list