-
-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: IINA Player for Mac OS #480
Comments
IINA currently doesn't support command line parameters, which makes it unusable together with Streamlink/Livestreamer: streamlink -v -p /Applications/IINA.app/Contents/MacOS/IINA twitch.tv/CHANNEL best
They are bundling youtube-dl with it, that's why... |
Thx for the reply. IINA is still in development and I suppose they will add command line parameters support, so it is still a good idea to watch for this project |
It is indeed possible to use streamlink with iina, using the --player-external-http flag and then choosing "Open URL" in IINA. It should be possible to implement URLs from command line arguments, I am going to look into that, but it will take a while as I have not looked into the source yet. |
since iina and mpv can stream from twitch directly, is there a chance we can get an option to use them with out streamlink in the middle? |
As of version 0.0.15 iina does support command line arguments, see iina/iina#58 It should now be possible to add support for iina. |
Thanks for letting me know, @SxDx According to iina/iina#1181, the Streamlink Twitch GUI currently doesn't support player parameters and options for different kind of stream transport methods (called player input in the settings menu). This means that if I'd add a preset for IINA with a static QuickTime has a similar issue and requires certain Streamlink parameters to be set: Both issues can be fixed by making the transport method dependent on the selected player preset instead of being a global setting. However, this requires a rework of the settings models, the settings menu, the player presets, the streaming service and parameter generation logic. For now, you can just manually define a custom player path and custom parameters, which should work just fine if you adjust the params to your selected input method. Check the mpv documentation for all available parameters or see the mpv preset data here: |
So it seems that IINA supports stdin input now and streamlink supports player args. Why is it then that I still get this error? CLI output:
My streamlinkrc
|
@SheinH You should ask this on the streamlink issue tracker. I don't really know why this isn't working. This might be an issue with IINA itself and how Streamlink is piping the data into the freshly spawned player process. What's weird, is that this is working just fine: streamlink --stdout URL STREAM | iina --stdin Oh, and then there's also the argparser issue, where you need to put a space before the player args when using the CLI, but that's related to Streamlink. streamlink -p iina -a ' --stdin' URL STREAM |
It works when you use "HLS (passthough)" in |
Now streamlink has this args |
the last version of IINA wont accept old args anymore.. to work properly now you should try |
In settings I set it up like this: Video player: Normally |
This works for me however how do I set this up in the config so I only have to type in I've already tried it in a lot of ways but it always crashes the terminal whenever i put in stdin/stdout for some reason... Please show exactly how it should be :) E: I guess the problem is the pipe? how do I do that in config. |
Basically do exactly what I wrote in my answer, then it should work. If you're not using the GUI but config file for streamlink it would be
Of course if you have "iina" available in your PATH you can make the first line to read just |
This 100% works, thank you very much. |
it does work, but not as well as streamlink+MPV in linux. iina is several seconds behind on the stream, and seeking through the buffer is somewhat slower than on MPV+linux. --twitch-low-latency doesn't seem to have any effect. |
https://streamlink.github.io/cli/plugins/twitch.html#low-latency-streaming
|
I have a suggestion to add new Mac OS Player called IINA https://lhc70000.github.io/iina/
Actually it can open any stream even without streamlink - You can just open channel url
https://www.twitch.tv/*username*
and even twitch vods!https://www.twitch.tv/videos/*vodnumber*
As IINA creator says it is based on MPV, but I can't use it even if MPV profile is checked in GUI settings.
I know that IINA is still in beta but it works well with no crashes at all. It will be nice to use it.
The text was updated successfully, but these errors were encountered: