chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 582 forks source link

nrk.no, no streams found #1331

Open BeMaXa opened 8 years ago

BeMaXa commented 8 years ago

There seems to some problems with live channels from nrk.no.

[cli][info] Found matching plugin nrk for URL https://tv.nrk.no/direkte/nrk1 error: No streams found on this URL: https://tv.nrk.no/direkte/nrk1

ghost commented 8 years ago
livestreamer "hlsvariant://https://nrk1us-f.akamaihd.net/i/nrk1us_0@102847/master.m3u8" best
[cli][info] Found matching plugin stream for URL hlsvariant://https://nrk1us-f.akamaihd.net/i/nrk1us_0@102847/master.m3u8
[cli][info] Available streams: 64k (worst), 180p, 270p, 360p, 540p, 720p (best)
[cli][info] Opening stream: 720p (hls)
Video: MPEG4 Video (H264) 1280x720 25fps [V: h264 high L3.1, yuv420p, 1280x720]
Audio: AAC 48000Hz stereo 109kbps [A: aac he-aac, 48000 Hz, stereo, 109 kb/s]
livestreamer "hlsvariant://https://nrk1us-f.akamaihd.net/i/nrk1us_0@102847/master.m3u8 name_key=bitrate" best
[cli][info] Found matching plugin stream for URL hlsvariant://https://nrk1us-f.akamaihd.net/i/nrk1us_0@102847/master.m3u8 name_key=bitrate
[cli][info] Available streams: 64k (worst), 164k, 264k, 464k, 928k, 1428k, 1928k, 2728k, 3528k (best)
[cli][info] Opening stream: 3528k (hls)
Video: MPEG4 Video (H264) 1280x720 25fps [V: h264 high L3.1, yuv420p, 1280x720]
Audio: AAC 48000Hz stereo 130kbps [A: aac he-aac, 48000 Hz, stereo, 130 kb/s]
https://gist.github.com/0880/657e508b52ff50ccf8269412287dd5e5
torbjorntorbjorn commented 8 years ago

Works for me, thank you.

@0880, would it be possible for you to document how to find these URLs ? I've tried using Chrome Developer Tools to figure out where to connect, but I've not been successful. This is a new area for me, and I would be grateful for a few pointers.

sigurdsa commented 8 years ago

@torbjorntorbjorn If you check the console while streaming from the site you will see the URL for the stream.