Video package: Difference between revisions

From Octave
Jump to navigation Jump to search
(Update page for 1.2.1 release)
m (Remove redundant Category:Packages.)
 
(14 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 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:
 
>> pkg install -forge video


== On Windows ==
== On Windows ==


You can use mxe-octave to include ffmpeg, there is already a target for it.
The MXE builds >= 4.0.1-rc3 already includes the ffmpeg libs so video should run out of the box.
 
= Known bugs =
* On MXE-Octave with ffmpeg "clear all" after using "addframe" causes a segmentation fault


[[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.

Installation[edit]

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.2[edit]

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 Windows[edit]

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