Package Details: octave-video 2.1.3-1

Git Clone URL: https://aur.archlinux.org/octave-video.git (read-only, click to copy)
Package Base: octave-video
Description: A wrapper for ffmpeg's libavformat and libavcodec, implementing addframe, avifile, aviinfo and aviread.
Upstream URL: https://gnu-octave.github.io/packages/video/
Licenses: GPL-3.0-or-later and BSD-3-Clause
Groups: octave-forge
Submitter: wangjiezhe
Maintainer: pingplug
Last Packager: pingplug
Votes: 5
Popularity: 0.64
First Submitted: 2015-12-24 02:00 (UTC)
Last Updated: 2025-05-16 16:29 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

ThePirate42 commented on 2026-09-22 09:54 (UTC) (edited on 2026-09-22 09:55 (UTC) by ThePirate42)

make: ingresso nella directory «/tmp/oct-ym4UVC/video-2.1.3/src»
/usr/bin/mkoctfile-11.3.0 --verbose -Wall -v  -DPACKAGE_NAME=\"Octave-Forge\ video\ package\" -DPACKAGE_TARNAME=\"octave-forge-video-package\" -DPACKAGE_VERSION=\"2.1.1\" -DPACKAGE_STRING=\"Octave-Forge\ video\ package\ 2.1.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" __cap_ffmpeg_wrapper__.cc  -lswscale -lavformat -lavcodec -lavutil  -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto
g++ -c  -fPIC -I/usr/include/octave-11.3.0/octave/.. -I/usr/include/octave-11.3.0/octave  -pthread -fopenmp -march=native -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto  -Wall -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto   -DPACKAGE_NAME="Octave-Forge video package" -DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSION="2.1.1" -DPACKAGE_STRING="Octave-Forge video package 2.1.1" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" __cap_ffmpeg_wrapper__.cc -o /tmp/oct-xJHeNd.o
In file included from __cap_ffmpeg_wrapper__.cc:18:
cap_ffmpeg_impl_ov.hpp: In member function ‘void CvCapture_FFMPEG::close()’:
cap_ffmpeg_impl_ov.hpp:655:9: error: ‘avcodec_close’ was not declared in this scope; did you mean ‘avio_close’?
  655 |         avcodec_close( context );
      |         ^~~~~~~~~~~~~
      |         avio_close
cap_ffmpeg_impl_ov.hpp: In member function ‘void CvCapture_FFMPEG::get_rotation_angle()’:
cap_ffmpeg_impl_ov.hpp:1505:12: error: ‘av_stream_get_side_data’ was not declared in this scope; did you mean ‘av_frame_get_side_data’?
 1505 |     data = av_stream_get_side_data(video_st, AV_PKT_DATA_DISPLAYMATRIX, NULL);
      |            ^~~~~~~~~~~~~~~~~~~~~~~
      |            av_frame_get_side_data
cap_ffmpeg_impl_ov.hpp: In function ‘AVCodecContext* icv_configure_video_stream_FFMPEG(AVFormatContext*, AVStream*, const AVCodec*, int, int, int, double, AVPixelFormat, int)’:
cap_ffmpeg_impl_ov.hpp:1837:15: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_framerates’
 1837 |     if(codec->supported_framerates){
      |               ^~~~~~~~~~~~~~~~~~~~
cap_ffmpeg_impl_ov.hpp:1838:37: error: ‘const AVCodec’ {aka ‘const struct AVCodec’} has no member named ‘supported_framerates’
 1838 |         const AVRational *p= codec->supported_framerates;
      |                                     ^~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:12: __cap_ffmpeg_wrapper__.oct] Error 1
make: uscita dalla directory «/tmp/oct-ym4UVC/video-2.1.3/src»

gloomy commented on 2023-02-16 14:05 (UTC) (edited on 2023-02-16 14:06 (UTC) by gloomy)

I get tons of compile errors when trying to install:

make: Entering directory '/tmp/oct-T55zn7/video-2.0.2/src'
/usr/bin/mkoctfile-7.3.0 --verbose -Wall -v  -DPACKAGE_NAME=\"Octave-Forge\ video\ package\" -DPACKAGE_TARNAME=\"octave-forge-video-package\" -DPACKAGE_VERSION=\"2.0.2\" -DPACKAGE_STRING=\"Octave-Forge\ video\ p
ackage\ 2.0.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" cap_ffmpeg_wrapper.cc  -lswscale -lavformat -lavcodec -lavutil  
g++ -c  -fPIC -I/usr/include/octave-7.3.0/octave/.. -I/usr/include/octave-7.3.0/octave  -pthread -fopenmp -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -We
rror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS  -Wall   -DPACKAGE_NAME="Octave-Forge video package" -DPACKAGE_TARNAME="octave-forge-video-package" -DPACKAGE_VERSI
ON="2.0.2" -DPACKAGE_STRING="Octave-Forge video package 2.0.2" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" cap_ffmpeg_wrapper.cc -o /tmp/oct-bDwsMH.o
In file included from cap_ffmpeg_impl_ov.hpp:83,
                 from cap_ffmpeg_wrapper.cc:18:
ffmpeg_codecs.hpp:81:26: error: ‘CODEC_ID_H264’ was not declared in this scope; did you mean ‘AV_CODEC_ID_H264’?
   81 | #define AV_CODEC_ID_H264 CODEC_ID_H264
      |                          ^~~~~~~~~~~~~
ffmpeg_codecs.hpp:146:7: note: in expansion of macro ‘AV_CODEC_ID_H264’
  146 |     { AV_CODEC_ID_H264, MKTAG('H', '2', '6', '4') },
      |       ^~~~~~~~~~~~~~~~
ffmpeg_codecs.hpp:81:26: error: ‘CODEC_ID_H264’ was not declared in this scope; did you mean ‘AV_CODEC_ID_H264’?
   81 | #define AV_CODEC_ID_H264 CODEC_ID_H264
      |                          ^~~~~~~~~~~~~
.... hundreds more like this