Bug#739440: FTBFS with libav10

Sebastian Ramacher sramacher at debian.org
Wed Feb 19 13:53:29 UTC 2014


Control: forwarded -1 https://github.com/Itseez/opencv/pull/2293

On 2014-02-18 19:59:48, Moritz Muehlenhoff wrote:
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:256:7: error: 'CODEC_ID_TARGA' was not declared in this
> scope
>      { CODEC_ID_TARGA, MKTAG('t', 'g', 'a', ' ') },
>        ^
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/ffmpeg_codecs.hpp:258:7: error: 'CODEC_ID_NONE' was not declared in this scope
>      { CODEC_ID_NONE, 0 },
>        ^
> In file included from /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::getProperty(int)':
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:773:33: error: 'AVStream' has no member named 'r_frame_rate'
>          return av_q2d(video_st->r_frame_rate);
>                                  ^
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In member function 'double CvCapture_FFMPEG::get_fps()':
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:820:49: error: 'AVStream' has no member named 'r_frame_rate'
>      double fps = r2d(ic->streams[video_stream]->r_frame_rate);
>                                                  ^
> In file included from /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg.cpp:45:0:
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp: In function 'int icv_av_write_frame_FFMPEG(AVFormatContext*, AVStream*, uint8_t*, uint32_t, AVFrame*)':
> /home/jmm/av10/opencv-2.4.8+dfsg1/modules/highgui/src/cap_ffmpeg_impl.hpp:1236:72: error: 'avcodec_encode_video' was not declared in this scope
>          out_size = avcodec_encode_video(c, outbuf, outbuf_size, picture);
>                                                                         ^
> make[3]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/src/cap_ffmpeg.cpp.o] Error 1
> make[3]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
> make[2]: *** [modules/highgui/CMakeFiles/opencv_highgui.dir/all] Error 2
> make[2]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/jmm/av10/opencv-2.4.8+dfsg1/obj-x86_64-linux-gnu'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

A patch for the inclusion in opencv is currently discussed at GitHub.
Marked as forwarded to the pull request with the patch.

Regards
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20140219/27df45d8/attachment.sig>


More information about the debian-science-maintainers mailing list