[FFmpeg-user] Can ffmpeg record video from this kind of URL?

Rob Hallam ffmpeg at roberthallam.com
Sat Mar 12 00:24:56 EET 2022

On Fri, 11 Mar 2022 at 17:25, Bo Berglund <bo.berglund at gmail.com> wrote:

> And using F12 to show the streaming data gives me the URL:
> https://hbzpjnctrztwpucm.wzcdn134.net:8443/hls/cshr1ujg6u-32171144940.ts
> But that is not an m3u8 URL I can use with ffmpeg...
> I tried using it as an input stream with the.ts ending but no joy...

It gives me a '403 Forbidden'. It might need a valid referer, headers,
cookie, IP address, something else, or even a combination.

Blithely chucking URLs at ffmpeg as input and hoping to get  output is
almost certainly not the best way of going about this. Might I again
suggest not reinventing the wheel? You could reach out to folks who
are like-minded: interested in saving potentially ephemeral video
which may be important. You can investigate options, but chatting to
the folks behind yt-dlp [1] or the archiveteam [2] might be places to

Good luck.


[1]: https://github.com/yt-dlp/yt-dlp - their discord is listed on
their GitHub page
[2]:https://wiki.archiveteam.org/index.php/Main_Page - worth having a
read of their wiki

More information about the ffmpeg-user mailing list