Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [030f70] default /
History



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

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