2017-11-02 13:53 GMT+01:00 ravikiran.bs <ravikiran...@zohocorp.com>: > I allocate AVFormatContext using avformat_alloc_output_context2() > function, by passing the filename as "test.webm", the default video > codec selected is VP9.
You can search for an encoder with avcodec_find_encoder() or avcodec_find_encoder_by_name(), you allocate a codec context with avcodec_alloc_context3() and set OutputStream->enc to that context, see docs/examples/muxing.c Carl Eugen _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user