Skip to content

Instantly share code, notes, and snippets.

@yisraeldov
Created December 9, 2015 20:44
Show Gist options
  • Save yisraeldov/78f469d16e02381186c6 to your computer and use it in GitHub Desktop.
Save yisraeldov/78f469d16e02381186c6 to your computer and use it in GitHub Desktop.
for f in *.nes ;
do echo $f ;
mednafen -autosave 0 -video.fs 0 -qtrecord mov/"$f.mov" "$f" -qtrecord.vcodec=png & sleep 10 ;
killall mednafen;
ffmpeg -i mov/"$f.mov" mov/"$f.mp4";
rm mov/"$f.mov";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment