[Libav-user] Getting SPS and PPS-information from x264 encoding

Christian Brümmer christian.bruemmer at gmx.de
Mon May 28 19:21:56 CEST 2012


Hi,

i encode video frames using a default codec configuration via 
avcodec_get_context_defaults3(). That video frames are further used for 
rtsp streaming based on live555. For compatibility i need the SPS and 
PPS-informations for the rtsp server but i didnt know them (cause 
default configurations i cant access).

How can i get that infos out of a AVCodecContext after setting to 
default values (c-code)?

Best regards and thanks for reading,
Christian




More information about the Libav-user mailing list