Create ffmpeg.md
This commit is contained in:
parent
c7c96f2cfd
commit
2310dc9dc1
1 changed files with 4 additions and 0 deletions
4
cmd/ffmpeg.md
Normal file
4
cmd/ffmpeg.md
Normal 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`
|
||||||
Loading…
Add table
Reference in a new issue