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

Bo Berglund bo.berglund at gmail.com
Thu Nov 4 09:54:40 EET 2021


On Thu, 4 Nov 2021 01:59:10 +0100, Reino Wijnsma <rwijnsma at xs4all.nl> wrote:

>On 2021-11-04T01:40:07+0100, Reino Wijnsma <rwijnsma at xs4all.nl> wrote:
>> $ ffmpeg -i "$(youtube-dl -g https://www.livenewsmag.com/msnbc-news-live-stream/)" -c copy [...] 
>
>That obviously must've been:
>$ ffmpeg -i "$(youtube-dl -g https://msnbcdailyshows.com/)" -c copy [...]
>

I assume you mean like this (replace [...] with actual file name):

ffmpeg -i "$(youtube-dl -g https://msnbcdailyshows.com/)" -t 60 -c copy
test35.mp4

or like this (since it is now possible to get a link to the video by
rightclicking the player on the page):

ffmpeg -i "$(youtube-dl -g https://ok.ru/video/2125507010206)" -t 60 -c copy
test35.mp4

However both commands results in this after the usual ffmpeg (or maybe
youtube-dl) output:
[https @ 0x55f0277f11c0] HTTP error 403 Forbidden
https://vsd79.mycdn.me/hls/1146644400798.m3u8/sig/2d23M3cZ2y0/expires/1636093952300/srcIp/158.123.113.142/clientType/0/srcAg/CHROME/mid/2125507010206/1146644400798_high/index.m3u8:
Server returned 403 Forbidden (access denied)


-- 
Bo Berglund
Developer in Sweden



More information about the ffmpeg-user mailing list