[FFmpeg-user] Help with Image render into Video

Ezequiel França ez at efs.net.br
Wed Oct 23 04:06:32 CEST 2013


Hi guys, how are you ?

This is my first post here and I am needing some help with render images 
into video.

I did a research on the web and asked guys on IRC and no one could help 
me with it.


I am creating a bash script for a customer that converts multiple images 
into a video-slideshow.
  I need the imagens to appear into video  on a specific order. I can 
generate the video using the pattern * but i am struggling using 
individual files.

I got the file list and the order via JSON and created the following syntax:

ffmpeg -v verbose -r 1/2  -i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/45b37c51e89f2bd68b84e0e3d2bea1d83c5c8d96.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/39fe3494eb2dba3e7b9a4cacfc98450204d0137f.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/8d74d1399caad2b8dfc23c9183ddbec5b44a086b.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/09c26fc89b23dd742aaad8421938e224c35c68fa.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/9cad7bfd980c6cebae3d1b78520f35842114c27a.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/42f395cd036957ea51bae2f7719efccad4cbbcfa.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/0d442a4c4aa0b6c69682fbbbcf9d654562222f8c.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/58e0c5e9ba77cfc6a4b5f2a20debd6d74dc78a25.png 
-i 
/var/www/html/Symfony/web/uploads/timeline/preview/imgvideo/testeez/0c3b05645e810235b9fc266e4d0cc60320b11ab0.png 
   /var/www/html/Symfony/web/uploads/documents/video0.mp4

It is not working and it seems to get only the first image.


  Another question is: There is a way to have different times for each 
image, something like "1st image stays
             for 2 sec, 2nd for 5 sec, etc"


Is this the correct way to do this ?

A read the documentation and It WORKS using the pattern *, for all 
imagens on a specific directory. I do not want to double the size 
copying the images to a directory and using the wildcard syntax.

Thanks in advance and sorry about my english. It is not my native language.




More information about the ffmpeg-user mailing list