[Paraview-developers] Which version of ffmpeg should I build ParaView 3.14 with?

Joe Ping-Lin Hsiao phsiao at cs.unc.edu
Tue Feb 28 15:40:58 EST 2012


Hi Utkarsh and Scott,

   Thanks for the input. I tried Scott's configuration setting in both
0.6.1 and 0.6.5, but I still got errors when saving a .avi file. I
also tried with different parameters, e.g. --arch=x86_64, but it
didn't help. The errors are

Generic Warning: In
/Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx, line
211
Could not open codec.

ERROR: In /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx,
line 514
vtkFFMPEGWriter (0x128cac300): Error initializing video stream.

A weird thing is the error messages only appear if I set the fps to
greater than one in the saving dialog. If I leave it to the default
value, which is one, there is no problem.

Here is my system info:
Mac OS X 10.6.8
Qt 4.6.3
ParaView 3.14.0
ffmpeg 0.6.1 and 0.6.5

The configure setting is same as Scott's:
./configure --disable-static --disable-network --disable-zlib
--disable-ffserver --disable-ffplay --disable-decoders --enable-shared
--enable-swscale --prefix=/Users/phsiao/dev/ffmpeg-0.6.1-make-install



On Mon, Feb 27, 2012 at 2:44 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> ParaView 3.14 binaries are built with FFMPEG 0.6.5. You can get it
> from : http://paraview.org/files/v3.14/dependencies/
>
> Utkarsh
>
> On Mon, Feb 27, 2012 at 8:56 AM, Joe Ping-Lin Hsiao <phsiao at cs.unc.edu> wrote:
>> Hi,
>>
>> I failed building ParaView 3.14 with ffmpeg on Mac. The error messages are
>>
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:117:
>> error: ‘av_alloc_format_context’ was not declared in this scope
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:126:
>> error: ‘guess_format’ was not declared in this scope
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:143:
>> warning: ‘av_new_stream’ is deprecated (declared at
>> /Users/phsiao/dev/ffmpeg-make-install/include/libavformat/avformat.h:1440)
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:143:
>> warning: ‘av_new_stream’ is deprecated (declared at
>> /Users/phsiao/dev/ffmpeg-make-install/include/libavformat/avformat.h:1440)
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:153:
>> error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:196:
>> error: ‘av_set_parameters’ was not declared in this scope
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:209:
>> warning: ‘avcodec_open’ is deprecated (declared at
>> /Users/phsiao/dev/ffmpeg-make-install/include/libavcodec/avcodec.h:3675)
>> /Users/phsiao/dev/src/ParaView-3.14.0/VTK/IO/vtkFFMPEGWriter.cxx:209:
>> warning: ‘avcodec_open’ is deprecated (declared at
>> /Users/phsiao/dev/ffmpeg-make-install/include/libavcodec/avcodec.h:3675)
>>
>> ...
>>
>> ffmpeg was downloaded from the most recent git repository. By
>> googling, people said the API has been changed a bit since ffmpeg
>> 0.8.6. So I am wondering which version should I use?
>>
>> Thanks,
>> Joe
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers


More information about the Paraview-developers mailing list