Opened 3 years ago

Closed 11 months ago

#12696 closed enhancement (fixed)

MediaPlayer doesn't support VP9 and Opus codecs

Reported by: X512 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Audio & Video/Codecs Version: R1/Development
Keywords: webm VP9 Opus Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by korli)

This is hrev50152.

MediaPlayer shows "General system error" when trying to open webm video with VP9 video and Opus audio codecs. WebPositive plays this file, but with lags.

MediaPlayer writes following in Terminal:

[matroska,webm @ 0x18399cb8] Unknown entry 0x56AA
[matroska,webm @ 0x18399cb8] Unknown entry 0x56BB
[matroska,webm @ 0x18399cb8] Unknown/unsupported CodecID V_VP9.
[matroska,webm @ 0x18399cb8] Unknown/unsupported CodecID A_OPUS.
[matroska,webm @ 0x18399cb8] max_analyze_duration 5000000 reached at 5005000
[matroska,webm @ 0x18399cb8] decoding for stream 0 failed
[matroska,webm @ 0x18399cb8] Could not find codec parameters (Video: none, 1920x1080)
[matroska,webm @ 0x18399cb8] decoding for stream 1 failed
[matroska,webm @ 0x18399cb8] Could not find codec parameters (Audio: none, 48000 Hz, 2 channels)
Controller::SetTo: InitCheck failed

As I understand Haiku uses ffmpeg so enabling these codecs should be not difficult.

Change History (4)

comment:1 Changed 3 years ago by korli

Description: modified (diff)
Summary: MediaPlayer don't support VP9 and Opus codecsMediaPlayer doesn't support VP9 and Opus codecs
Type: bugenhancement

comment:2 Changed 3 years ago by pulkomandy

On x86_gcc2 builds, MediaPlayer is built with gcc2 and uses ffmpeg version 0.10, which is quite ancient. I don't know if it supports such formats. WebPositive uses ffmpeg 3.0 which is much better but doesn't work with gcc2. An option is compiling MediaPlayer with gcc4 to use the newer ffmpeg for it.

comment:3 Changed 11 months ago by waddlesplash

Confirmed that ​https://github.com/haikuports/haikuports/pull/2758 fixes this issue.

comment:4 Changed 11 months ago by waddlesplash

Resolution: fixed
Status: newclosed

Fixed in hrev52057.

Note: See TracTickets for help on using tickets.