[Paraview] Creating videos from animations

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Feb 27 11:39:51 EST 2013


You're using  a newer ffmpeg. Refer to
http://paraview.org/Wiki/ParaView_Binaries. Use the same version of
ffmpeg as indicated on this page.

Utkarsh

On Wed, Feb 27, 2013 at 11:36 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
> Hmmm, I think this is the reason I finally toggled it off:
>
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx: In member
> function ‘int vtkFFMPEGWriterInternal::Start()’:
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:126: error:
> ‘guess_format’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:143: warning:
> ‘av_new_stream’ is deprecated (declared at
> /usr/local/include/libavformat/avformat.h:1557)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:143: warning:
> ‘av_new_stream’ is deprecated (declared at
> /usr/local/include/libavformat/avformat.h:1557)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:153: error:
> ‘CODEC_TYPE_VIDEO’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:196: error:
> ‘av_set_parameters’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:209: warning:
> ‘avcodec_open’ is deprecated (declared at
> /usr/local/include/libavcodec/avcodec.h:3380)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:209: warning:
> ‘avcodec_open’ is deprecated (declared at
> /usr/local/include/libavcodec/avcodec.h:3380)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:262: error:
> ‘URL_WRONLY’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:262: error:
> ‘url_fopen’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:269: error:
> ‘av_write_header’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx: In member
> function ‘int vtkFFMPEGWriterInternal::Write(vtkImageData*)’:
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:326: warning:
> ‘avcodec_encode_video’ is deprecated (declared at
> /usr/local/include/libavcodec/avcodec.h:4078)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:329: warning:
> ‘avcodec_encode_video’ is deprecated (declared at
> /usr/local/include/libavcodec/avcodec.h:4078)
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:346: error:
> ‘PKT_FLAG_KEY’ was not declared in this scope
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx: In member
> function ‘void vtkFFMPEGWriterInternal::End()’:
> /usr/local/ParaView-3.14.1-Source/VTK/IO/vtkFFMPEGWriter.cxx:394: error:
> ‘url_fclose’ was not declared in this scope
> make[2]: *** [VTK/IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1
> make[1]: *** [VTK/IO/CMakeFiles/vtkIO.dir/all] Error 2
> make: *** [all] Error 2
>
>
>> Date: Wed, 27 Feb 2013 09:56:06 -0500
>> Subject: Re: [Paraview] Creating videos from animations
>> From: utkarsh.ayachit at kitware.com
>> To: stan1313 at hotmail.fr
>> CC: paraview at paraview.org
>>
>> I think VTK_USE_FFMPEG_ENCODER needs to be ON for 3.14.1.
>>
>> On Wed, Feb 27, 2013 at 8:32 AM, Utkarsh Ayachit
>> <utkarsh.ayachit at kitware.com> wrote:
>> > Can you attach your CMakeCache.txt?
>> >
>> > On Fri, Feb 15, 2013 at 9:47 AM, Fred Fred <stan1313 at hotmail.fr> wrote:
>> >> Hello,
>> >> I compiled PV with FFMPEG library enabled:
>> >> FFMPEG_INCLUDE_DIR /usr/local/include
>> >> FFMPEG_avcodec_LIBRARY /usr/local/lib/libavcodec.dylib
>> >> FFMPEG_avformat_LIBRARY /usr/local/lib/libavformat.dylib
>> >> FFMPEG_avutil_LIBRARY /usr/local/lib/libavutil.dylib
>> >> so I expected being able to save an animation into a video format but
>> >> if I
>> >> use File->SaveAnimation I get a list of files, which requires an
>> >> external
>> >> tool to build a video from them.
>> >> So is there a problem with my implementation or what does FFMEG library
>> >> mean
>> >> in the configuration file?
>> >>
>> >>
>> >> _______________________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Please keep messages on-topic and check the ParaView Wiki at:
>> >> http://paraview.org/Wiki/ParaView
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.paraview.org/mailman/listinfo/paraview
>> >>


More information about the ParaView mailing list