[FFmpeg-user] How to download video stream starting at an earlier time?
Carlos E. R.
robin.listas at telefonica.net
Tue Aug 17 00:29:22 EEST 2021
On 16/08/2021 23.20, Carl Zwanzig wrote:
> On 8/16/2021 1:59 PM, Reino Wijnsma wrote:
>> What makes you think FFmpeg supports Youtube urls?
>
> It's a reasonable assumption; if ffmpeg doesn't, just say so.
Google: download youtube video cut with ffmpeg
<https://ostechnix.com/download-a-portion-of-youtube-video-with-youtube-dl-and-ffmpeg/>
$ youtube-dl --external-downloader ffmpeg --external-downloader-args
"-ss 00:01:00.00 -to 00:02:00.00" -f best
"https://www.youtube.com/watch?v=dc7I-i7sPrg"
or
$ ffmpeg -ss 00:01:00 -to 00:02:00 -i "$(youtube-dl -f best --get-url
'https://www.youtube.com/watch?v=dc7I-i7sPrg')" -c:v copy -c:a copy
kiosk.mp4
--
Cheers / Saludos,
Carlos E. R.
(from oS Leap 15.2 x86_64 (Minas Tirith))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20210816/3bf5812d/attachment.sig>
More information about the ffmpeg-user
mailing list