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.

  • copygirl
    link
    fedilink
    English
    arrow-up
    9
    ·
    5 months ago
    1. There is the --download-sections option. Looking at it, you might want to use --download-sections "*0:00-1:00".
    2. I briefly checked with --list-thumbnails and it doesn’t look like YouTube offers any square ones, so I would look into using ImageMagick to edit the image with a command. I doubt yt-dlp allows you to do any sort of image manipulation out of the box.