Update 'ffmpeg.md'
This commit is contained in:
parent
e799c3f35f
commit
727d713ecb
1 changed files with 15 additions and 1 deletions
16
ffmpeg.md
16
ffmpeg.md
|
@ -2,9 +2,23 @@
|
|||
|
||||
...to extrac, manipulate and reassmbly frames
|
||||
|
||||
### Frame extraction
|
||||
### Frames extraction
|
||||
In running the command take note about original video fps
|
||||
```
|
||||
ffmpeg -i video.mp4 %05d.png
|
||||
|
||||
```
|
||||
|
||||
### Video creation from frames
|
||||
In running the command take note about original video fps
|
||||
```
|
||||
ffmpeg -framerate 30 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p paint.mp4
|
||||
|
||||
```
|
||||
|
||||
### Video warping from images
|
||||
Using CUDA:
|
||||
|
||||
```
|
||||
ffmpeg -y -fflags +genpts -r 30 -hwaccel cuda -hwaccel_output_format cuda -pattern_type glob -i '*.png' -vf "setpts=100*PTS,minterpolate=fps=24:scd=none" -pix_fmt yuv420p -c:v h264_nvenc "test01.mp4"
|
||||
```
|
Loading…
Reference in a new issue