Last active
March 18, 2019 07:17
-
-
Save codecybe/a5ffa4bf53ee5b9b3dbe5ba53a39e70c to your computer and use it in GitHub Desktop.
FFmpeg comand list windows
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
| #How to install/setup ffmpeg on windows 7# | |
| link-> https://www.youtube.com/watch?v=YlF8kg5U2kc | |
| #cmd windows 7 change dir# | |
| C:\Windows\system32>cd "C:\Program Files\ffmpeg\bin" | |
| #fix -ffmpeg-windows-7-permission-denied cmd# | |
| Ctrl+Shift+Enter . Run Command Prompt as Administrator click yes | |
| #fix eror height not divisible by 2 for h.264# | |
| ffmpeg -i test.mp4 -c:v libx264 -crf 23 -vf pad="width=ceil(iw/2)*2:height=ceil(ih/2)*2" outfffffut.mp4 | |
| #ffmpeg-compress video variant# | |
| ffmpeg -i data/video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 data/output.mp4 | |
| ffmpeg -i video.mp4 -vcodec h264 -b:v 1000k -acodec mp3 output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -crf 23 output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -preset slow output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -preset ultrafast output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -crf 0 -preset veryslow output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -crf 45 -preset veryslow output.mp4 | |
| ffmpeg -i input.mp4 -c:v libx264 -r 29.97 -crf 23 -preset placebo -acodec mp3 output.mp4 | |
| link -> https://superuser.com/questions/490683/cheat-sheets-and-presets-settings-that-actually-work-with-ffmpeg-1-0 | |
| #ffmpeg remote url copy# | |
| ffmpeg -i http://techslides.com/demos/sample-videos/small.mp4 -c:v copy ourtgtput.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment