Quote:
Originally Posted by Yelloworanges
If you downloaded the full 76PgzzlSKfk_1080p.ts file, you can decrypt it with ffmpeg using a small edited m3u8 file as the input.
Copy
76PgzzlSKfk_1080p.ts
76PgzzlSKfk_1080p.m3u8
encryption2.key
into the same folder along with ffmpeg (if necessary). Then run ffmpeg command line:
Code:
ffmpeg -i "76PgzzlSKfk_1080p.m3u8" -vcodec copy -acodec copy -absf aac_adtstoasc "76PgzzlSKfk_1080p.mp4"
|
You're a wizard!
Alright so at first I did that and ffmpeg returned this:
Code:
ffmpeg -i "76PgzzlSKfk_1080p.m3u8" -vcodec copy -acodec copy -absf aac_adtstoasc "76PgzzlSKfk_1080p.mp4"
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 9.0.0 (clang-900.0.37)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.4 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
[hls,applehttp @ 0x7f8e39802600] Filename extension of 'encryption2.key' is not a common multimedia extension, blocked for security reasons.
If you wish to override this adjust allowed_extensions, you can set it to 'ALL' to allow all
Unable to open key file encryption2.key
[hls,applehttp @ 0x7f8e39802600] Opening 'crypto:76PgzzlSKfk_1080p.ts' for reading
[hls,applehttp @ 0x7f8e39802600] Error when loading first segment '76PgzzlSKfk_1080p.ts'
76PgzzlSKfk_1080p.m3u8: Invalid data found when processing input
So I allowed extensions using
Code:
-allowed_extensions ALL
and then it worked perfectly! Video is playable.
Since there's a few more episodes I need to download. I need to get the encryption key from each video to do that, right? Thanks!
And looking at your custom m3u8 file, it looks like the only change I need to is to change the filename in line 7 in my photo, correct?