Last active
August 13, 2023 15:14
-
-
Save justdoit0823/bfa5bc9ddb7b0a459ca919440b193990 to your computer and use it in GitHub Desktop.
ffmpeg video and audio transformation examples.
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
# make video with pictures | |
ffmpeg.exe -framerate 0.375 -i .\photos\%d.png -i .\audio_3886dab2976147ad8046875a45f5b8cc.wav -c:v libx264 -pix_fmt yuv420p -c:a aac -strict experimental -b:a 192k output-1.mp4 | |
# extract audio from video | |
ffmpeg.exe -i input.mp4 -vn -acodec copy output.aac | |
# audio aac to mp3 | |
ffmpeg.exe -i output1.aac -c:a libmp3lame -ar 16000 -q:a 2 output1.mp3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment