mpv-player / mpv-player/mpv

Audio conversion produce redundant audio samples

Open
#8,862 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Important Information

Provide following Information:

  • mpv version: 0.33.1 / latest trunk
  • Platform and Version: win10 / mac OS / Arch Linux
Reproduction steps

mpv "C:\Windows\Media\Windows Logon Sound.wav" -o=mpv.flac
ffmpeg -i "C:\Windows\Media\Windows Logon Sound.wav" ffmpeg.flac

Both the original wav file and ffmpeg.flac contain 39342 samples, while mpv.flac contains 41472 samples.
I have tried with different builds on different OS, both of them produce same result

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

Start by reproducing the two conversion commands from the issue on a supported platform and compare the source, ffmpeg.flac, and mpv.flac sample counts. Investigate mpv's audio conversion path and verify that the completed fix preserves the original 39342 samples, matching ffmpeg's output.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.