Created
August 30, 2020 23:05
-
-
Save vighneshbirodkar/b4b26cd61c1563934ac21305b0cf509a 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 -loop 1 -i /path/to/image.png -i /paht/to/audio.mp3 -c:v libx264 -tune stillimage\ | |
-vf "crop=trunc(iw/2)*2:trunc(ih/2)*2" -c:a aac -b:a 192k -pix_fmt yuv420p\ | |
-shortest /path/to/output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment