[1] ffmpeg Documentation (9/30/2020, 4:23:40 PM, 10/1/2020, 8:01:33 AM) https://ffmpeg.org/ffmpeg.html
It seems that FFMPEG only sends the custom headers if the input m3u8 is accessed via http/s, not if it is a local file.
Google search: FFmpeg