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

Joe Ping-Lin Hsiao phsiao at cs.unc.edu
Mon Feb 27 11:56:50 EST 2012


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


More information about the Paraview-developers mailing list