Last active
December 18, 2015 00:49
-
-
Save plucury/5699234 to your computer and use it in GitHub Desktop.
Transcode
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 /Users/plucury/tmp/transcode/video/s.mov -vcodec libx264 -vprofile high -preset slow -b:v 500k -acodec libfaac -ab 128k -ac 2 -vf "scale=iw*min(640/iw\,360/ih):ih*min(640/iw\,360/ih),pad=640:360:(640-iw)/2:(360-ih)/2,transpose=1" -map_metadata -1 output.mp4 | |
ffmpeg -i /Users/plucury/tmp/s.mov -vcodec libvpx -preset slow -b:v 800k -acodec libvorbis -ab 128k -ac 2 -vf "scale=iw*min(640/iw\,360/ih):ih*min(640/iw\,360/ih),pad=640:360:(640-iw)/2:(360-ih)/2,transpose=1" -map_metadata -1 output.webm | |
./configure --enable-gpl \ | |
--enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora \ | |
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab --enable-libfaac --extra-libs="-ldl" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment