Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Bo Berglund
On Sun, 26 Dec 2021 21:10:05 +0100, Moritz Barsnick wrote: >On Sun, Dec 26, 2021 at 08:26:34 +0100, Bo Berglund wrote: >> 1) I already have several of the tools mentioned (ytube-dl, yt-dlp, >> svtplay-dl >> etc), but they did not manage to download the real-time streams from SVT. > >I

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Moritz Barsnick
On Sun, Dec 26, 2021 at 21:10:05 +0100, Moritz Barsnick wrote: > I double-checked this. The svtplay-dl binary offered as a download > (version 4.10) seems to be broken. It has a date parsing error which > seems to be fixed in the git version (and the fix should be in 4.10, so > d'uh). Wrong - my

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Moritz Barsnick
On Sun, Dec 26, 2021 at 08:26:34 +0100, Bo Berglund wrote: > 1) I already have several of the tools mentioned (ytube-dl, yt-dlp, svtplay-dl > etc), but they did not manage to download the real-time streams from SVT. I double-checked this. The svtplay-dl binary offered as a download (version 4.10)

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-26 Thread Bo Berglund
On Sat, 25 Dec 2021 14:53:16 +0100, Moritz Barsnick wrote: >And this is what tools like youtube-dl (or its successor yt-dlp) and >svtplay-dl do: They know well how to parse these pages, and can extract >the URL for you (check their "-g" options). Thanks for the suggestion, but I got this on two

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Bo Berglund
On Sat, 25 Dec 2021 10:13:14 +0100, Bo Berglund wrote: >But yesterday I also wanted to download from the SVT_Play site and here the URL >extractor does not work... Thanks for all of your comments! I am now on a Christmas trip and will pursue your suggestions when I get back home later today.

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Robert Jeffares
Hi All, just browsing through after answering the question posed: "is there a way..." the short answer is no. not picking on you Moritz just hi-jacking There is no stream; no stream url; the broadcaster runs the player to order for each user; that creates a url which is not a url. You

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Robert Jeffares
Hi Bo, The SVT Play site has links to video on demand which are read by the embedded player not all available to me because of geoblocking. This is not live streaming so ffmpeg is not your tool of choice. The site cleverly creates the play link from data stored in an array of filenames

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Moritz Barsnick
On Sat, Dec 25, 2021 at 12:19:35 +0100, Reino Wijnsma wrote: > On 2021-12-25T10:13:14+0100, Bo Berglund wrote: > > But on the following pages it does not work at all: > > https://www.svtplay.se/kanaler/svt1?start=auto As I had mentioned in the thread previously, it's not given that the stream

Re: [FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Reino Wijnsma
On 2021-12-25T10:13:14+0100, Bo Berglund wrote: > CMD="curl -s \"${STREAMURL}\" | grep -o -e \"https://.\+m3u8\; | head -n 1" > M3U8=$(eval $CMD) > if [ -z $M3U8 ]; then > RESULT=1 > echo "Error, no response!" > else > RESULT=0 > eval "echo ${STREAMURL} ${M3U8} > ${URLFILE}" > echo

[FFmpeg-user] Getting m3u8 URL from SVTPlay channels?

2021-12-25 Thread Bo Berglund
See earlier thread named "Can ffmpeg record video from this kind of URL?" where I discussed extracting m3u8 stream URL from a webpage URL where the video would appear in the browser This m3u8 URL is then used in an ffmpeg command to download video content. The findings in that thread has