Video package: Difference between revisions

m (Remove redundant Category:Packages.)
 
(13 intermediate revisions by 4 users not shown)
Line 5: Line 5:
== on Debian Jessie using "pkg -forge" ==
== on Debian Jessie using "pkg -forge" ==


<code>
sudo apt-get install libavutil-dev libavformat-dev libswscale-dev libavcodec-dev
sudo apt-get install libavutil-dev libavformat-dev libswscale-dev libavcodec-dev
</code>


On the Octave prompt:
On the Octave prompt:


<code>
>> pkg install -forge video
>> pkg install -forge video
</code>


== On Windows ==
== on CentOS Linux release 7.2.1511 (Core) with GNU Octave Version 3.8.2 ==
 
yum install octave-devel
yum install libvorbis  yasm freetype zlib bzip2 faac lame speex libvpx libogg  libtheora  x264 XviD openjpeg15 opencore-amr
wget https://libav.org/releases/libav-11.4.tar.gz
tar xzf libav-11.4.tar.gz
cd libav-11.4
./configure --enable-pic
make -j 4
 
as root:
 
make install
 
On the Octave prompt:


You can use mxe-octave to include ffmpeg, there is already a target for it.
>> pkg install -forge video


= Known bugs =
== On Windows ==
* On MXE-Octave with ffmpeg "clear all" after using "addframe" causes a segmentation fault


<code>
The MXE builds >= 4.0.1-rc3 already includes the ffmpeg libs so video should run out of the box.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1956.0xdd4]
0x77d6e3c6 in ntdll!RtlInitUnicodeString () from C:\Windows\SysWOW64\ntdll.dll
(gdb) bt
#0 0x77d6e3c6 in ntdll!RtlInitUnicodeString ()
  from C:\Windows\SysWOW64\ntdll.dll
#1 0x19380000 in ?? ()
#2  0x77d6e013 in ntdll!RtlFreeHeap () from C:\Windows\SysWOW64\ntdll.dll
#3  0x778698cd in msvcrt!free () from C:\Windows\syswow64\msvcrt.dll
#4  0x19380000 in ?? ()
#5  0x1dc016c6 in AVHandler::~AVHandler (this=0x1da579a8,
    __in_chrg=<optimized out>) at AVHandler.cc:99
#6  0x1dc0384a in Avifile::~Avifile (this=0x1dac8570,
    __in_chrg=<optimized out>) at oct-avifile.cc:149
</code>


[[Category:Octave-Forge]]
[[Category:Octave Forge]]

Latest revision as of 11:42, 10 June 2019

The video package is part of the Octave Forge project and tries to implement the video functions from matlab. It should compile with ffmpeg and libav.

InstallationEdit

on Debian Jessie using "pkg -forge"Edit

sudo apt-get install libavutil-dev libavformat-dev libswscale-dev libavcodec-dev

On the Octave prompt:

>> pkg install -forge video

on CentOS Linux release 7.2.1511 (Core) with GNU Octave Version 3.8.2Edit

yum install octave-devel
yum install libvorbis  yasm freetype zlib bzip2 faac lame speex libvpx libogg  libtheora  x264 XviD openjpeg15 opencore-amr
wget https://libav.org/releases/libav-11.4.tar.gz
tar xzf libav-11.4.tar.gz
cd libav-11.4
./configure --enable-pic
make -j 4

as root:

make install

On the Octave prompt:

>> pkg install -forge video

On WindowsEdit

The MXE builds >= 4.0.1-rc3 already includes the ffmpeg libs so video should run out of the box.