Browse Source

Aggiorna 'ffmpeg.md'

incandenza 3 months ago
parent
commit
cae5e836c3
1 changed files with 23 additions and 0 deletions
  1. 23 0
      ffmpeg.md

+ 23 - 0
ffmpeg.md

@@ -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 
+```
+