[ale] LG Env2 video format

Richard Bronosky Richard at Bronosky.com
Sun May 3 22:43:04 EDT 2009


Here is one I made for a very old PMP. You ought to be able to do
something very similar.

#!/bin/bash
# irivert.sh - converts and avi (Digg Nation and other podcasts) to a
format for the iRiver U10

IN="$1";
echo reading: $IN;

if [ -n "$2" ]; then
   OUT="$2";
else
   OUT=${IN/.avi}.u10.avi;
fi

echo writing: $OUT;

mencoder "$IN" -o "$OUT" \
    -ovc xvid -xvidencopts bitrate=384:max_bframes=0 \
    -oac mp3lame -lameopts mode=0:cbr:br=128 \
    -vf-add filmdint=io=29970:15000 \
    -vf-add scale=320:240,expand=320:240 \
    -vf-add harddup -ofps 15.0 -srate 44100




-- 
.!# RichardBronosky #!.


More information about the Ale mailing list