@David, I tried the (probably even older) version recommended at <a href="http://vtk.org">vtk.org</a> 
earlier today, but then the compiler started to complain about the missing 
library libswscale. With FFMPEG version 0.6.3 VTK seems to compile flawlessly.  <br><br><br><div class="gmail_quote">On Wed, Oct 5, 2011 at 9:38 PM, David Partyka <span dir="ltr">&lt;<a href="mailto:david.partyka@kitware.com">david.partyka@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Cool I wonder if the patch is backward compatible. Will give it a try.<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Wed, Oct 5, 2011 at 3:21 PM, Mathieu Malaterre <span dir="ltr">&lt;<a href="mailto:mathieu.malaterre@gmail.com" target="_blank">mathieu.malaterre@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">You could use debian&#39;s patch for libav:<br>
<br>
<a href="http://patch-tracker.debian.org/patch/series/view/vtk/5.6.1-7/debian-changes-5.6.1-6.1" target="_blank">http://patch-tracker.debian.org/patch/series/view/vtk/5.6.1-7/debian-changes-5.6.1-6.1</a><br>
<br>
HTH<br>
<div><br>
On Wed, Oct 5, 2011 at 9:09 PM, Martijn Steenwijk<br>
&lt;<a href="mailto:martijnsteenwijk@gmail.com" target="_blank">martijnsteenwijk@gmail.com</a>&gt; wrote:<br>
</div><div><div></div><div>&gt; Dear all,<br>
&gt;<br>
&gt; I&#39;m trying to compile vtk 5.8.0 with FFMPEG 0.8.5, but get the following<br>
&gt; error. Any thoughts about how to fix this?<br>
&gt;<br>
&gt;  55%] Built target vtkGenericFilteringPython<br>
&gt; [ 55%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o<br>
&gt; In file included from<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avformat.h:42:0,<br>
&gt;                  from<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:27:<br>
&gt; /usr/local/ffmpeg_inst/include/libavcodec/avcodec.h:525:27: warning:<br>
&gt; attribute ignored in declaration of ‘enum AVLPCType’<br>
&gt; /usr/local/ffmpeg_inst/include/libavcodec/avcodec.h:525:27: warning:<br>
&gt; attribute for ‘enum AVLPCType’ must follow the ‘enum’ keyword<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function ‘int<br>
&gt; vtkFFMPEGWriterInternal::Start()’:<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:126:56: error:<br>
&gt; ‘guess_format’ was not declared in this scope<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:153:19: error:<br>
&gt; ‘CODEC_TYPE_VIDEO’ was not declared in this scope<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:196:7: warning: ‘int<br>
&gt; av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated<br>
&gt; (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1407)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:196:52: warning: ‘int<br>
&gt; av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated<br>
&gt; (declared at /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1407)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:262:7: warning: ‘int<br>
&gt; url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avio.h:279)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:262:88: warning: ‘int<br>
&gt; url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avio.h:279)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:269:3: warning: ‘int<br>
&gt; av_write_header(AVFormatContext*)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1465)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:269:40: warning: ‘int<br>
&gt; av_write_header(AVFormatContext*)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avformat.h:1465)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function ‘int<br>
&gt; vtkFFMPEGWriterInternal::Write(vtkImageData*)’:<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:346:20: error:<br>
&gt; ‘PKT_FLAG_KEY’ was not declared in this scope<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx: In member function<br>
&gt; ‘void vtkFFMPEGWriterInternal::End()’:<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:394:7: warning: ‘int<br>
&gt; url_fclose(AVIOContext*)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avio.h:280)<br>
&gt; /home/martijn/libs/vtk-5.8.0/IO/vtkFFMPEGWriter.cxx:394:43: warning: ‘int<br>
&gt; url_fclose(AVIOContext*)’ is deprecated (declared at<br>
&gt; /usr/local/ffmpeg_inst/include/libavformat/avio.h:280)<br>
&gt; make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1<br>
&gt; make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
&gt; Best,<br>
&gt; Martijn<br>
&gt;<br>
</div></div><div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Mathieu<br>
</font><div><div></div><div>_______________________________________________<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 VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>