Hey, I am not going to ask how to download AES 128 encrypted videos because I already know how to do that after checking multiple posts in video help forums.

My question is that I use the following command to download an encrypted AES 128 video:

hlsdl -K "65125DA49032A3B9AD74C6E9FDF02D98" -o "abc.ts" "https://d2a5xnk4s7n8a6.cloudfront.net/spees/w/o/5e356a710cf24531c92ac49f/v/608c2d510cf274502bebb091/u/62b17baa0cf2995efd8b74c3/t/aeade224671194a69668077a98310f36/p/assets/videos/5e356a710cf24531c92ac49f/2021/04/30/608c2d510cf274502bebb091/hls_1M_.m3u8"

How do I use this command in ffmpeg? Can someone modify it? I have the decryption key in the above command and the URL.

So that I can write a Python script to automate these downloads in Python.