我正在尝试在 FFMPEG 中播放受 Adobe Access DRM 保护的文件。以下是我正在尝试播放的文件类型的示例:http://drmtest2.adobe.com/Content/FAXS4/Anonymous_REMOTE/sample.mp4.m3u8
该文件在 Adobe 的 DRM 测试播放器中完美运行(如预期的那样)(http://drmtest2.adobe.com:8080/AccessPlayer/player.html),但在 ffmpeg 中却不行。以下是日志:
ffmpeg -protocol_whitelist "file,http,https,tcp,tls,crypto" -i http://drmtest2.adobe.com/Content/FAXS4/Anonymous_REMOTE/sample.mp4.m3u8 -c copy output.ts
ffmpeg version N-89508-g1f1207145a Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.2.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-amf --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
libavutil 56. 6.100 / 56. 6.100
libavcodec 58. 8.100 / 58. 8.100
libavformat 58. 3.100 / 58. 3.100
libavdevice 58. 0.100 / 58. 0.100
libavfilter 7. 7.100 / 7. 7.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
[hls,applehttp @ 0000024ae8b79e00] Opening 'https://drmtest2.adobe.com:8444/faxsks/adobe/key' for reading
[https @ 0000024ae8b988e0] HTTP error 500 Internal Server Error
Unable to open key file https://drmtest2.adobe.com:8444/faxsks/adobe/key
[hls,applehttp @ 0000024ae8b79e00] Opening 'crypto+http://drmtest2.adobe.com/Content/FAXS4/Anonymous_REMOTE/fileSequence0.ts' for reading
[hls,applehttp @ 0000024ae8b79e00] Error when loading first segment 'http://drmtest2.adobe.com/Content/FAXS4/Anonymous_REMOTE/fileSequence0.ts'
http://drmtest2.adobe.com/Content/FAXS4/Anonymous_REMOTE/sample.mp4.m3u8: Invalid data found when processing input
我强烈怀疑无法在 FFmpeg 中播放这些类型的文件,如果不行的话,有没有我可以使用的替代播放器(甚至是 Adobe 提供的)?