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
| ## extract audio from .avi as .aac (conversion from another audio codec) | |
| ffmpeg -i foo.avi -acodec aac -ab 128k -strict experimental bar.aac | |
| ## extract audio from .avi as .mp3 (no conversion, just copy) | |
| ffmpeg -i foo.avi -acodec copy bar.mp3 | |
| ## convert .mp3 to .aac | |
| ffmpeg -i foo.mp3 -acodec aac -ab 128k -strict experimental bar.aac | |
| ## extract single frame as image from .mp4 |
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/sh | |
| #Setup a new domain on slicehost using layout outlined here: | |
| #http://articles.slicehost.com/2008/5/16/ubuntu-hardy-nginx-virtual-hosts | |
| #and creating an nginx config file based on this article: | |
| #http://www.dailycupoftech.com/2009/02/24/basic-slicehost-slice-setup-part-7-create-the-virtual-host-website/ | |
| # ---------------------------------------------------------------- | |
| #check to see if arguments are set | |
| E_BADARGS=65 |
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/sh | |
| #check to see if arguments are set | |
| E_BADARGS=65 | |
| if [ ! -n "$1" ] | |
| then | |
| echo "Usage: `basename $0` textfilename [rtffilename optional]" | |
| exit $E_BADARGS | |
| fi |
NewerOlder