mpv hangs with certain (unusual) FLAC files
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
- mpv version: mpv-x86_64-20211031-git-4a80de9
- Platform and Version: Windows 10
- Source of the mpv binary: https://sourceforge.net/projects/mpv-player-windows/
Reproduction steps
- start mpv
- load the problematic files (file 54 and/or file 55 of the testbench)
Expected behavior
mpv plays the files
Actual behavior
mpv hangs and has to be force-closed
Sample files
The files are part of the "FLAC decoder testbench": https://wiki.hydrogenaud.io/index.php?title=FLAC_decoder_testbench
The problematic files are "54 - 1000x repeating VORBISCOMMENT.flac" and "55 - file 48-53 combined.flac".
The hanging can be avoided by using title=${filename} in the config, but even then mpv takes a long time before starting to play file 55.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hang with files 54 and 55 from the FLAC decoder testbench, then compare behavior with title=${filename} in the configuration. Trace the playback path for these files and verify that both begin playback without requiring a force-close or an excessive delay.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100