I think ffmpeg as a library is far beyond my horizon. And as I said in reply #4, I hesitate to trust on ffmpeg.
Why ? and I really meant why. There is nothing wrong with ffmpeg and is a trustworthy tool (that is when compiling yourself or downloaded from a trustworthy source).
Let's do a rewind first...
When copying the streams with ffmpeg (e.g. no conversion at all)
URL1: 93.953.449 bytes
URL2: 2.214.927.005 bytes
URL3: 7.527.485 bytes
The first 2 URL's do not have any issue copying the stream but the 3th last one does.
[https @ 0x7f32a4062d00] HTTP error 403 Forbidden
[hls @ 0x55816ff06200] Failed to open segment 14 of playlist 0
[hls @ 0x55816ff06200] Segment 14 of playlist 0 failed too many times, skipping
If attempting that URL a second time:
[https @ 0x563518add340] HTTP error 403 Forbidden
[hls @ 0x563518a57200] parse_playlist error Server returned 403 Forbidden (access denied) [https://vod-ww.mdn.ors.at/cms-worldwide_episodes_nas/_definst_/nas/cms-worldwide_episodes/online/14220193_0005_Q6A.mp4/chunklist.m3u8]
[AVIOContext @ 0x563518adce40] Statistics: 126 bytes read, 0 seeks
https://apasfiis.sf.apa.at/ipad/cms-worldwide_episodes/14220193_0005_Q6A.mp4/playlist.m3u8: Server returned 403 Forbidden (access denied)
That tells me that you are not suppose to download that stream without proper authentication (that is, if you are ever suppose/allowed to download it at all).
There are solutions to that problem but people have been going to jail for that or their projects taken down by DMCA. You do have to understand what you are playing with as there are risks involved. Personally I do not judge one way or another.
So, I am going to mention a tool that can be used (you can invoke it from within Pascal code using TProcess for example) but you would have to decode it with rot47 and is named "JE\5=A" (without the quotes). Keen people already know what tool it is but it is the only tool I know of that is open source and reasonably reliable in downloading such URL's.