Skip to content
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

KIJK.nl not working... #4116

Closed
MatrixView opened this issue Nov 5, 2014 · 7 comments
Closed

KIJK.nl not working... #4116

MatrixView opened this issue Nov 5, 2014 · 7 comments

Comments

@MatrixView
Copy link

@MatrixView MatrixView commented Nov 5, 2014

youtube-dl http://www.kijk.nl/sbs6/leermijvrouwenkennen/videos/jqMiXKAYan2S/aflevering-1

[generic] aflevering-1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] aflevering-1: Downloading webpage
[generic] aflevering-1: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: KIJK - Leer mij vrouwen kennen
[generic] playlist KIJK - Leer mij vrouwen kennen: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[Brightcove] 3866516442001: Downloading webpage
[Brightcove] 3866516442001: Extracting information
[download] Destination: Leer mij vrouwen kennen - Aflevering 1-3866516442001.flv

ERROR: m3u8 download detected but ffmpeg or avconv could not be found. Please install one.

kijk.nl (brightcove player) was recently added, but unfortunately doesn't work for me. I'm running the latest version on Win7.

[Request] Also, if it's possible to add the option to download a progressive single file videostream for that site, I would greatly appreciate it.

Thx a bunch!

@iggyvolz
Copy link

@iggyvolz iggyvolz commented Nov 5, 2014

The solution is in the question. Install ffmpeg or avconv.

If you have homebrew installed, you can run brew install ffmpeg or brew install libav. If not, you can install ffmpeg right from their website (https://www.ffmpeg.org/download.html)

@rg3 please close.

@MatrixView
Copy link
Author

@MatrixView MatrixView commented Nov 5, 2014

So sorry, I thought ffmpeg was baked/compiled in the youtube-dl.exe...
It works now (gives an .flv file), but it's slower than other sites I use where an mp4 is output.

Thx!!!

@naglis naglis closed this Nov 5, 2014
@Reino17
Copy link

@Reino17 Reino17 commented Nov 5, 2014

MatrixView, that flv-file will have a resolution of 320x180. Instead, use ffmpeg with the following command for the highest quality videostream:
ffmpeg.exe -i http://l3c.cdn.sbsnet.nl/ra/01/3023772f9f1281ab45cce7dee470ca39b8ab23/hls/r8/sbs6_leermijvrouwenkennen_S2014E01_141030111501302377-hls-1885.m3u8 -c copy -bsf:a aac_adtstoasc "Leer mij vrouwen kennen (29102014).mp4"

@MatrixView
Copy link
Author

@MatrixView MatrixView commented Nov 6, 2014

Thx Corone17, I'm not familiar with ffmpeg, but it seems you are feeding the real HQ-stream url (provided by youtube-dl???) to ffmpeg and have it recode/mux the audio and output it to a better filename...?

If the url is indeed provided by youtube-dl, how do you get this? And isn't it necessary to download it immediately after getting the url because of a time-restrained key in the url (like on NPO)?

Thanx!

@naglis
Copy link
Collaborator

@naglis naglis commented Nov 6, 2014

@MatrixView, different m3u8 formats should be extracted in the next version of youtube-dl.

@Reino17
Copy link

@Reino17 Reino17 commented Nov 6, 2014

MatrixView, the SBS6 broadcast in this case is a so-called adaptive videostream, meaning the entire broadcast consists of a lot of small videoclips (each ±8sec long), rather than 1 single videostream. All the small videoclips make up the entire broadcast, lined up in a m3u8-playlist. If you watch the video in your browser, it's a lot easier this way to quickly change the quality if your computer or internet connection so desires.
If you want to download an adaptive videostream, you have to glue all these small videoclips back together again. That's where FFmpeg comes in.

youtube-dl.exe -g http://www.kijk.nl/sbs6/leermijvrouwenkennen/videos/jqMiXKAYan2S/aflevering-1
http://l3c.cdn.sbsnet.nl/ra/01/3023772f9f1281ab45cce7dee470ca39b8ab23/hls/sbs6_leermijvrouwenkennen_
S2014E01_141030111909302377-hls-main.m3u8

youtube-dl [2014.11.04] returns the url to the 'manifest-playlist'. Copy-paste the url in your browser and open with notepad. There you can see all the available adaptive videostreams, including the relative videostream-url.
For the 'manifest-playlist' youtube-dl returned:

ht tp://l3c.cdn.sbsnet.nl/ra/01/3023772f9f1281ab45cce7dee470ca39b8ab23/hls/sbs6_leermijvrouwenkennen_S2014E01_141030111909302377-hls-main.m3u8

Then the url for the 868x488 videostream will be:

ht tp://l3c.cdn.sbsnet.nl/ra/01/3023772f9f1281ab45cce7dee470ca39b8ab23/hls/r8/sbs6_leermijvrouwenkennen_S2014E01_141030111501302377-hls-1885.m3u8

To watch this show it's not absolutely necessary to download first. With Media Player Classic - Home Cinema for instance you can open the m3u8-playlist directly, because MPC-HC uses LAV Filters, which is based on FFmpeg.

@MatrixView
Copy link
Author

@MatrixView MatrixView commented Nov 17, 2014

thx Corone17!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.