<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thank you very much for your answer.<BR><BR>I'm using XP as operating system and C++/Qt&nbsp;&nbsp; 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>&nbsp;</DIV>
<DIV>I want to use a stack of JPEG &nbsp;images as input and having as output a MPEG file<BR></DIV>
<DIV>Stack of JPEG &nbsp;images&nbsp; ---------------&nbsp;&gt;&nbsp; X ---------------------&gt; MPEG file as output.</DIV>
<DIV>&nbsp;</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>&nbsp;</DIV>
<DIV>Thank you in advance</DIV>
<DIV><BR>--- En date de&nbsp;: <B>Mar 26.1.10, Kevin H. Hobbs <I>&lt;hobbsk@ohiou.edu&gt;</I></B> a écrit&nbsp;:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>De: Kevin H. Hobbs &lt;hobbsk@ohiou.edu&gt;<BR>Objet: Re: [vtkusers] Produce an MPEG file from a stack of JPEG image<BR>À: "Fireman Fireman" &lt;vtkusersneedhelp@yahoo.fr&gt;<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>&gt; Dear vtkusers,<BR>&gt;&nbsp; <BR>&gt; I want to know if VTK provides a solution to produce an MPEG file from<BR>&gt; a stack of JPEG image.<BR>&gt;&nbsp; <BR>&gt; Can you provide me in this case a small example (source code or steps) ?<BR>&gt;&nbsp; <BR>&gt; Thank you in advance<BR>&gt;<BR>&gt;<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>&nbsp;&nbsp;&nbsp;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>&nbsp; mencoder mf://vol*.png -of mpeg -o tmp.mpeg -ovc lavc -oac copy<BR><BR>&nbsp;&nbsp;&nbsp;<BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>