[Paraview] Paraview 3.98 build error with ffmpeg

Patrick Begou Patrick.Begou at legi.grenoble-inp.fr
Wed Nov 6 09:59:41 EST 2013


I'm building paraview 3.98 with FFMPEG enabled.
I've installed FFMPEG 2.1 from http://ffmpeg.org/download.html#release_2.1

I get two errors in ParaView-3.98.1-source/VTK/IO/FFMPEG/vtkFFMPEGWriter.cxx:

1) vtkFFMPEGWriter.cxx:165:18: error: ‘CodecID’ was not declared in this scope
c->codec_id = (CodecID)this->avOutputFormat->video_codec;

2) vtkFFMPEGWriter.cxx:234:28: error: ‘avcodec_open’ was not declared in this scope
if (avcodec_open(c, codec) < 0)

I was unable to find if there is a recommended version of ffmpeg to use for 
building paraview 3.98 and I'm not familiar with ffmpeg.

Thanks for your advices.

Patrick

Environment: GCC 4.8.1 and OpenMPI 1.7.3 on RHEL6

-- 
===================================================================
|  Equipe M.O.S.T.         |                                      |
|  Patrick BEGOU           | mailto:Patrick.Begou at grenoble-inp.fr |
|  LEGI                    |                                      |
|  BP 53 X                 | Tel 04 76 82 51 35                   |
|  38041 GRENOBLE CEDEX    | Fax 04 76 82 52 71                   |
===================================================================




More information about the ParaView mailing list