bash script using ffmpeg for making archos compatible mpeg4 with mp3

Here is the script I use now to convert stuff to a decent format for my Archos 705:

#!/bin/bash
 
INPUT=$1
 
ffmpeg \
-ab 128 \
-acodec mp3 \
-sameq \
-vcodec mpeg4 \
-mbd rd \
-flags +4mv+trell+aic \
-cmp 2 \
-subcmp 2 \
-g 300 \
-s 400x300 \
-aspect 4:3 \
-i "$INPUT" \
"$INPUT.lofi.avi"
 
#END

Bet there are some optimizations I could use, feel free to leave a comment if you know some!

Comments

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.