Tree [030f70] default /

Read Only access

File Date Author Commit
 src 2012-11-09 carandraug carandraug [330711] video: remove test that are dependent on unexis...
 COPYING 2008-03-28 xavier98 xavier98 [dc92b3] octave-forgify video functions found at http://...
 DESCRIPTION 2012-11-09 carandraug carandraug [030f70] video: do not autoload package
 INDEX 2008-04-11 adb014 adb014 [030462] Add category inI INDEX file
 NEWS 2012-11-09 carandraug carandraug [030f70] video: do not autoload package
 README 2008-09-27 xavier98 xavier98 [fd7623] Bring video package up to date with latest ffmp...

Read Me


A wrapper for ffmpeg's libavformat and libavcodec, allowing Octave to read
and write fixed-framerate AVI (Audio/Video Interleaved) files.
Stefan van der Walt <>

Roman Stanchak
Xavier Delacour

This package _should_ always work with the latest version of ffmpeg. It is
known to at least work with ffmpeg SVN revision 15410.

You can download ffmpeg from

Note that you'll need to configure it with --enable-swscale and --enable-gpl,
to enable the software scaler library (used for yuv/rgb conversions).

$ ./configure
$ make

The commands `avifile' and `addframe' should then be available in Octave.

Usage Notes
- If ffmpeg complains about "too many threads", increase the frame height
  and width.  For some obscure reason, they do a comparison between the number
  of threads and the frame dimensions.
- Remember to `clear' a movie after adding the last frame.  This gives
  `avifile' a chance to write some headers and close the file, i.e.
  octave:1> x = avifile("test.avi", "msmpeg4v2");
  octave:2> addframe(x, zeros(100,100));
  octave:3> clear x

- If `aviinfo' crashes, you might have run into a libstdc++ memory allocation
  bug.  Work around the problem by executing
  $ export GLIBCXX_FORCE_NEW=1
  before running Octave.

See the file `COPYING'.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks