Skip to content

Instantly share code, notes, and snippets.

@werdan
Last active December 14, 2015 18:59
Show Gist options
  • Save werdan/5133494 to your computer and use it in GitHub Desktop.
Save werdan/5133494 to your computer and use it in GitHub Desktop.
#!/bin/csh
## Check beforehand:
## sudo apt-get install csh ffmpeg
## Usage
## ./convert.sh *.MTS
foreach f ($*)
ffmpeg -i $f -ar 44100 -ab 32 -f flv -s 720x480 -aspect 16:9 video.flv
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment