This file contains hidden or 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/bash | |
# encode.sh | |
# | |
# Copyright (c) 2013 Don Melton | |
# | |
# This version published on June 7, 2013. | |
# | |
# Re-encode video files in a format suitable for playback on Apple TV, Roku 3, | |
# iOS, OS X, etc. |
This file contains hidden or 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
/** | |
* Allows "named" parameters for vprintf. You can use one of two ways to name the values | |
* in the string. Mixing and matching in the same string is supported. | |
* | |
* It also throws an error when you don't have a value in the array as expected. | |
* | |
* $a = array("lazy" => "z", "jmp" => "jumps", "qik" => "QUICK", "times" => 10.625); | |
* | |
* The following strings can all be used: %(name)s -- python || %name$s --php | |
* |