sigal
sigal copied to clipboard
Option to skip video processing
I make a photoswipe gallery based on a folder which contains both video and audio files, bot don't really care about the videos. I'd like an option to ignore all videos, or a use_orig option for just the video files.
Sorry, I missed this issue. There is already a setting that should work for your use case: ignore_files = ['*.mp4']
for instance would ignore all mp4 files.
For the use_orig
option for video files, yes probably. Another option to avoid resizing videos is to define a video_size
that is wide enough, because media are not resized if they are already smaller than the target size.
Ah, the first option covers my use case, should have noticed that. Thanks for the video_size
tip as well, even though it isn't perfectly intuitive =)
Feel free to close as far as I'm conserned, or to keep as a TODO in case you want a video_use_orig
option.
I too would like a video_use_orig (or something similar) option. My issue is not resizing but transcoding. I have video sources in different formats (I have no control over this). However, Sigal will convert them to single specified video_format. The video is already in the right size with the right text overlays. It would be great if I could just pass the video through.
In one case, the format (*.mpg for mpeg-2) is not recognized by Sigal. Passing the video through would solve this problem also.