[vtkusers] Produce an MPEG file from a stack of JPEG image

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Jan 26 06:28:09 EST 2010


On 01/26/2010 03:01 AM, Fireman Fireman wrote:
> Dear vtkusers,
>  
> I want to know if VTK provides a solution to produce an MPEG file from
> a stack of JPEG image.
>  
> Can you provide me in this case a small example (source code or steps) ?
>  
> Thank you in advance
>
>

First what operating system are you using?

Do you want to load the JPEG images into a volume and do some rendering
for each frame?

   OR

Do you want each frame to just be a copy of one of the JPEG images?

This last is better accomplished with other programs.

I use mencoder :
  mencoder mf://vol*.png -of mpeg -o tmp.mpeg -ovc lavc -oac copy
 
   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100126/625a4abc/attachment.pgp>


More information about the vtkusers mailing list