streamlink

According to ChatGPT


what is streamlink

Streamlink is a command-line program that lets you watch online video streams in your own media player (like mpv or VLC) instead of a web browser.

ChatGPT seems to think there is such a pkg, but I can't find it.

Anyone heard of it?
 
According to ChatGPT


what is streamlink

Streamlink is a command-line program that lets you watch online video streams in your own media player (like mpv or VLC) instead of a web browser.

ChatGPT seems to think there is such a pkg, but I can't find it.

Anyone heard of it?

This original reply was accidentally left blank and can be deleted. Apologies.
 
According to ChatGPT


what is streamlink

Streamlink is a command-line program that lets you watch online video streams in your own media player (like mpv or VLC) instead of a web browser.

ChatGPT seems to think there is such a pkg, but I can't find it.

Anyone heard of it?

The current pkg version is py311-streamlink, which is quite a bit out of date, but you can (as I do) use pip to install/update it.

HTH.

First install pip:

Code:
# pkg install py311-pip

To install streamlink:

Code:
pip install  --user git+https://github.com/streamlink/streamlink.git

and to update:

Code:
pip install --upgrade --user git+https://github.com/streamlink/streamlink.git

or (if needed):

Code:
pip install --upgrade --force-reinstall --user git+https://github.com/streamlink/streamlink.git
 
And an example of one of the scripts I use:

Code:
#!/usr/bin/env bash
rm -rv .cache/streamlink
killall streamlink
killall mpv
/home/paul/.local/bin/streamlink --config $HOME/.config/streamlink/config.filmon --player-continuous-http -O $1 worst | ffmpeg -re -i - -c copy -f mpegts - | cvlc --volume=10 --http-reconnect -- -
exit 0

NB - you don't necessarily need to use ffmpeg as an intermediate pipe (just something I was messing around with for a particular use case). Just pipe the streamlink output directly to your player of choice.
 
And an example of one of the scripts I use:

Code:
#!/usr/bin/env bash
rm -rv .cache/streamlink
killall streamlink
killall mpv
/home/paul/.local/bin/streamlink --config $HOME/.config/streamlink/config.filmon --player-continuous-http -O $1 worst | ffmpeg -re -i - -c copy -f mpegts - | cvlc --volume=10 --http-reconnect -- -
exit 0

NB - you don't necessarily need to use ffmpeg as an intermediate pipe (just something I was messing around with for a particular use case). Just pipe the streamlink output directly to your player of choice.

For example:

Code:
#!/usr/bin/env bash
rm -rv .cache/streamlink
killall -9 streamlink
killall -9 vlc
killall -9 python
$HOME/.local/bin/streamlink --ffmpeg-fout "mpegts" --ffmpeg-copyts --player-continuous-http -O $1 worst | cvlc --http-reconnect -- -
exit 0
 
Back
Top