As usual, I patched snes9x-1.51 for my own version before even attempting to use its built in AVI recording mechanism.
List of changes:
- Adds ignoreframes support
- Adds Blargg's NTSC filter support
- Reads snes9x.cfg from $HOME/.snes9x/ directory by default now
- Adds nesvideos-piece (Bisqwit's AVI recording mechanism)
- Adds tiletracker for creating GIF animations (not completely patched in yet)
http://bisqwit.iki.fi/src/snes9x-1.51-nesvideo-patch-bisqwit.txt.gz
Startup script example... (RUNSNES)
FLAGFILE="`pwd`/s.status"
# Which file do you want to place your audio and video in.
VIDEO_RESULT="`pwd`/test0.avi"
VIDEO="-ovc x264 -x264encopts crf=0:me=dia:turbo=2:frameref=4"
AUDIO="-oac mp3lame -lameopts mode=1:preset=71:aq=0"
VIDEO="$VIDEO -vf decimate=4:64:128:1 -nocache"
EXE="snes9x-1.51"
OPTS="-upanddown"
rm -f "$FLAGFILE"
VIDEO="mencoder \
- -o '$VIDEO_RESULT' \
-mc 0 \
NESVSETTINGS \
$VIDEO \
$AUDIO \
>&1 | tee mencoder.log"
$EXE $OPTS \
-videologcmd "$VIDEO" \
-autodemo "$1" "$2"
Script invocation:
./RUNSNES ./smw.smv ./smw.smc
Disclaimer: Not so much tested in production yet.