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

Christian Brümmer christian.bruemmer at gmx.de
Tue May 29 14:00:33 CEST 2012


Am 28.05.2012 19:21, schrieb Christian Brümmer:
> 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
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>

I figured out that those informations typically found in 
SDP-descriptions. So i tried av_sdp_create which works so far but it has 
no sprop-parameter-sets :/.

Cant be that hard - or?


More information about the Libav-user mailing list