[Libav-user] avformat_alloc_output_context2 with WEBM defaults to VP9/Opus now - need to change
black copper
blackcopper1 at gmail.com
Wed Oct 7 09:12:44 CEST 2015
I posted a question yesterday; posting again as reminder - maybe someone
has a quick solution:
Hi,
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.
As with previous build, when I called avformat_alloc_output_context2()
function with something like:
avformat_alloc_output_context2(&ocVid, NULL, NULL, "test.webm")
I always got the right codec: WebM with VP8 video and Vorbis audio.
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:
avcodec_open2()
with some text like: "Invalid argument" (when seen with av_strerror()
function ).
I just want to use VP8/Vorbis; any ideas how I can
force avformat_alloc_output_context2() to use this?
Thanks,
On Tue, Oct 6, 2015 at 5:42 PM, black copper <blackcopper1 at gmail.com> wrote:
> Hi,
>
> 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.
>
> As with previous build, when I called avformat_alloc_output_context2()
> function with something like:
>
> avformat_alloc_output_context2(&ocVid, NULL, NULL, "test.webm")
>
> I always got the right codec: WebM with VP8 video and Vorbis audio.
>
> 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:
>
> avcodec_open2()
>
> with some text like: "Invalid argument" (when seen with av_strerror()
> function ).
>
> I just want to use VP8/Vorbis; any ideas how I can
> force avformat_alloc_output_context2() to use this?
>
> Thanks,
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20151007/ca0d2049/attachment.html>
More information about the Libav-user
mailing list