[vtkusers] Produce an MPEG file from a stack of JPEG image
Fireman Fireman
vtkusersneedhelp at yahoo.fr
Tue Jan 26 08:19:28 EST 2010
Hello,
Thank you very much for your answer.
I'm using XP as operating system and C++/Qt for development.
I want to produce an MPEG file that can be read by a video player like Windows Media Player.
I want to use a stack of JPEG images as input and having as output a MPEG file
Stack of JPEG images --------------- > X ---------------------> MPEG file as output.
I want to avoid the use of an external program because I want to integrate the process of transformation in my project.
Thank you in advance
--- En date de : Mar 26.1.10, Kevin H. Hobbs <hobbsk at ohiou.edu> a écrit :
De: Kevin H. Hobbs <hobbsk at ohiou.edu>
Objet: Re: [vtkusers] Produce an MPEG file from a stack of JPEG image
À: "Fireman Fireman" <vtkusersneedhelp at yahoo.fr>
Cc: vtkusers at vtk.org
Date: Mardi 26 Janvier 2010, 11h28
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 --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100126/d8c85f78/attachment.htm>
More information about the vtkusers
mailing list