Editing Video package

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 31: Line 31:
 
== On Windows ==
 
== On Windows ==
  
The MXE builds >= 4.0.1-rc3 already includes the ffmpeg libs so video should run out of the box.
+
=== 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
 +
 
 +
pkg -verbose -forge install video
 +
 
 +
=== using official mxe-build and ffmpeg binaries ===
 +
 
 +
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
 +
 
 +
* 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
 +
 
 +
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
 +
 
 +
pkg -verbose install video-1.2.2.tar.gz
 +
 
 +
Load it before any usage:
 +
 
 +
pkg load video
 +
 
  
 
[[Category:Octave Forge]]
 
[[Category:Octave Forge]]

Please note that all contributions to Octave may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Octave:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: