Created
June 14, 2012 09:18
-
-
Save lifning/2929249 to your computer and use it in GitHub Desktop.
A quick and dirty script to convert glc dumps to MKV using ffmpeg. Created because mencoder, which the glc encode script uses, is broken and old.
This file contains 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 | |
mkfifo ${1}.{yuv,wav} | |
glc-play ${1} -y 1 -o ${1}.yuv & | |
glc-play ${1} -a 1 -o ${1}.wav & | |
ffmpeg -i ${1}.yuv -i ${1}.wav ${1}.mkv | |
rm -f ${1}.{yuv,wav} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment