Hi, I am using libavformat to mux H264 packets (encoded with x264) into a .mov file. (the encoding phase is done directly with x264 library, in a prior phase, without using any libav code)
I am copying the x264 extradata to the AVCodecContext->extradata field. but the call to avcodec_open changes the extradata and extradata_size fields of my AVCodecContext, and so the extradata of my choice is not saved to file as I can validate by opening the file using av_open_input_file and looking at the extradata field. if I try to be clever and not call avcodec_open at all, then the when I open the file as input I see my extradata, but I am unable to decode the file using libav. how can I persuade libav to use the extradata that was generated by my x264 encoder? thanks Aviad _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
