[FFmpeg-user] Decimal times to frame numbers

2021-08-18 Thread amindfv--- via ffmpeg-user
How are frame numbers converted to and from decimal numbers of seconds in ffmpeg and related tools? For example, given a file foo.mp4 at 24fps, when I run a command like: ffmpeg -i foo.mp4 -t 0.72 bar.mp4 0.72 is a time between frame 18 (0.70833... seconds) and frame 19 (0.75 seconds).

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

2021-08-18 Thread Reino Wijnsma
On 2021-08-17T13:44:20+0200, Bo Berglund wrote: > https://www.youtube.com/watch?v=DM-I6UugaFs [...] but what I need is a way to > record earlier video that is still accessible in the stream (as shown in a > browser). That Youtube url is a livestream (video-url:

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 to dash in April