Re: [FFmpeg-user] Possible to speed up/down video while keeping audio pitch?

2024-03-25 Thread Bo Berglund
On Mon, 25 Mar 2024 07:04:37 +0100, Bo Berglund wrote: >I found the syntax as an example at > >http://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video > > >so I made a test. > >Note: Newsreader is doing the line wrap, it is on a single l

Re: [FFmpeg-user] Possible to speed up/down video while keeping audio pitch?

2024-03-25 Thread Bo Berglund
On Mon, 25 Mar 2024 01:47:27 +0100, Paul B Mahol wrote: >On Mon, Mar 25, 2024 at 12:54?AM Laine Lee wrote: > >> >> >> > On Mar 24, 2024, at 5:31?PM, Bo Berglund wrote: >> > >> > ?I know how to use ffmpeg to adjust the video/audio sync and that is a

[FFmpeg-user] Possible to speed up/down video while keeping audio pitch?

2024-03-24 Thread Bo Berglund
keeping audio recognizable (not Donald Duckie)? If so how is it done? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

[FFmpeg-user] Concat command for ffmpeg fails "Unsafe file name" - why?

2023-03-16 Thread Bo Berglund
/VideoSplitCombine/tmp-1.mp4' ./_filelist2_.txt: Operation not permitted What can be done about it? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-14 Thread Bo Berglund
On Tue, 11 Oct 2022 13:52:14 +0200, pehache wrote: >Le 08/10/2022 à 10:31, Bo Berglund a écrit : >> I have two mp4 videos both at 480p resolution, which I want to concat. >> They are together about 80 minutes long. >> >> When I do this using the common way with thi

Re: [FFmpeg-user] How to extract the video stream m3u8 URL in a script?

2022-10-14 Thread Bo Berglund
On Mon, 10 Oct 2022 14:00:48 +0100, Rob Hallam wrote: >On Mon, 10 Oct 2022 at 13:29, Bo Berglund wrote: >> I have tried in various places to get a solution to this problem without >> success >> so I try it here too: > >Haven't you asked this or something similar he

[FFmpeg-user] How to extract the video stream m3u8 URL in a script?

2022-10-10 Thread Bo Berglund
fresh URL. And it is of course an Ubuntu script I need... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-09 Thread Bo Berglund
iles and then concatenate these with re-encoding to mp4? If so can it be done in one connected command such that there are no intermediate files and possibly quicker processing? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-use

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-09 Thread Bo Berglund
On Sun, 09 Oct 2022 16:53:22 +0900, Masaru Nomiya wrote: >Hello, > >In the Message; > > Subject: Re: [FFmpeg-user] How to concat two videos with same size but > different source? > Message-ID : > Date & Time: Sun, 09 Oct 2022 08:48:33 +0200 > >[BB]

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-09 Thread Bo Berglund
4info" command on my Ubuntu server... And it does not exist in apt either... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to concat two videos with same size but different source?

2022-10-08 Thread Bo Berglund
e image but continues the audio behind the still of the last image of the first video. Question: - What is the difference between the above approach and this: ffmpeg -hide_banner -f concat -i video1.mp4 -i video2.mp4 output.mp4 And how can I get both videos (which play OK separa

[FFmpeg-user] How to concat two videos with same size but different source?

2022-10-08 Thread Bo Berglund
hey are downloaded videos from the Internet. What ffmpeg command can I use to concatenate these two files in a safe way? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-us

Re: [FFmpeg-user] (no subject)

2022-09-10 Thread Bo Berglund
On Fri, 9 Sep 2022 09:55:32 +0800, jie chen wrote: > >but some rtmp were stop > >The log is in the attachment STOP posting questions without a subject!!!!! -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-use

[FFmpeg-user] Command to extract and concatenate video sections in one step?

2022-08-19 Thread Bo Berglund
umentation about concatenation but I don't really understand it... TIA! -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email

Re: [FFmpeg-user] Hardening ffmpeg stream download?

2022-06-09 Thread Bo Berglund
On Thu, 9 Jun 2022 19:00:39 +, Carl Zwanzig wrote: >On 6/9/2022 10:25 AM, Bo Berglund wrote: >> Is there some way to let ffmpeg write the mpeg or ts stream to disk and then >> immediately feed it to itself as an input to create the mp4? > >The "keep it simple&quo

Re: [FFmpeg-user] Hardening ffmpeg stream download?

2022-06-09 Thread Bo Berglund
On Thu, 9 Jun 2022 16:26:44 +, Carl Zwanzig wrote: >On 6/9/2022 9:16 AM, Bo Berglund wrote: >> Or if it is impossible given the output file format, is there some other >> format >> that can be used to harden the download? > >mp4 files must be "fi

[FFmpeg-user] Hardening ffmpeg stream download?

2022-06-09 Thread Bo Berglund
Then at least if the main download stops the "raw" ts file would remain... Of course given that ts ia about 10x larger on disk than mp4 one has to manage this carefully to not fill up the drive.. -- Bo Berglund Developer in Sweden ___ ffmp

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Bo Berglund
ous: 81976537, current: 81940035; changing to 81976538. This may result in incorrect timestamps in the output file. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-u

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Bo Berglund
On Tue, 31 May 2022 13:15:02 +0200, Michael Koch wrote: >Am 31.05.2022 um 11:17 schrieb Bo Berglund: >> On Sun, 29 May 2022 13:17:55 +0200, Michael Koch >> >> wrote: >>>>> Using concat filter. >>>> That is exactly what I already know: cuttin

Re: [FFmpeg-user] Multiple parts of a video

2022-05-31 Thread Bo Berglund
eo that has some artifacts of the ads at the cut points and I hope that by doing it in a single operation these will not be present. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Pasting together different parts of a downloaded video

2022-05-05 Thread Bo Berglund
On Thu, 05 May 2022 00:22:44 +0200, Bo Berglund wrote: >On Wed, 4 May 2022 16:08:13 +0100, Rob Hallam wrote: > >>On Wed, 4 May 2022 at 08:27, Bo Berglund wrote: >>> CMD="ffmpeg -hide_banner ${MODE} -i \"${M3U8URL}\" -vf scale=w=-4:h=480 -c:v >>> li

Re: [FFmpeg-user] Pasting together different parts of a downloaded video

2022-05-04 Thread Bo Berglund
On Wed, 4 May 2022 16:08:13 +0100, Rob Hallam wrote: >On Wed, 4 May 2022 at 08:27, Bo Berglund wrote: >> I have a script that downloads a video live stream into a mp4 file while on >> the >> fly changing the format, basically re-encoding the video. >> It uses

[FFmpeg-user] Pasting together different parts of a downloaded video

2022-05-04 Thread Bo Berglund
by first cutting a video into the relevant arts and the concatenating these into an output. No issues then... Grateful for any suggestions on what I can do! -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffm

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-18 Thread Bo Berglund
-preset fast -crf 26 -c:a copy -t ${CAPTURETIME} ${TARGETFILE}" eval "$CMD" #Run the download -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-17 Thread Bo Berglund
y an automatic extractor like I have for other sites than this: http://www.freeintertv.com/view/id-2308 So far no luck in using curl or xidel or the like to find the currently active m3u8 URL for this site. -- Bo Berglund Developer in Sweden ___

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-16 Thread Bo Berglund
nually enter a new bigger value for the exp= item to see if it could be extended to 48 hours but it did not work... It returned an error when used with ffmpeg. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmp

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-14 Thread Bo Berglund
On Thu, 14 Apr 2022 10:26:56 +0200, Bo Berglund wrote: >Surprise! >All of these small downloads completed and if I test now it still works! >So I have expanded that test with a new set of at jobs for a couple of hours. > >It seems like I have found a "golden" URL by ch

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-14 Thread Bo Berglund
On Thu, 14 Apr 2022 10:26:56 +0200, Bo Berglund wrote: >Surprise! >All of these small downloads completed and if I test now it still works! >So I have expanded that test with a new set of at jobs for a couple of hours. > >It seems like I have found a "golden" URL by ch

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-14 Thread Bo Berglund
.com/view/id-2565;)//meta[@property="og:image"]/ > extract(@content,"([a-z_]+)\.jpg",1) > ), > > "ch":"http://www.freeintertv.com/externals/tv-russia/smotret-tv3-online;, >"html5":"11" > } >

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-14 Thread Bo Berglund
ours. It seems like I have found a "golden" URL by chance! Previous testing showed that even a 2+ hour old URL from FireFox did not work for the actual show download. I hope this URL will stay operational for at least a day or so. Could it be that it stays working as long as someone (m

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-13 Thread Bo Berglund
On Wed, 13 Apr 2022 01:42:39 +0200, Reino Wijnsma wrote: >As the videostream doesn't work here, you're on your own on this one. For me it works on both Firefox and Chrome... What browser are you using? >On 2022-04-12T17:54:32+0200, Bo Berglund wrote: >> Anyway, the comman

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-12 Thread Bo Berglund
On Tue, 12 Apr 2022 17:54:32 +0200, Bo Berglund wrote: > >Anyway, the command above used with the latest xidel yields an erroneous URL >for >the 2565 video: >http://livedoc.cgtn.com/500d/prog_index.m3u8 >This is for a documentary site with wildlife footage. No MSNBC anywhe

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-12 Thread Bo Berglund
3429/NBCNewsNowa418c506/clear/hdntl=exp=1649865178~acl=%2f*~data=hdntl~hmac=5480897632ddf98d23bf870098333af5055752c54d28764b8c894711086d1266/VIDEO_1_4596000.m3u8 -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-12 Thread Bo Berglund
ne","html5":"11"})/substring(url,2),"url":"http://www.freeintertv.com/myAjax/get_item_m3u8/"})/extract(raw,"http.+m3u8")' output is this m3u8: http://livedoc.cgtn.com/500d/prog_index.m3u8 It can be used with my downloader bu

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-11 Thread Bo Berglund
ed with a specific timeout so when I used that a few years back I had to use the timeout function in order to make it stop at the wanted time: timeout --signal=2 67m But that does not work with yt-dlp, which is not able to download live streams. >Hope this answers your question Unfortunately n

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-11 Thread Bo Berglund
tv-russia/smotret-tv3-online;, >"html5":"11" > } >)/substring(url,2), >"url":"http://www.freeintertv.com/myAjax/get_item_m3u8/; > })/extract(raw,"http.+m3u8") >' >http://1128480543.rsc.cdn77.org/SlTNwu1C

Re: [FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-11 Thread Bo Berglund
On Sat, 9 Apr 2022 13:14:18 +0200, Reino Wijnsma wrote: >On 2022-04-07T18:48:06+0200, Bo Berglund wrote: >> I want to get hold of the m3u8 URL on this site > >You do realize this is the FFmpeg mailinglist, right? This question has >nothing to do with FFmpeg. >If

[FFmpeg-user] How can I extract m3u8 URL for use with ffmpeg on this site?

2022-04-07 Thread Bo Berglund
28480543/tracks-v1a1/mono.m3u8 -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

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

2022-03-15 Thread Bo Berglund
On Sun, 13 Mar 2022 15:50:47 +0100, Reino Wijnsma wrote: >On 2022-03-11T18:24:46+0100, Bo Berglund wrote: >> Right now I could not find mention of "youtube" or even "yo" on the "view >> source" page... >> And using F12 to sh

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

2022-03-11 Thread Bo Berglund
On Mon, 7 Mar 2022 00:46:16 +0100, Reino Wijnsma wrote: >On 2022-03-04T18:47:26+0100, Bo Berglund wrote: >> https://msnbcdailyshows.com/ >> >> and the m3u8 URL I find if I use F12 in the browser when it plays: >> >> https://cdn.plt.one/cdn/premium327/chunks.m3u8

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

2022-03-04 Thread Bo Berglund
On Sat, 9 Oct 2021 03:23:52 +0300, Anatoly wrote: >On Thu, 07 Oct 2021 10:27:51 +0200 >Bo Berglund wrote: > >> On Wed, 1 Sep 2021 16:30:00 +0300, anat...@kazanfieldhockey.ru wrote: >> >> >Right, you need m3u8. >> >F12->Network->Enter "m3u

Re: [FFmpeg-user] Error while hardcoding subtitles (Invalid object location)

2022-01-27 Thread Bo Berglund
command line (but that may only be me). Docs: https://ffmpeg.org/ffmpeg-all.html#toc-mpegts-1 -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To un

Re: [FFmpeg-user] How to properly pasting same-size video parts together into one output?

2022-01-25 Thread Bo Berglund
On Tue, 25 Jan 2022 12:00:53 +0100, Bo Berglund wrote: >So far so good, now the remaining problem I have is that the file size is blown >up considerably.. > >input1.mp4 =98,302,009 bytes >input2.mp4 =53,629,084 bytes >1.mpg is = 930,535,424 bytes >2.mpg is

Re: [FFmpeg-user] How to properly pasting same-size video parts together into one output?

2022-01-25 Thread Bo Berglund
s input2.mp4 =53,629,084 bytes 1.mpg is = 930,535,424 bytes 2.mpg is = 385,169,408 bytes output.mp4 = 1,095,027,291 bytes Is there a way to reduce the size of the final mp4 too? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list

Re: [FFmpeg-user] How to properly pasting same-size video parts together into one output?

2022-01-25 Thread Bo Berglund
On Tue, 25 Jan 2022 15:11:41 +0500, Nikita Zlobin wrote: >I would try separate separate concats for audio and video, >as they are demuxed anyway before filtergraph. > Hmm, what exactly do you mean by this suggestion? An example, perhaps? -- Bo Berglund Developer

[FFmpeg-user] How to properly pasting same-size video parts together into one output?

2022-01-25 Thread Bo Berglund
e. I would like to create a paste script that can handle these situations when the existing script using the command on top does not work. The existing paste script is very fast but it does not re-encode anything, I believe. Any suggestions welcome. -- Bo Berglund Developer in Sweden __

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-20 Thread Bo Berglund
put... Have to add | tail -n 1 to the end to get one item only. I think the ffprobe solution is what I'd choose, does not require installing any additional program too. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@f

Re: [FFmpeg-user] [EXTERNAL] Re: How to get video duration in a script using ffmpeg?

2022-01-19 Thread Bo Berglund
3... But the ffprobe suggestions if done right works fine for me. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ff

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Bo Berglund
On Wed, 19 Jan 2022 18:26:21 +0530, Gyan Doshi wrote: > > >On 2022-01-19 05:29 pm, Bo Berglund wrote: >> On Wed, 19 Jan 2022 17:10:26 +0530, Gyan Doshi wrote: >> >>>> What do I need to just get that output I want? >>> The closest you can get is >&

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Bo Berglund
On Wed, 19 Jan 2022 12:59:45 +0100, Bo Berglund wrote: >Thanks, this returns the following output: >0:43:26.384000 > >Can the duration be limited to only seconds resolution (no decimals)? > Turns out I found a simple way: CMD="ffprobe -v 0 -of compact=p=0:nk=1 -sexagesimal

Re: [FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Bo Berglund
: 0:43:26.384000 Can the duration be limited to only seconds resolution (no decimals)? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above,

[FFmpeg-user] How to get video duration in a script using ffmpeg?

2022-01-19 Thread Bo Berglund
. What do I need to just get that output I want? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-19 Thread Bo Berglund
On Mon, 10 Jan 2022 23:56:13 +0100, Reino Wijnsma wrote: >I don't know what you mean by "PC style CPU:s". >As you're on Ubuntu and assuming you're using modern hardware >you're probably looking for the linux64 binary. Not necessarily, I also have ARM based devices...

Re: [FFmpeg-user] Removing parts of a video using the select filter

2022-01-10 Thread Bo Berglund
qu...@ffmpeg.org with subject "unsubscribe". Is top-posting and leaving all these quoted footers the prferred way on this list now? I do not think so -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-10 Thread Bo Berglund
ay from another thread about xidel I replied in: After trying to fix this I decided to search for binaries and found them here: https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/ These I believe are all for PC style CPU:s

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-09 Thread Bo Berglund
d be resolved since the same author had this also on his GitHub: https://github.com/benibela/internettools But then a bunch of other dependencies appeared which I decided were too much to hunt down. So I had to give up Too bad. -- Bo Berglund Developer in Sweden ___

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-08 Thread Bo Berglund
On Sat, 8 Jan 2022 16:51:07 +0100, Reino Wijnsma wrote: >On 2022-01-08T10:25:48+0100, Bo Berglund wrote: >> On Fri, 07 Jan 2022 14:05:02 +0100, Bo Berglund >> wrote: >>> If I open the source page and use the F12 function key to activate browser >>> debug

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-08 Thread Bo Berglund
m time to time breaking automation. But I *can* read it in the script. But since the other stream now has disappeared there is not much more to do... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/m

Re: [FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-08 Thread Bo Berglund
On Fri, 07 Jan 2022 14:05:02 +0100, Bo Berglund wrote: >If I open the source page and use the F12 function key to activate browser >debug >mode I can see the stream URL for both players. >Right now they are: >#1 = https://hlss.goodgame.ru/hls/188429.m3u8 >#2 = https://29

[FFmpeg-user] How to extract m3u8 stream URL from webpage with 2 players?

2022-01-07 Thread Bo Berglund
the download starts by launching the extractor script via cron. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ

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

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

2021-12-26 Thread Bo Berglund
for the other channels: - kunskapskanalen - svtbarn - svt24 which are the 3 other streaming channels SVT is using. And when asked *how* he had found the m3u8 URL I got a strange response with a browser screenshot which matches neither FireFox nor Chrome so I cannot follow it... -- Bo Berglu

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

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

2021-12-25 Thread Bo Berglund
naler/svt1?start=auto https://www.svtplay.se/kanaler/svt2?start=auto https://www.svtplay.se/kanaler/svt24?start=auto https://www.svtplay.se/kanaler/kunskapskanalen?start=auto These are the public Swedish TV channels. Is there a programmatic way to extract the m3u8 URL from these sites so it can be

Re: [FFmpeg-user] Concatenating video cuts - audio gets out of sync...

2021-12-17 Thread Bo Berglund
aste point Can I modify the above command to ensure that audio gets a specific format like the video argument does? ( -vf scale=w=-4:h=480 -c:v libx264 -preset fast -crf 26 ) During the actual download there is time to do these things since it is happeni

Re: [FFmpeg-user] Concatenating video cuts - audio gets out of sync...

2021-12-17 Thread Bo Berglund
-c copy, but that makes the process much slower. Do you mean removing or exchange for something else? Can I keep the copy for video but re-encode for audio? Some ffmpeg command suggestion? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing l

Re: [FFmpeg-user] Concatenating video cuts - audio gets out of sync...

2021-12-15 Thread Bo Berglund
R variable refers to an m3u8 stream URL. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Concatenating video cuts - audio gets out of sync...

2021-12-15 Thread Bo Berglund
y out of sync at the paste point. Is there some way to modify the ffmpeg command such that the audio is not affected like this? Both clips play just fine without any lipsync problem, but the pasted video is several seconds (or possibly more) off. -- Bo Berglund Developer in Sweden _

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

2021-11-18 Thread Bo Berglund
these for ffmpeg as follows: CMD="ffmpeg -hide_banner -user_agent \"Mozilla\" -i $VIDEOSTR -vf scale=w=-4:h=480 -c:v libx264 -preset fast -crf 26 -c:a copy -t $CAPTURETIME $TARGETFILE" eval $CMD I could not use the resolution flag you

Re: [FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-16 Thread Bo Berglund
nce the output is a *lot* when run in a terminal I assume Ubuntu will not keep all of it, at least not for very long, even if it is saved somewhere... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mail

Re: [FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-15 Thread Bo Berglund
On Mon, 15 Nov 2021 04:35:50 +, Carl Zwanzig wrote: >On 11/14/2021 10:56 PM, Bo Berglund wrote: >>> That would be answered if the original post contained the complete command >>> output... >>> >> Here you go (even though I was asking for the existence

Re: [FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-15 Thread Bo Berglund
ossibly the streaming site has some such problem.... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ff

Re: [FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-14 Thread Bo Berglund
rts that do not happen on every download. Only about every 3rd is affected. So the referer and i arguments are in essence OK. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-u

[FFmpeg-user] Can I set a "wait-timeout" for ffmpeg to not abort a stream download?

2021-11-14 Thread Bo Berglund
e download? Or else some other argument that can set an idle-timeout value to say 300 s or so, such that the video download is not aborted but instead just paused until the stream returns or when the -t argument has been reached? -- Bo Berglund Developer

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

2021-11-04 Thread Bo Berglund
tps://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 ___

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

2021-11-03 Thread Bo Berglund
nd this causes youtube-dl to run for 64 minutes from when it was started and then cleanly close the video and exit. Not so with this one site, here youtube-dl will just abort the download and the xxx.part file remains and cannot be viewed. Is there any possibility to use ffmpeg itself to download from this

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-10-01 Thread Bo Berglund
On Thu, 30 Sep 2021 14:35:27 +0200, Bo Berglund wrote: >I searched similar questions and found this regarding blackdetect filter on >stackoverflow: >https://stackoverflow.com/questions/18722747/can-you-put-the-result-of-a-blackdetect-filter-in-a-textfile-using-ffmpeg/32757533#32757533 &

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Bo Berglund
d at (79%,84%) and the size is (16,4%, 11,9%) So ffmpeg/ffprobe should output a timestamp when the rect contains the logo and when it disappears again. Those two timestamps define the time the logo is on screen. Can it be done? -- Bo Berglund Developer in Sweden ___

Re: [FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-30 Thread Bo Berglund
On Wed, 29 Sep 2021 09:45:43 +0200, Bo Berglund wrote: >I am recording news streams off of the Internet using an automated system >during >my nights so I can view them at daytime in my time zone. This works OK but... > >Is there a way to have ffmpeg detect where in the video co

[FFmpeg-user] How to use ffmpeg to detect commercials

2021-09-29 Thread Bo Berglund
video only containing the scenes with the logo? Or is there a different working way to do this? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit

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

2021-09-02 Thread Bo Berglund
ight now that only works if I detect that a problem has arisen and edit the crontab entry.. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe,

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

2021-08-30 Thread Bo Berglund
nce, I need to download for later viewing. So I have to wait until the original stream I have used is fixed. Thanks. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-u

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

2021-08-29 Thread Bo Berglund
ike this (obfuscated domain): https://hlss.somedomain.com/hls/186379.m3u8 This worked until they changed that webpage and removed the player... So now I would like to get the same system going on the newly found webpage shown above. Any ideas? -- Bo Berglund

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-18 Thread Bo Berglund
On Tue, 17 Aug 2021 16:37:38 +0200, Bo Berglund wrote: >Streamlink could do that until Youtube changed "something" in its protocol that >stopped that functionality. Now I checked back with streamlink and it seems like there is still a problem due to Youtube switching from hls

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-17 Thread Bo Berglund
these are able to rewind to earlier times when viewing these streams. So I thought there could be a way for ffmpg to also rewind the start time to an earlier point. But I am looking for a scripted solution that can be executed from the Linux command

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-17 Thread Bo Berglund
y to record earlier video that is still accessible in the stream (as shown in a browser). But that seems not possible using youtube-dl as the engine. And as I said before streamlink no longer works for this, so my script using that to get earlier parts is not operational. -- Bo Berglund Developer i

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-16 Thread Bo Berglund
are able to view the streams at earlier times, whereas download seems impossible. That is why I asked here if maybe ffmpeg itself would be able to... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-16 Thread Bo Berglund
On Mon, 16 Aug 2021 22:59:58 +0200, Reino Wijnsma wrote: >On 2021-08-16T22:00:24+0200, Bo Berglund wrote: >> $ ffmpeg -ss 3600 -i https://youtu.be/DM-I6UugaFs -preset veryfast -crf 25 >> -c:a >> copy -t 600 output.mp4 > >What makes you think FFmpeg supports Youtu

Re: [FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-16 Thread Bo Berglund
/DM-I6UugaFs: Invalid data found when processing input Same result if I remove the -ss 3600 arguments... -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe

[FFmpeg-user] How to download video stream starting at an earlier time?

2021-08-16 Thread Bo Berglund
the ffmpeg command to accomplish this look like? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-09 Thread Bo Berglund
On Fri, 09 Jul 2021 13:00:39 +0200, Bo Berglund wrote: >Final problem is how to run ffmpeg with an input that is a live stream >currently >playing on Youtube? >I need to detect (in a script) if the stream has frozen before I start the >download, so my plan is to run the detection

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-09 Thread Bo Berglund
he download only if it reports that the stream is not frozen. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-09 Thread Bo Berglund
On Fri, 9 Jul 2021 11:46:19 +0200, Nicolas George wrote: >My advice for this thread: don't try to run before you can walk. What kind of help is that? Are you a troll? -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-u

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-09 Thread Bo Berglund
0 -f null - >2>&1 | grep -q 'lavfi.freezedetect.freeze_start: ' I ran this: ffmpeg -hide_banner -i bluearrow.mp4 -vf "freezedetect=n=0.01:d=5" -map 0:v:0 -f null - 2>&1 > freezeoutput.txt And the freezeoutput.txts still empty... -- Bo Berglund Developer in Sweden _

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-09 Thread Bo Berglund
ting this in an ssh command line session to the linux box using PuTTY. -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-07 Thread Bo Berglund
hanges even when there are scheduled download jobs not yet executing. (I use at scheduling for the downloads) -- Bo Berglund Developer in Sweden ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsub

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-07 Thread Bo Berglund
On Wed, 7 Jul 2021 09:02:47 -0700, Carl Zwanzig wrote: >On 7/7/2021 8:48 AM, Bo Berglund wrote: >> But now I saw a different error I also want to check for, this is when the >> stream semingly works fine but the video has frozen. > >Does that mean youtube continues to

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-07 Thread Bo Berglund
On Wed, 7 Jul 2021 13:54:11 +0100, Rob Hallam wrote: >On Wed, 7 Jul 2021 at 13:43, Bo Berglund wrote: >> On Wed, 07 Jul 2021 14:21:15 +0200, Bo Berglund >> wrote: >> >So is there a way to check if a video is static and generate an error in >> >that case?

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-07 Thread Bo Berglund
On Wed, 07 Jul 2021 14:43:27 +0200, Bo Berglund wrote: >Lacking an example I cannot proceed > >What I want is for ffmpeg to check the video and if it is frozen exit with >result 1 and if the video is not frozen exit with result 0. >What should be the correct call syntax? >

Re: [FFmpeg-user] How to check if a youtube URL is valid before starting download?

2021-07-07 Thread Bo Berglund
On Wed, 07 Jul 2021 14:21:15 +0200, Bo Berglund wrote: >But whenever the video is stalled and just continuously displays one single >image >for minutes on end the test above does not detect it. >So is there a way to check if a video is static and generate an error in that >case?

  1   2   >