You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I understand how to use streamlink CLI to play music/media: $ streamlink <url> best -p cvlc.
I would like to achieve the same thing using the streamlink API instead. Reasoning: I cannot afford to spin another python subprocess to run streamlink process in my code. I have read the API guide at https://streamlink.github.io/api_guide.html, but not quite sure how to feed the stream data to a media player, be it a python library (simpleaudio, pyaudio, etc.) or vlc via its python binding (python-vlc).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I understand how to use streamlink CLI to play music/media:
$ streamlink <url> best -p cvlc.I would like to achieve the same thing using the streamlink API instead. Reasoning: I cannot afford to spin another python subprocess to run streamlink process in my code. I have read the API guide at https://streamlink.github.io/api_guide.html, but not quite sure how to feed the stream data to a media player, be it a python library (simpleaudio, pyaudio, etc.) or vlc via its python binding (python-vlc).
Any help is welcomed. Many thanks.
Beta Was this translation helpful? Give feedback.
All reactions