-
-
Save douglasgoodwin/7553461 to your computer and use it in GitHub Desktop.
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
// FFmpeg settings for vimeo.com | |
// ============================= | |
// Trying to find the best settings for encoding videos as described here: | |
// http://vimeo.com/help/compression | |
// | |
// Input file: MOV | |
// Video: PAL DV, 720x576, 25fps | |
// Audio: aac Audio, Stereo, 48kHz, 256kbps | |
// | |
// OUT | |
// Codec: H.264 | |
// Frame rate: 24, 25, or 30 FPS (Constant) | |
// Bit rate: 2,000 – 5,000 kbit/s (SD) / 5,000 – 10,000 kbit/s (720p HD) / 10,000 – 20,000 kbit/s (1080p HD) | |
// Downsample to SD: 640 x 480 px (4:3 aspect ratio) | |
// | |
ffmpeg -i GLASSCUT.mov \ | |
-vcodec libx264 \ | |
-acodec libfaac \ | |
-strict experimental \ | |
-s 1280:720 \ | |
-b 4500k \ | |
-ab 320k \ | |
-r 25 \ | |
-g 25 \ | |
-pix_fmt yuv420p \ | |
GLASSCUT_HD_720.mp4 | |
ffmpeg -i IN.mov \ | |
-vcodec libx264 \ | |
-acodec libfaac \ | |
-strict experimental \ | |
-s 640:480 \ | |
-b:v 2000k \ | |
-ab 320k \ | |
-r 25 \ | |
-g 25 \ | |
-pix_fmt yuv420p \ | |
OUT_SD.mp4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment