Video package: Difference between revisions

Jump to navigation Jump to search
302 bytes added ,  4 February 2016
No edit summary
Line 30: Line 30:


== On Windows ==
== On Windows ==
=== mxe-octave 4.0.1-rc3 ===
You could try octave 4.0.1-rc3 from http://alpha.gnu.org/gnu/octave/ which is in testing - it has the ffmpeg libraries already in it, with the previous
version of video package, which could be updated with
<code>
pkg -verbose -forge install video
</code>


=== using official mxe-build and ffmpeg binaries ===
=== using official mxe-build and ffmpeg binaries ===


This is at the moment the preferred way for windows users and assumes that you've installed Octave from the official MXE build from https://ftp.gnu.org/gnu/octave/windows/ to the default path.
This assumes that you've installed Octave from the official MXE build from https://ftp.gnu.org/gnu/octave/windows/ to the default path.


Download the ffmpeg binaries for windows from https://ffmpeg.zeranoe.com/builds/. You need the "32-bit Dev" and "32-bit Shared" archive. These instructions were tested with
Download the ffmpeg binaries for windows from https://ffmpeg.zeranoe.com/builds/. You need the "32-bit Dev" and "32-bit Shared" archive. These instructions were tested with
Line 46: Line 54:
* Extract lib/* from ffmpeg-20160105-git-68eb208-win32-dev.7z to C:\Octave\Octave-4.0.0\lib
* Extract lib/* from ffmpeg-20160105-git-68eb208-win32-dev.7z to C:\Octave\Octave-4.0.0\lib


Compile and install from Octave with
octave-video 1.2.2 tries to find avresample which isn't included in the builds. Either patch configure.ac (remove the AC_CHECK_LIB avresample), rerun ./bootstrap and repack or download this [http://www.tech-chat.de/files/video-1.2.2.tar.gz patched version] and install with
 
<code>
<code>
  pkg -verbose -forge install video
  pkg -verbose install video-1.2.2.tar.gz
</code>
</code>


Line 55: Line 64:
  pkg load video
  pkg load video
</code>
</code>
=== mxe-octave ===
You can also use mxe-octave to include ffmpeg, there is already a target for it. Future versions of MXE-Octave builds will already have video included.


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

edits

Navigation menu