Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting libavcodec frame to mpv frame failed (ambisonic) #13735

Open
richardpl opened this issue Mar 20, 2024 · 1 comment
Open

Converting libavcodec frame to mpv frame failed (ambisonic) #13735

richardpl opened this issue Mar 20, 2024 · 1 comment

Comments

@richardpl
Copy link
Contributor

Important Information

Provide following Information:

  • mpv version

mpv v0.37.0-573-g23c988b3e1-dirty Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Mar 17 2024 19:32:18
libplacebo version: v6.338.0-58-g2385b367-dirty
FFmpeg version: N-114395-g657644492f
FFmpeg library versions:
libavutil 59.2.100
libavcodec 61.1.101
libavformat 61.0.100
libswscale 8.0.100
libavfilter 10.0.100
libswresample 5.0.100

  • Platform and Version

Linux & Librempeg

  • Source of the mpv binary

github, self compiled.

  • If known which version of mpv introduced the problem

not relevant, new feature in libavutil

  • GPU model, driver and version

not relevant, its an audio issue

  • Possible screenshot or video of visual glitches

not relevant, its an audio issue

Reproduction steps

Play any audio file (.webm/opus 4ch) with "ambisonic 1" channel layout.

Expected behavior

Audio is actually played.

Actual behavior

mpv input.webm -af ambisonic does not play audio, spams repeated red colored spam messages of same content over and over again.

Log file

Message with:
"Converting libavcodec frame to mpv frame failed."
repeated over and over again.

Sample files

Download any ambisonic/360 webm/opus from YT.

@kasper93
Copy link
Contributor

kasper93 commented Mar 20, 2024

Probably this uses custom channel layout? In which case it is indeed currently not supported and will fail on each frame map.

// TODO: handle custom layouts
return false;

Patches welcome if anyone wants to add support for this.

@sfan5 sfan5 changed the title Converting libavcodec frame to mpv frame failed Converting libavcodec frame to mpv frame failed (ambisonic) Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants