streamlink: Stream quality shortcuts unavailable?
Hello
I am currently testing v0.0.2 of the python script on Windows Vista SP2 x86, using the “portable” windows package kindly offered by @RosadinTV
In livestreamer, I could issue:
livestreamer -l debug --http-proxy "proxyhost:80" -o "itv1-1800k.flv" "http://www.itv.com/hub/itv" best
and it would work. In fact, issuing:
livestreamer -l debug --http-proxy "proxyhost:80" -o "itv1-1800k.flv" "http://www.itv.com/hub/itv"
would inform me that:
[cli][info] Found matching plugin itvhub for URL http://www.itv.com/hub/itv
Available streams: 1200k (worst), 1500k, 1800k (best)
indicating the worst and best stream quality variants. With streamlink, I only get available bitrates:
[cli][info] Found matching plugin itvplayer for URL http://www.itv.com/hub/itv
Available streams: 1200, 1500, 1800
so specifying “best” beforehand in my command doesn’t work…
[cli][info] Found matching plugin itvplayer for URL http://www.itv.com/hub/itv
error: The specified stream(s) 'best' could not be found.
Available streams: 1500, 1200, 1800
This means I have to run streamlink twice: Once to be informed of available bitrates, a second time specifying the highest bitrate (indicated by first run):
streamlink -l debug --http-proxy "proxyhost:80" -o "itv1-1800k.flv" "http://www.itv.com/hub/itv" 1800
Am I getting something wrong here?
Thanks for your efforts in resurrecting what appears to be a staled project!
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17 (8 by maintainers)
Commits related to this issue
- fix stream quality naming issue with py2 vs. py3, fixing #89 py2 and py3 handle integer division differently, in py2 1800000 / 1000 would be 1800, however in py3 it would be 1800.0. This means that f... — committed to beardypig/streamlink by beardypig 8 years ago
- fix stream quality naming issue with py2 vs. py3, fixing #89 (#96) py2 and py3 handle integer division differently, in py2 1800000 / 1000 would be 1800, however in py3 it would be 1800.0. This means... — committed to streamlink/streamlink by beardypig 8 years ago
Full disclosure here, I joined this project because I’m a fairly heavy livestreamer user and I was pissed that it went unmaintained. So I worked on the things required to make it work again for my needs. I hate Windows with a passion and I would really like to avoid installing development tools on it. I’m only using it for gaming/work and watching streams while gaming/working. So the NSIS installer is exactly what fits my needs. A small & self contained package that just works and can be built from linux.
Now, obviously, there are different needs out there. If you want to build the package as you like, I can support you in a reasonable manner, but I won’t do the entire work required to do it. I already spent a day trying to get various distribution tools to work and none have. I’m not sure if this project is a really odd case for distribution, but it’s surprisingly hard to deal with. I couldn’t even get the old system to work because cx_freeze/bbfreeze cannot be installed anymore.
If @RosadinTV wants to make their process reproducable/scriptable, or someone else wants to contribute a distribution script, I’ll happily review it and test it.