Video package: Difference between revisions

Jump to navigation Jump to search
1,119 bytes removed ,  10 June 2019
m
Remove redundant Category:Packages.
No edit summary
m (Remove redundant Category:Packages.)
 
(5 intermediate revisions by 3 users not shown)
Line 31: Line 31:
== On Windows ==
== On Windows ==


=== using official mxe-build and ffmpeg binaries ===
The MXE builds >= 4.0.1-rc3 already includes the ffmpeg libs so video should run out of the box.


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.
[[Category:Octave Forge]]
 
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
 
* ffmpeg-20160105-git-68eb208-win32-shared.7z
* ffmpeg-20160105-git-68eb208-win32-dev.7z
 
Now
 
* Extract the bin/*.dll from ffmpeg-20160105-git-68eb208-win32-shared.7z to C:\Octave\Octave-4.0.0\bin
* Extract include/* from ffmpeg-20160105-git-68eb208-win32-dev.7z to C:\Octave\Octave-4.0.0\include (You should now, for example, see C:\Octave\Octave-4.0.0\include\libavutil\version.h)
* Extract lib/* from ffmpeg-20160105-git-68eb208-win32-dev.7z to C:\Octave\Octave-4.0.0\lib
 
Compile and install from Octave with
<code>
pkg -verbose -forge install video
</code>
 
Load it before any usage:
<code>
pkg load video
</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]]

Navigation menu