Create ffmpeg.md

This commit is contained in:
Sander Hautvast 2024-04-24 16:32:54 +02:00 committed by GitHub
parent c7c96f2cfd
commit 2310dc9dc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
cmd/ffmpeg.md Normal file
View file

@ -0,0 +1,4 @@
* disassemble into frames `ffmpeg -i lcd.mp4 frames/frame%04d.jpg`
* 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`