This looks like to be the be the framerate bug ( 
<a href="http://www.paraview.org/Bug/view.php?id=11923">http://www.paraview.org/Bug/view.php?id=11923</a> ). Does setting the frame rate to a power of two work at all for you?<div><div><br><div class="gmail_quote">On Tue, Feb 28, 2012 at 3:40 PM, Joe Ping-Lin Hsiao <span dir="ltr">&lt;<a href="mailto:phsiao@cs.unc.edu">phsiao@cs.unc.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Utkarsh and Scott,<br>
<br>
   Thanks for the input. I tried Scott&#39;s configuration setting in both<br>
0.6.1 and 0.6.5, but I still got errors when saving a .avi file. I<br>
also tried with different parameters, e.g. --arch=x86_64, but it<br>
didn&#39;t help. The errors are<br>
<br>
Generic Warning: In<br>
/Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx, line<br>
211<br>
Could not open codec.<br>
<br>
ERROR: In /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx,<br>
line 514<br>
vtkFFMPEGWriter (0x128cac300): Error initializing video stream.<br>
<br>
A weird thing is the error messages only appear if I set the fps to<br>
greater than one in the saving dialog. If I leave it to the default<br>
value, which is one, there is no problem.<br>
<br>
Here is my system info:<br>
Mac OS X 10.6.8<br>
Qt 4.6.3<br>
ParaView 3.14.0<br>
ffmpeg 0.6.1 and 0.6.5<br>
<br>
The configure setting is same as Scott&#39;s:<br>
<div class="im">./configure --disable-static --disable-network --disable-zlib<br>
--disable-ffserver --disable-ffplay --disable-decoders --enable-shared<br>
</div>--enable-swscale --prefix=/Users/phsiao/dev/ffmpeg-0.6.1-make-install<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
On Mon, Feb 27, 2012 at 2:44 PM, Utkarsh Ayachit<br>
&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt; ParaView 3.14 binaries are built with FFMPEG 0.6.5. You can get it<br>
&gt; from : <a href="http://paraview.org/files/v3.14/dependencies/" target="_blank">http://paraview.org/files/v3.14/dependencies/</a><br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Mon, Feb 27, 2012 at 8:56 AM, Joe Ping-Lin Hsiao &lt;<a href="mailto:phsiao@cs.unc.edu">phsiao@cs.unc.edu</a>&gt; wrote:<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt; I failed building ParaView 3.14 with ffmpeg on Mac. The error messages are<br>
&gt;&gt;<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:117:<br>
&gt;&gt; error: ‘av_alloc_format_context’ was not declared in this scope<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:126:<br>
&gt;&gt; error: ‘guess_format’ was not declared in this scope<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:143:<br>
&gt;&gt; warning: ‘av_new_stream’ is deprecated (declared at<br>
&gt;&gt; /Users/phsiao/dev/ffmpeg-make-install/include/libavformat/avformat.h:1440)<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:143:<br>
&gt;&gt; warning: ‘av_new_stream’ is deprecated (declared at<br>
&gt;&gt; /Users/phsiao/dev/ffmpeg-make-install/include/libavformat/avformat.h:1440)<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:153:<br>
&gt;&gt; error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:196:<br>
&gt;&gt; error: ‘av_set_parameters’ was not declared in this scope<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:209:<br>
&gt;&gt; warning: ‘avcodec_open’ is deprecated (declared at<br>
&gt;&gt; /Users/phsiao/dev/ffmpeg-make-install/include/libavcodec/avcodec.h:3675)<br>
&gt;&gt; /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:209:<br>
&gt;&gt; warning: ‘avcodec_open’ is deprecated (declared at<br>
&gt;&gt; /Users/phsiao/dev/ffmpeg-make-install/include/libavcodec/avcodec.h:3675)<br>
&gt;&gt;<br>
&gt;&gt; ...<br>
&gt;&gt;<br>
&gt;&gt; ffmpeg was downloaded from the most recent git repository. By<br>
&gt;&gt; googling, people said the API has been changed a bit since ffmpeg<br>
&gt;&gt; 0.8.6. So I am wondering which version should I use?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Joe<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Paraview-developers mailing list<br>
&gt;&gt; <a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
&gt;&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Robert Maynard<br>
</div></div>