You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filtering out videos based on video format, resolution, or duration is currently not possible without downloading the full video file and doing the filtering in the postprocessor/output stage.
I recently learned that you can use ffprobe to figure out the metadata of a video without actually downloading the full thing. That's how your browser also knows how long a video (for the video timeline) is without downloading it completely.
This gives us: Duration, Resolution, Framerate, Video-Ratio, Bitrate, Video and Audio format, Audio channel (stereo) and much more.
Similar to extractor.*.image-filter we could have a extractor.*.video-filter that does ffprobe in the background and provides all these fields for the filter string.
What do you think?
The text was updated successfully, but these errors were encountered:
I'll drop a 75€ bounty for whoever implements this in gallery-dl and get merged within the next 6 months.
Skaronator
changed the title
Implement ffprobe as an additional metadata filter option
[75€ Bounty] Implement ffprobe as an additional metadata filter option
Dec 18, 2023
Skaronator
changed the title
[75€ Bounty] Implement ffprobe as an additional metadata filter option
Implement ffprobe as an additional metadata filter option
Sep 30, 2024
Filtering out videos based on video format, resolution, or duration is currently not possible without downloading the full video file and doing the filtering in the postprocessor/output stage.
I recently learned that you can use ffprobe to figure out the metadata of a video without actually downloading the full thing. That's how your browser also knows how long a video (for the video timeline) is without downloading it completely.
This gives us: Duration, Resolution, Framerate, Video-Ratio, Bitrate, Video and Audio format, Audio channel (stereo) and much more.
Similar to
extractor.*.image-filter
we could have aextractor.*.video-filter
that does ffprobe in the background and provides all these fields for the filter string.What do you think?
The text was updated successfully, but these errors were encountered: