Autor Tópico: Criar vídeo de várias imagens com FFMpeg  (Lida 3610 vezes)

Offline franzisk

  • Usuário Ubuntu
  • *
  • Mensagens: 53
    • Ver perfil
Criar vídeo de várias imagens com FFMpeg
« Online: 07 de Abril de 2011, 16:37 »
Tenho 270 arquivos de imagens, que são nomeados de img001.jpg a img270.jpg, estou tentando criar um vídeo com essas imagens usando o FFMpeg porém não estou obtendo sucesso.

Será que alguém poderia me dar uma dica? (Ubuntu 10.10)

Segue o comando e a saída no console:
Código: [Selecionar]
francisco@francisco-desktop:~/Imagens/temp$ ffmpeg -f image2 -i img%03d.jpg  -r 1  -y  Aniversário.avi
FFmpeg version SVN-r24791, Copyright (c) 2000-2010 the FFmpeg developers
  built on Aug 13 2010 09:01:56 with gcc 4.4.3
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
  libavutil     50.23. 0 / 50.23. 0
  libavcore      0. 4. 0 /  0. 4. 0
  libavcodec    52.85. 1 / 52.85. 1
  libavformat   52.78. 2 / 52.78. 2
  libavdevice   52. 2. 1 / 52. 2. 1
  libavfilter    1.34. 1 /  1.34. 1
  libswscale     0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Input #0, image2, from 'img%03d.jpg':
  Duration: 00:00:10.80, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: mjpeg, yuvj440p, 1536x2048 [PAR 72:72 DAR 3:4], 25 fps, 25 tbr, 25 tbn, 25 tbc
[buffer @ 0x98f69e0] w:1536 h:2048 pixfmt:yuvj440p
[ffmpeg_output @ 0x98f0930] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x98f0ce0] w:1536 h:2048 fmt:yuvj440p -> w:1536 h:2048 fmt:yuv420p flags:0xa0000004
Output #0, avi, to 'Aniversário.avi':
  Metadata:
    ISFT            : Lavf52.78.2
    Stream #0.0: Video: mpeg4, yuv420p, 1536x2048 [PAR 1:1 DAR 3:4], q=2-31, 200 kb/s, 1 tbn, 1 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
Input Stream #0.0 frame size changed to 2048x1536, yuvj422p=1581.7kbits/s dup=0 drop=30   
Input Stream #0.0 frame size changed to 2048x1536, yuvj422p=2439.9kbits/s dup=0 drop=52   
Input Stream #0.0 frame size changed to 2048x1536, yuvj422p=2537.0kbits/s dup=0 drop=82   
Falha de segmentaçãoq=10.0 size=    1469kB time=5.00 bitrate=2406.2kbits/s dup=0 drop=94
O que é essa Falha de segmentação?

Offline asghan

  • Usuário Ubuntu
  • *
  • Mensagens: 1.221
    • Ver perfil
Re: Criar vídeo de várias imagens com FFMpeg
« Resposta #1 Online: 07 de Abril de 2011, 21:27 »
Se tua intenção é fazer um tipo de SlideShow, vc pode usar o Imagination
   Ubuntu 12.04 - Unity 64bits