mpv-player / mpv-player/mpv

Converting libavcodec frame to mpv frame failed (ambisonic)

Open
#13,735 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with a 4-channel WebM/Opus file using the ambisonic 1 channel layout and the ambisonic audio filter. Start from the repeated “Converting libavcodec frame to mpv frame failed” message; done means the audio plays without repeated conversion errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.