Hi Madhura,<div><br></div><div>I can recreate this bug with my own binary but also discovered it seems to work if the frame rate is a power of 2 (2,4,8,16,32,..). I have a feeling something is going wrong possibly computing bit rates etc when initializing ffmpeg. Do you mind also reporting a bug on ParaView.org/Bug.</div>

<div><br></div><div>Thanks!<br><br><div class="gmail_quote">On Fri, Feb 25, 2011 at 11:28 AM, Madhura Phadke <span dir="ltr">&lt;<a href="http://madhura.np">madhura.np</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><font size="2"><font face="trebuchet ms,sans-serif">Hi,<br><br>I switched to Paraview 3.10.0 RC1 (downloaded from the website) and I get the following error when saving animation as a .avi file:<br>

</font></font><span style="font-family:trebuchet ms,sans-serif"></span><br clear="all">

<p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:9pt;color:rgb(128, 0, 0)">Generic Warning: In /home/kitware/Projects/ParaView-3.10/source/VTK/IO/vtkFFMPEGWriter.cxx, line 211</span></p>




<p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:9pt;color:rgb(128, 0, 0)">Could not open codec.</span></p>


<p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:9pt;color:rgb(128, 0, 0)">ERROR: In /home/kitware/Projects/ParaView-3.10/source/VTK/IO/vtkFFMPEGWriter.cxx, line 514</span></p>


<p style="margin:0px;text-indent:0px"><span style="font-family:&#39;Courier&#39;;font-size:9pt;color:rgb(128, 0, 0)">vtkFFMPEGWriter (0x12e902d0): Error initializing video stream.</span></p><br><span style="font-family:trebuchet ms,sans-serif">I noticed this error only when I give frame rate &gt;1. I am able to save animation successfully if I give frame rate as 1fps.</span> <br style="font-family:trebuchet ms,sans-serif">



<span style="font-family:trebuchet ms,sans-serif">I am using Ubuntu 10.04, and I tried out saving animation of camera in orbit around the contour of a wavelet.</span><br><span style="font-family:trebuchet ms,sans-serif">Is there a fix or a workaround?</span><br style="font-family:trebuchet ms,sans-serif">



<br>Thanks<br style="font-family:trebuchet ms,sans-serif"><font color="#888888"><span style="font-family:trebuchet ms,sans-serif">--Madhura</span><br>
</font><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div>