Created
June 30, 2016 19:12
-
-
Save plugnburn/631b82ebbbfe7a8b60102e22c64fbd7d to your computer and use it in GitHub Desktop.
FM2toAVI: convert FCEUX emulator recordings into real videos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: fm2toavi.sh rom.nes movie.fm2 output.avi | |
fceux --subtitles 0 --slstart 0 --slend 239 --xscale 1 --yscale 1 --special 0 --pal 0 \ | |
--sound 1 --soundq 1 --soundrate 48000 --volume 150 --trianglevol 256 --square1vol 256 \ | |
--square2vol 256 --noisevol 256 --pcmvol 256 --mute 1 --nospritelim 1 --no-config 1 \ | |
--videolog "ffmpeg -f s16le -ar 48000 -channels 1 -i s.log -f rawvideo -r 60.0998 -s 256x224 -pix_fmt bgr24 -i - -c:a pcm_s16le -c:v libx264rgb -qp 0 -pix_fmt rgb24 $3"\ | |
--playmov "$2" "$1" | |
rm s.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment