<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>Thank you very much for your answer.<BR><BR>I'm using XP as operating system and C++/Qt for development.<BR></DIV>
<DIV>I want to produce an MPEG file that can be read by a video player like Windows Media Player.</DIV>
<DIV> </DIV>
<DIV>I want to use a stack of JPEG images as input and having as output a MPEG file<BR></DIV>
<DIV>Stack of JPEG images --------------- > X ---------------------> MPEG file as output.</DIV>
<DIV> </DIV>
<DIV>I want to avoid the use of an external program because I want to integrate the process of transformation in my project.</DIV>
<DIV> </DIV>
<DIV>Thank you in advance</DIV>
<DIV><BR>--- En date de : <B>Mar 26.1.10, Kevin H. Hobbs <I><hobbsk@ohiou.edu></I></B> a écrit :<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>De: Kevin H. Hobbs <hobbsk@ohiou.edu><BR>Objet: Re: [vtkusers] Produce an MPEG file from a stack of JPEG image<BR>À: "Fireman Fireman" <vtkusersneedhelp@yahoo.fr><BR>Cc: vtkusers@vtk.org<BR>Date: Mardi 26 Janvier 2010, 11h28<BR><BR>
<DIV class=plainMail>On 01/26/2010 03:01 AM, Fireman Fireman wrote:<BR>> Dear vtkusers,<BR>> <BR>> I want to know if VTK provides a solution to produce an MPEG file from<BR>> a stack of JPEG image.<BR>> <BR>> Can you provide me in this case a small example (source code or steps) ?<BR>> <BR>> Thank you in advance<BR>><BR>><BR><BR>First what operating system are you using?<BR><BR>Do you want to load the JPEG images into a volume and do some rendering<BR>for each frame?<BR><BR> OR<BR><BR>Do you want each frame to just be a copy of one of the JPEG images?<BR><BR>This last is better accomplished with other programs.<BR><BR>I use mencoder :<BR> mencoder mf://vol*.png -of mpeg -o tmp.mpeg -ovc lavc -oac copy<BR><BR> <BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>