[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Gerar video apartir de imagens JPEG



Eu estou querendo gerar um video avi apartir de uns gráficos que fiz
usando o gnuplot.

Para gerar o video das imagens que tem o nome no farmato img-0.jpg,
img-1.jpg, ..., eu uso o seguinte comando:

jpeg2yuv -f 1 -It -L1 -j img-%01d.jpg | yuv2lav -f a -I 1 -o filme.avi

Após esse comando o filme é criado, porém quanto tento abrí-lo usando
o mplayer eu recebo:

Playing filme.avi.
Cache fill: 13,28% (139264 bytes)    AVI file format detected.
AVI_NI: No audio stream found -> no sound.
AVI: No audio stream found -> no sound.
VIDEO:  [MJPG]  1024x768  24bpp  1,000 fps  453,5 kbps (55,4 kbyte/s)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmjpeg] vfm:ffmpeg (FFmpeg MJPEG decoder)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 1024 x 768 (preferred csp: Unknown)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
mp_image: Unknown out_fmt: 0x0

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Exiting... (End of file)


Alguém sabe o jeito correto de criar o video?

Obrigado!!

Max Velasques



Reply to: