[FFmpeg-trac] #5375(avformat:open): Can't download a m3u playlist stream that uses AES encryption

FFmpeg trac at avcodec.org
Fri Oct 29 19:11:15 EEST 2021


#5375: Can't download a m3u playlist stream that uses AES encryption
-------------------------------------+-------------------------------------
             Reporter:  viv1d-       |                    Owner:  (none)
  shadows                            |
                 Type:  enhancement  |                   Status:  open
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  hls          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Balling):

 >However, I can't find the proper way to enable it.

 echo "0123456789ABCDEF" > keyfile
 dd if=keyfile bs=16 count=1 of=inputkey

 mediafilesegmenter --encrypt-key-file=myKey.bin --encrypt-key-
 url=http://127.0.0.1/keyOnly.bin --stream-encrypt --iso-fragmented
 bbb_sunflower_native_60fps_normal.mp4

 From a different terminal:

  ./ffmpeg -i http://127.0.0.1/prog_index.m3u8
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/5375#comment:19>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list