[vtk-developers] [VTK 0012691]: vtk incompatible with ffmpeg 0.8 api
Mantis Bug Tracker
mantis at public.kitware.com
Mon Oct 31 14:31:11 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://www.vtk.org/Bug/view.php?id=12691
======================================================================
Reported By: td123
Assigned To:
======================================================================
Project: VTK
Issue ID: 12691
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: TBD
Type: incorrect functionality
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2011-10-31 14:31 EDT
Last Modified: 2011-10-31 14:31 EDT
======================================================================
Summary: vtk incompatible with ffmpeg 0.8 api
Description:
I get errors when trying to build vtk against the latest ffmpeg on archlinux.
Debian seems to have the relevant patch and when I applied it and rebuilt, it
fixed the error:
http://patch-tracker.debian.org/patch/series/view/vtk/5.8.0-1/debian-changes-5.6.1-6.1
The following is the full error message:
[ 47%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o
/build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘int
vtkFFMPEGWriterInternal::Start()’:
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:126:56: error: ‘guess_format’ was not
declared in this scope
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:143:20: warning: ‘AVStream*
av_new_stream(AVFormatContext*, int)’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1528) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:143:58: warning: ‘AVStream*
av_new_stream(AVFormatContext*, int)’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1528) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:153:19: error: ‘CODEC_TYPE_VIDEO’ was
not declared in this scope
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:196:7: warning: ‘int
av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated
(declared at /usr/include/libavformat/avformat.h:1611)
[-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:196:52: warning: ‘int
av_set_parameters(AVFormatContext*, AVFormatParameters*)’ is deprecated
(declared at /usr/include/libavformat/avformat.h:1611)
[-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:209:7: warning: ‘int
avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3905) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:209:28: warning: ‘int
avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared at
/usr/include/libavcodec/avcodec.h:3905) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:262:7: warning: ‘int
url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at
/usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:262:88: warning: ‘int
url_fopen(AVIOContext**, const char*, int)’ is deprecated (declared at
/usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:269:3: warning: ‘int
av_write_header(AVFormatContext*)’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1669) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:269:40: warning: ‘int
av_write_header(AVFormatContext*)’ is deprecated (declared at
/usr/include/libavformat/avformat.h:1669) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘int
vtkFFMPEGWriterInternal::Write(vtkImageData*)’:
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:346:20: error: ‘PKT_FLAG_KEY’ was not
declared in this scope
/build/src/VTK/IO/vtkFFMPEGWriter.cxx: In member function ‘void
vtkFFMPEGWriterInternal::End()’:
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:394:7: warning: ‘int
url_fclose(AVIOContext*)’ is deprecated (declared at
/usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations]
/build/src/VTK/IO/vtkFFMPEGWriter.cxx:394:43: warning: ‘int
url_fclose(AVIOContext*)’ is deprecated (declared at
/usr/include/libavformat/avio.h:280) [-Wdeprecated-declarations]
make[2]: *** [IO/CMakeFiles/vtkIO.dir/vtkFFMPEGWriter.cxx.o] Error 1
make[1]: *** [IO/CMakeFiles/vtkIO.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-10-31 14:31 td123 New Issue
======================================================================
More information about the vtk-developers
mailing list