If audio muted in VLC, then mpv will have no sound, and can't un-mute within mpv
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.38.0-dirty Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on May 23 2024 10:30:57
libplacebo version: v6.338.2
FFmpeg version: n7.0.1
FFmpeg library versions:
libavutil 59.8.100
libavcodec 61.3.100
libavformat 61.1.100
libswscale 8.1.100
libavfilter 10.1.100
libswresample 5.1.100
Other Information
- Linux version: Arch Linux
- Kernel Version: 6.9.7-arch1-1-surface
- GPU Model: VGA compatible controller - Intel - Iris Graphics 540 [8086:1926] (rev 0a)
- Mesa/GPU Driver Version: Mesa 24.1.2-arch1.1
- Window Manager and Version: KWin 6.1.1.2-1 (KDE 6.1.1)
- Source mpv: Arch extra repo
- Introduced in version: unknown
Reproduction Steps
Have both mpv and VLC installed
Open a video file in VLC
Mute the video in VLC, i.e. hit m to use the keyboard shortcut for mute
Quit VLC without un-muting audio, i.e. hit Ctrl+q to use the keyboard shortcut for quit
Open any video file in mpv (does not matter if it is the same one opened in VLC or not)
mpv plays the video file but there is no sound
Expected Behavior
mpv plays video files with sound, or alternatively, mpv should be able to un-mute the sound
Actual Behavior
mpv plays video files but there is no sound, and it cannot un-mute the sound
Note:
I first noticed this issue in jellyfin-media-player because it uses mpv as its backend, and when trying to play any video in my library it did not have any sound.
While writing this issue report, I also noticed that if I dug a little in the system sound settings I could un-mute the sound for mpv (outside of mpv), however, I could not find a way to un-mute the sound from within mpv. mpv's mute and un-mute appears to work independently of whatever system VLC uses to mute the audio.
Also note that, other sounds on the system were working just fine the whole time, i.e. YouTube videos played fine with sound, and sound was heard when using the system's speaker test. So it isn't like the whole system was muted, just certain programs.
Log File
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
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 VLC mute-and-quit sequence, then open the attached output.txt and compare mpv's audio state with the system sound settings. Trace the audio initialization and mute handling involved in this scenario; done means mpv has sound after VLC exits muted or provides a working way to unmute from within mpv.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100