13
submitted 4 months ago by jaagruk@mander.xyz to c/foss@beehaw.org

cross-posted from: https://mander.xyz/post/14609590

Can I have some help regarding using yt-dlp.

  1. How to select a specific duration of video to be downloaded like from 00 to 600 seconds in video of 8 hours.
  2. When downloading songs from youtube with metadata and thumbnail I get thumbnails in rectangular shape instead of square. How to turn them square?

Asking it here cause, Discussion on repository is closed and it is FOSS software.

you are viewing a single comment's thread
view the rest of the comments
[-] PatheticGroundThing@beehaw.org 15 points 4 months ago

First question: You use

--download-sections "*00:00-10:00"

as an option to download the first 10 minutes. The asterisk means the numbers are treated as a timestamp instead of looking for a chapter with that title.

Second question I don't know.

[-] OneRedFox@beehaw.org 2 points 4 months ago

Well that's a game changer, because I've been using ffmpeg directly to trim the files and it's very clunky by comparison.

this post was submitted on 26 Jun 2024
13 points (100.0% liked)

Free and Open Source Software

17550 readers
69 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS