Created
November 12, 2008 17:39
-
-
Save code/24218 to your computer and use it in GitHub Desktop.
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
ffmpeg -i work/input.* -b $1 -an -vcodec libx264 -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -me hex -subq 5 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -s $2 -r 24 -threads 4 -y work/temp_video.mp4 && ((ffmpeg -i work/input.* -ar 48000 -ac 2 -y work/temp_audio.wav && neroAacEnc -br $3 -he -if work/temp_audio.wav -of work/temp_audio.aac && MP4Box -add work/temp_audio.aac#audio work/h264.flv) || true) && MP4Box -add work/temp_video.mp4#video work/h264.flv && MP4Box -inter 500 work/h264.flv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment