Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Tree [4c3f11] default /
History



File Date Author Commit
src 2009-02-11 adb014 adb014 [4c3f11] Include cstdlib in build (For Stephen Montgomer...
COPYING 2008-03-28 xavier98 xavier98 [dc92b3] octave-forgify video functions found at http://...
DESCRIPTION 2008-08-24 hauberg hauberg [0e3bfd] Bumped version number
INDEX 2008-04-11 adb014 adb014 [030462] Add category inI INDEX file
Makefile 2008-03-28 xavier98 xavier98 [dc92b3] octave-forgify video functions found at http://...
README 2008-09-27 xavier98 xavier98 [fd7623] Bring video package up to date with latest ffmp...

Read Me

Octave-Avifile
==============

Description
-----------
A wrapper for ffmpeg's libavformat and libavcodec, allowing Octave to read
and write fixed-framerate AVI (Audio/Video Interleaved) files.
	     
Author
------
Stefan van der Walt <stefan@sun.ac.za>
http://mentat.za.net

Contributors
------------
Roman Stanchak
Xavier Delacour

Dependencies
------------
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
http://ffmpeg.mplayerhq.hu

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

Compiling
---------
$ ./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.

Licence
-------
See the file `COPYING'.