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

Anatoly anatoly at kazanfieldhockey.ru
Mon Aug 30 22:56:49 EEST 2021


On Mon, 30 Aug 2021 08:20:38 +0200
Bo Berglund <bo.berglund at gmail.com> wrote:

> On Sun, 29 Aug 2021 17:41:49 +0200, Reino Wijnsma
> <rwijnsma at xs4all.nl> wrote:
> 
> >From where I am I don't think I'm allowed to access the stream.  
> 
> Yes, it seems like you are only allowed to *view* the video through
> your browser embedded into the full page...
>
You just need to set "Referer" header in your http request to url of
page that embeds that video.
ffmpeg -referer "https://www.livenewsmag.com/msnbc-news-live-stream" -i
"https://1420543146.rsc.cdn77.org/J2SMCND-re6j5PPYbi2Hiw==,1630371979/LS-ATL-54548-10/index.m3u8"
-c copy msnbc-rec-1.mp4



More information about the ffmpeg-user mailing list