mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.04k stars 2.88k forks source link

mpv pauses the stream regularly when playing a Twitch stream using streamlink via the pipewire audio module #14237

Closed monarc99 closed 4 months ago

monarc99 commented 4 months ago

mpv Information

mpv v0.38.0-353-g021c5dedb1 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0 (v6.338.0-133-g9e1257c8)
FFmpeg version: N-115391-g63697d3350
FFmpeg library versions:
   libavutil       59.20.100
   libavcodec      61.5.104
   libavformat     61.3.104
   libswscale      8.2.100
   libavfilter     10.2.102
   libswresample   5.2.100

Other Information

Reproduction Steps

streamlink --player /usr/bin/mpv --player-args "--gpu-debug --log-file=logfile.txt --no-config" https://www.twitch.tv/nachicocom best

[ 131.358][d][ao/pipewire] Stream state changed: old_state=streaming state=paused error=(null) [ 131.553][v][cplayer] Still buffering (buffer went from 0% -> 4%) [0.042667s]. [ 131.553][v][cplayer] Still buffering (buffer went from 4% -> 6%) [0.064000s]. [ 131.553][v][cplayer] Still buffering (buffer went from 6% -> 10%) [0.106667s]. [ 131.553][v][cplayer] Still buffering (buffer went from 10% -> 12%) [0.128000s]. [ 131.599][v][cplayer] End buffering

Expected Behavior

mpv plays the Twitch stream without any problems.

Actual Behavior

mpv plays the Twitch stream, but the player is suddenly paused after a few seconds or minutes and does not continue playing by itself. By pressing the space bar it plays again, but then stops again at some point.

mpv before 3fc8929caf6ba4b89c849a8fcde76841f26d8584 work without problems.

Log File

logfile.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

ruihe774 commented 4 months ago

I'm looking into this.