All snippets tagged with bash
Page 1 of 1Extract frames from a video
Compress or convert video for embedding in an Android or iOS app
The following uses ffmpeg to compress a video that is optimally compressed for size while keeping an ok quality, and ensures compatibility across 99.99% of the Android and iOS devices.
Read more…Convert or compress audio
Usually very straightforward, ffmpeg
picks the output format using the file extension. Wave to mp3, 5 seconds only, 128kb/s, is:
Compile FFMPEG with non-standard libraries
FFMPEG is a great tool for doing anything programmatically with audio or video files, but the default installation contains only open standards, and is therefore utterly incapable of converting AAC files and other common standards. Time to build it ourselves!
Read more…Combine images into a video
To combine a series of images (PNG or JPEG) into a video, use the following. There is a more standard way to select the images by numbering them in a specific way, but the following makes it easier to work with wildcards without having to rename the images.
Read more…Get the SHA of a keystore
Gets the MD5, SHA1 and SHA256 of a keystore. You’ll need this for many signin solutions, such as Google SignIn, Facebook, Twitter, etc.
Read more…