Last active
May 30, 2018 13:17
-
-
Save yurko/928e9d4ed6f20d0a3765215f06ebb99e to your computer and use it in GitHub Desktop.
image and video processing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85% source.jpg result.jpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
find . -type f \ | |
\( -iname "*.jpg" \ | |
-o -iname "*.jpeg" \) \ | |
-exec jpeginfo -c {} \; | \ | |
grep -E "WARNING|ERROR" | \ | |
cut -d " " -f 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
avconv (-y) -i input.mkv -ss 00:00:10 -t 00:03:26 -c:v copy -c:a copy|flac output.mkv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i input.mp4 -r 1 -f image2 image-%3d.jpeg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment