Skip to content

Instantly share code, notes, and snippets.

@hpcorona
Created September 21, 2013 20:31
Show Gist options
  • Save hpcorona/6653896 to your computer and use it in GitHub Desktop.
Save hpcorona/6653896 to your computer and use it in GitHub Desktop.
Create high quality recordings for Dota 2 videos, in 1/4 screen size
#usage:
#ffmpeg_high_quality.sh INPUT AUDIO_OFFSET OUTPUT
#sample: ffmpeg_high_quality.sh video_ 2 MySuperGank
#the AUDIO_OFFSET is the seconds of silence at the start (gap between recording started and sound starts, usually the time u get to close the console)
# INPUT is the startvideo INPUT data you typed in
ffmpeg -f image2 -framerate 30 -r 30 -i $1%04d.tga -itsoffset $2 -i $1.WAV -vcodec qtrle -r 24 -s 960x600 $3.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment