Opened 8 years ago
Last modified 8 years ago
#6215 new task
Fairplay Encryption for HLS m3u8 feeds not supported
Reported by: | GreenFool | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | undetermined |
Version: | unspecified | Keywords: | HLS |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug: Fairplay Encryption for HLS m3u8 feeds not supported.
How to reproduce:
ffmpeg -i "https://hlstvnz-a.akamaihd.net/963482467001/963482467001_5337729382001_5337696518001.m3u8?pubId=963482467001&videoId=5337696518001" -c copy sensingmurder.mkv ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers built with Apple LLVM version 7.0.2 (clang-700.1.81) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.2.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-frei0r --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.1.2/include/openjpeg-2.1 --enable-nonfree --enable-vda libavutil 55. 34.100 / 55. 34.100 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.100 / 57. 56.100 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100
I have an XML file that I sniffed out using Chrome's Web Developer (Network tab) and found that a "Licence URL" that might help in decrypting the file. Wondering if further development with ffmpeg could include an option/flag to insert such a URL to obtain a decryption licence/key?
A sample of the XML file, pertaining to the protected HLS feed, is below.
{"type":"application/vnd.apple.mpegurl","src":"http://hlstvnz-a.akamaihd.net/963482467001/963482467001_5337729382001_5337696518001.m3u8?pubId=963482467001&videoId=5337696518001","key_systems":{"com.apple.fps.1_0":{"key_request_url":"https://fps.brightcove.com/v1/fairplay_session_playback"}},"asset_id":"5337729382001"}
Note:
See TracTickets
for help on using tickets.
Please test current FFmpeg git head and provide both the failing command line and the complete, uncut console output to make this a valid ticket,