Advertisement
Guest User

Untitled

a guest
Apr 11th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/sh
  2. # GoGearVibeConvert.sh - converts videos to be played on Philips GoGear Vibe
  3.  
  4. [ "x$1" != "x" ] || { echo "usage: $(basename $0) <input file>" 1>&2; exit 1; }
  5.  
  6. ffmpeg -i "$1" \
  7. -f mov \
  8. -vcodec mjpeg -s 160x128 -b 512k -r 25 \
  9. -acodec adpcm_ima_wav -ab 192k -ar 22050 \
  10. -metadata title="${1}.mp4" \
  11. "${1}.mp4"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement