On Thu, Jan 26, 2023 at 20:43:53 +0530, Nitin Singh wrote: > I am using ffmpeg 5.1. I want to save encrypted aes-128 hls in which > the decrypting key link is in m3u8 stream link. I am able to pass > headers & get m3u8 file content using : > > ffmpeg -headers "Hvar1: hvalue1" -headers "Hvar2: hvalue2" -headers > "Hvar3: hvalue3" -i "http://media.link/mediafile.m3u8" -t 30 -c copy > output.mkv -loglevel debug [...] > But the problem is with getting remote key file i.e. > https://media.key.link/live/media-10.key as it needs the same headers > to get fetched and those same headers are not getting passed to remote > key file url and I get this error :
I believe that's a bug or shortcoming of ffmpeg, as described in this ticket: https://trac.ffmpeg.org/ticket/7695 When searching for this, I didn't realize I had commented on this almost exactly four years ago. ;-) I probably had the same issue. Moritz _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
