<div dir="ltr"><div><span style="font-size:12.8px">I posted a question yesterday; posting again as reminder - maybe someone has a quick solution:</span></div><div><span style="font-size:12.8px"><br></span></div><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><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 6, 2015 at 5:42 PM, black copper <span dir="ltr"><<a href="mailto:blackcopper1@gmail.com" target="_blank">blackcopper1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>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><br></div><div>As with previous build, when I called avformat_alloc_output_context2() function with something like:</div><div><br></div><div>avformat_alloc_output_context2(&ocVid, NULL, NULL, "test.webm")<br></div><div><br></div><div>I always got the right codec: WebM with VP8 video and Vorbis audio.</div><div><br></div><div>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><br></div><div>avcodec_open2()<br></div><div><br></div><div>with some text like: "Invalid argument" (when seen with av_strerror() function ).</div><div><br></div><div>I just want to use VP8/Vorbis; any ideas how I can force avformat_alloc_output_context2() to use this?</div><div><br></div><div>Thanks,</div></div>
</blockquote></div><br></div>