Aggiorna 'ffmpeg.md'

This commit is contained in:
incandenza 2024-01-31 12:10:04 +01:00
parent 6702e81461
commit cae5e836c3

View file

@ -46,6 +46,29 @@ Once you've performed tthe two steps above (same size and a silent audio if need
ffmpeg -i te.mp4 -i 20231104021840.mp4 -filter_complex "[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1" -vsync vfr output.mp4
```
### Create a slideshow (video) from images with different timings
```
ffmpeg -f concat -i input.txt -pix_fmt yuv420p -movflags +faststart intro.mp4
```
in which *input.txt* looks like:
```
file '00.png'
duration 2
file '01.png'
duration 14
file '02.png'
duration 2
file '03.png'
duration 6
file '04.png'
duration 2
file '05.png'
duration 10
file '06.png'
duration 1
```