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

Plus7 MPD/m3u8 #11636

Closed
RedPenguin2 opened this issue Jan 8, 2017 · 3 comments
Closed

Plus7 MPD/m3u8 #11636

RedPenguin2 opened this issue Jan 8, 2017 · 3 comments

Comments

@RedPenguin2
Copy link

@RedPenguin2 RedPenguin2 commented Jan 8, 2017

  • [ X] I've verified and I assure that I'm running youtube-dl 2017.01.05

  • [ X] At least skimmed through README and most notably FAQ and BUGS sections

  • [ X] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • [ X] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

youtube-dl -v https://au.tv.yahoo.com/plus7/what-went-down/-/watch/33412628/what-went-down-tue-13-dec-season-1-episode-42/
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://au.tv.yahoo.com/plus7/what-went-down/-/watch/33412628/what-went-down-tue-13-dec-season-1-episode-42/']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.10.25
[debug] Python version 3.4.4 - Windows-10-10.0.14393
[debug] exe versions: ffmpeg N-82966-g6993bb4, ffprobe N-78313-g6632802, rtmpdump 2.4
[debug] Proxy map: {}
[Yahoo] what-went-down-tue-13-dec-season-1-episode: Downloading webpage
[brightcove:legacy] ref:33412628: Downloading webpage
[brightcove:legacy] ref:33412628: Extracting information
[debug] Invoking downloader on 'https://yahoo7p-a.akamaihd.net/2376984108001/201612/2295/5246884126001/2376984108001_5246884126001_5235518335001.m3u8'
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: What Went Down - Tue 13 Dec, season 1 episode 42-5235518335001.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
' -i https://yahoo7p-a.akamaihd.net/2376984108001/201612/2295/5246884126001/2376984108001_5246884126001_5235518335001.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:What Went Down - Tue 13 Dec, season 1 episode 42-5235518335001.mp4.part'
ffmpeg version N-82966-g6993bb4 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 70.100 / 57. 70.100
libavformat 57. 61.100 / 57. 61.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[hls,applehttp @ 00000000025324a0] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 00000000025324a0] Failed to open segment of playlist 0
[hls,applehttp @ 00000000025324a0] SAMPLE-AES encryption is not supported yet

Plus7 in Australia has it now that you cannot use the m3u8 file.

After noticing how the Kodi 7Plus addon does it, YouTube-DL I think could implement it so easily.

For the following video:

https://au.tv.yahoo.com/plus7/what-went-down/-/watch/33366365/what-went-down-mon-12-dec-season-1-episode-40/#page1

Plus7 in Kodi first goes to:

https://edge.api.brightcove.com/playback/v1/accounts/2376984108001/videos/ref:33642615

This seems to be what YouTube-DL is already doing but Kodi then grabs the MPD link vs the m3u8.

It then goes to the mpd at:

https://yahoo7pdash-a.akamaihd.net/2376984108001/2376984108001_5258841828001_5258816577001.mpd

It then goes to:

https://wvlic.brightcove.com/proxy/5228905847001 for the widevine license.

Then it just combined the two at once and plays.

@ringofyre
Copy link

@ringofyre ringofyre commented Jan 31, 2017

Can confirm.

PS D:\VIDEOS> .\youtube-dl.exe -v https://au.tv.yahoo.com/plus7/my-kitchen-rules/-/watch/34292085/my-kitchen-rules-mon-3
0-jan-season-8-episode-1/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://au.tv.yahoo.com/plus7/my-kitchen-rules/-/watch/34292085/my-kitchen-rules-mon-
30-jan-season-8-episode-1/']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.01.24
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-82833-gedb4f5d, ffprobe N-82833-gedb4f5d, rtmpdump 2.3
[debug] Proxy map: {}
[Yahoo] my-kitchen-rules-mon-30-jan-season-8-episode: Downloading webpage
[brightcove:legacy] ref:34292085: Downloading webpage
[brightcove:legacy] ref:34292085: Extracting information
[debug] Invoking downloader on 'https://yahoo7p-a.akamaihd.net/2376984108001/201701/449/5301637041001/2376984108001_5301
637041001_5301608870001.m3u8'
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: My Kitchen Rules - Mon 30 Jan, season 8 episode 1-5301608870001.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Fir
efox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
' -i https://yahoo7p-a.akamaihd.net/2376984108001/201701/449/5301637041001/2376984108001_5301637041001_5301608870001.m3u
8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:My Kitchen Rules - Mon 30 Jan, season 8 episode 1-5301608870001.mp4.part'
ffmpeg version N-82833-gedb4f5d Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --ena
ble-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-
libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enab
le-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-li
bopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspe
ex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzi
mg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 43.100 / 55. 43.100
libavcodec 57. 67.100 / 57. 67.100
libavformat 57. 59.100 / 57. 59.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 68.100 / 6. 68.100
libswscale 4. 3.101 / 4. 3.101
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100
[hls,applehttp @ 000000000033a9e0] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 000000000033a9e0] Failed to open segment of playlist 0

ERROR: ffmpeg exited with code 1
File "main.py", line 19, in
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl_init_.py", line 444, i
n main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl_init_.py", line 434, i
n real_main
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6
\build\youtube_dl\YoutubeDL.py", line 1791,
in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 705,
in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 758,
in process_ie_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 705,
in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 751,
in process_ie_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 1435,
in process_video_result
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 1699,
in process_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 1641,
in dl
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\downloader\common.py", li
ne 353, in download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\downloader\hls.py", line
77, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\downloader\external.py",
line 43, in real_download
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\downloader\common.py", li
ne 162, in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 568,
in report_error
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp13s41y6_\build\youtube_dl\YoutubeDL.py", line 530,
in trouble

@WolfganP
Copy link

@WolfganP WolfganP commented Feb 26, 2017

It happens to me as well (ie https://au.tv.yahoo.com/my-kitchen-rules/video/watch/34496541/my-kitchen-rules-sun-26-feb-season-8-episode-16/#page1 ) but the weird thing is that this error doesn't show always.

Sometimes the episode downloads without a hitch; sometimes -F shows only 3 hls formats available (like the previous link) and sometimes many more (hls and http; ie previous episode https://au.tv.yahoo.com/plus7/my-kitchen-rules/-/watch/34469498/my-kitchen-rules-wed-22-feb-season-8-episode-15/#page1 ).

It doesn't seem to be a geo-restriction issue. Maybe Plus7 is changing the page during the day and relaxing the encryption?

@voltagex
Copy link

@voltagex voltagex commented Jul 1, 2017

https://codeload.github.com/glennguy/script.module.drmhelper/zip/master seems to have a way around this.

Edit: https://github.com/selsta/hlsdl is probably more useful but currently segfaults on my machine.

@remitamine remitamine closed this Oct 30, 2019
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
5 participants
You can’t perform that action at this time.