MPV to stay open while changing streams #3665
Replies: 2 comments 2 replies
-
This is not how Streamlink is designed and you can't just "switch streams". It'll always launch a new player process while using the default stream transport options. You'll have to launch mpv separately, create a custom named pipe, use it as player input and let the different Streamlink processes write to it one after another. Or create multiple named pipes and create a playlist with each of them as a new entry. |
Beta Was this translation helpful? Give feedback.
-
I created an application where I had FFMPEG piped directly to mpv.exe. the problem was that the mpv output window did not showup (the process was running and was accepting the pipe stream, since the mpv process memory size was changing as I piped buffer contents to it). When I tried the same thing with VLC, the output window showed properly and the video buffers streamed properly. I really like mpv and would rather use it over VLC (due to intermittent horizontal pixel jitter in VLC). Do you have any ideas? I'm currently trying to create an application using mpv.net to see if it works better, since it has a built in streamer. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to keep the MPV output window open, while switching streams?
The
--idle=yes
command on the command line did not work, nor did theidle=yes
in the mpv.conf file.I added this as an issue over on MPV, they mentioned to use mpv.com, which didn't work either. In contrast, VLC stays open.
I'm hoping that there might be some tricks in Streamlink that might make this doable.
Beta Was this translation helpful? Give feedback.
All reactions