<div dir="ltr"><span style="font-size:12.8px">Hi,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am using FFmpeg Zeranoe builds for Windows. I took a snapshot of their builds few months ago, and just recently decided to upgrade it.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">As with previous build, when I called avformat_alloc_output_context2() function with something like:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">avformat_alloc_output_context2(&ocVid, NULL, NULL, "test.webm")<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I always got the right codec: WebM with VP8 video and Vorbis audio.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Now, with the latest build, it is giving me VP9 video and Opus audio. Due to some reasons, Opus just don't seem to work with me, giving me error with function:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">avcodec_open2()<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">with some text like: "Invalid argument" (when seen with av_strerror() function ).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I just want to use VP8/Vorbis; any ideas how I can force avformat_alloc_output_context2() to use this?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div></div>