sigal icon indicating copy to clipboard operation
sigal copied to clipboard

Option to skip video processing

Open xim opened this issue 7 years ago • 3 comments

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.

xim avatar Jan 03 '17 21:01 xim

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.

saimn avatar Mar 11 '17 22:03 saimn

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.

xim avatar Mar 12 '17 10:03 xim

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.

nelsonov avatar Oct 29 '18 05:10 nelsonov