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

anatoly at kazanfieldhockey.ru anatoly at kazanfieldhockey.ru
Wed Sep 1 16:30:00 EEST 2021

> Related question:
> -----------------
> How do I extract the proper m3u8 URL from the webpage in the best/safest
> way?
> Some of these pages display a scrolling long list of items when one
> presses the
> F12 function key in FireFox and it is not obvious to me what I should try.
> And there are also URL:s ending with .ts in that scrolling list, but these
> change all the time so they are probably just short sections of the video,
> right?
Right, you need m3u8.
F12->Network->Enter "m3u8" in the textbox above the list to filter out.
> Is there a command line call I can make to extract the m3u8 URL
> automatically so
> it can be used in a script only supplied the main page URL?
To get url of the first m3u8 from the page (this page actually has only one)
curl "https://www.livenewsmag.com/msnbc-news-live-stream/" | grep -o -e
"https://.\+m3u8" | head -n 1
> --
> Bo Berglund
> Developer in Sweden
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list