[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

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

However both commands results in this after the usual ffmpeg (or maybe
youtube-dl) output:
[https @ 0x55f0277f11c0] HTTP error 403 Forbidden
Server returned 403 Forbidden (access denied)

Bo Berglund
Developer in Sweden

More information about the ffmpeg-user mailing list