Created
May 6, 2012 18:23
-
-
Save padde/2623647 to your computer and use it in GitHub Desktop.
Convert video for PowerPoint with ffmpeg
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 INFILE -r 25 -f mpeg -vcodec mpeg1video -ar 48000 -b 1500k -acodec mp2 -ar 44100 -ac 1 -y OUTFILE.mpg |
Powerpoint 2013 on Windows 7 seems to be happy using the libx264 video codec and aac audio codec. If you give it mpg1/mpg2 it seems to do some conversion itself when you import it, but doesn't if you use x264/aac.
👍
Adding -b:v 2500k
increase the quality of generated movie.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For better video and audio quality:
ffmpeg -i INFILE -r 25 -f mpeg -vcodec mpeg1video -ar 48000 -b:v 5000k -b:a 128k -acodec mp2 -ar 44100 -ac 1 -y OUTFILE.mpg