Thanks luca, it looks like I have to enable the CODEC_FLAG_GLOBAL_HEADER before setting the context to be able to use extradata, and now I am able to get what I want from.
But what is exactly a global header?? I noticed that when it is enable, my usual code to make encoding don't work anymore, and I had to use 2 similar Fomat context in parallel (one with global enabled to work on PPS SPS, and one to do the rest) . Steve _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
