microsoft / media-foundation

Repository for Windows Media Foundation related tools and samples
MIT License
144 stars 31 forks source link

Windows Media Player fails to play Opus audio track of AV1 files with MP4 container #36

Closed vivienfr closed 2 years ago

vivienfr commented 2 years ago

Windows Media Player in Windows 11 fails to play Opus audio track of AV1 files when MP4 container (ISO base media file format) is used.

The Opus audio track is played when the container is MKV (Matroska).

The standard plans to use AV1 with MKV and AV1 (This is the format used by YouTube) : https://en.wikipedia.org/wiki/AV1#Supported_container_formats

PC used: Windows Media Player 12.0 + Windows 11 21H2 with AV1 video extension installed.

Sample MP4 video file: https://lafibre.info/videos/test/202008_fortnite_1984_24fps_1080p_av1.mp4

brbeec commented 2 years ago

I confirmed that the Windows MP4 media source currently doesn't support Opus audio streams. I filed an internal work item to track this issue - we'll look into adding support for Opus in MP4 in a future release. Thanks for the feedback!

vivienfr commented 2 years ago

Would it be possible to request at the same time that the AV1 video extension is installed by default under Windows 11 ?

Microsoft Edge is one of the last browsers that does not support AV1 by default.

Support for AVIF images (A modern image format based on the AV1 video format) would also be appreciated: https://caniuse.com/avif

brbeec commented 2 years ago

The AV1 Video Extension is currently not preinstalled for Windows 11 due to legal/licensing concerns. Hopefully this situation will be resolved at some point in the future.

megapro17 commented 6 months ago

I confirmed that the Windows MP4 media source currently doesn't support Opus audio streams. I filed an internal work item to track this issue - we'll look into adding support for Opus in MP4 in a future release. Thanks for the feedback!

Your team is pathetic and useless . It doesn't do anything, doesn't fix such serious bugs. I left a report about this bug in feedback hub 5 years ago, not only was the bug not fixed, but my report just disappeared. MP4 specification does support Opus but nothing works in this stupid system. This bug affects any application that uses windows api for video playing

regalialong commented 4 months ago

Ugh, I hate to necro this but trying to stay respectful, WMF issues like this have seriously taken a few years off my life.

Having Opus work in the MP4 container would be very much appreciated as a generic alternative to AAC. And I'd personally like to see AV1 be shipped by default similar to VP9 for efficient video.

Is anybody over at MS still looking into the two? :)

brbeec commented 4 months ago

The AV1 Video Extension will come preinstalled with the vNext version of Windows 11 (24H2).

Unfortunately supporting Opus in MP4 is still on the backlog (osgvsowi/40692886). Adding @kumraj and @DavidS-msft for visibility on this feature request.