Update ffmpeg.md

This commit is contained in:
Sander Hautvast 2024-12-24 13:12:30 +01:00 committed by GitHub
parent 2eab0cbe23
commit 06a32182e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,4 +2,4 @@
* assemble from frames `ffmpeg -i frames_out/frame%04d.jpg -r 29.97 lcd_out.mp4 `
* extract audio `ffmpeg -i lcd.mkv -vn -acodec copy lcd.mp4`
* merge audio and video `ffmpeg -i lcd_out.mp4 -i lcd.mp4 -acodec copy out.mp4`
* audio and picture to video `ffmpeg -loop 1 -i louie3.jpg -i output_audio.mp3 -shortest -c:v libx264 -crf 23 -c:a aac -b:a 128k -vf "scale=720:720,format=yuv420p" out2.mp4`
* audio and picture to video suitable for whatsapp`ffmpeg -loop 1 -i louie3.jpg -i output_audio.mp3 -shortest -c:v libx264 -crf 23 -c:a aac -b:a 128k -vf "scale=720:720,format=yuv420p" out2.mp4`