Code covered by the BSD License  

Highlights from
Video processing in MATLAB 2009 for Mac OS X and Linux 64 using ffmpeg

5.0

5.0 | 1 rating Rate this file 13 Downloads (last 30 days) File Size: 44.9 KB File ID: #25653
image thumbnail

Video processing in MATLAB 2009 for Mac OS X and Linux 64 using ffmpeg

by

 

Yet another MATLAB 2009b video package. Fancy coverflow 3d visualization!

| Watch this File

File Information
Description

I checked out a couple of projects out there, e.g. videoIO - but I didn't get lucky with it, so I did some very basic things on my own:

    * Most stupid way of implementation

The source provides the slowest and most stupid way for video processing, but it works: It starts ffmpeg (must be installed) and writes pictures of every single frame into the dir /tmp/*cputimehash*. Then it reads the pictures iteratively. Video Information is extracted via 'aviinfo' if it is a avi.

    * both MATLAB video object and uint8 matrix

The objects builds a MATLAB movie object with colormap and a convenient matrix holding all your pixel ready to process. There you can change pixels easily and convert it back (v = v.matrix2movie, v = v.movie2matrix)

    * Fancy coverflow visualization

Yes, I seriously map single frames on 3d objects as a texture. There's nothing wrong about it. You can even zoom, drag and edit every object in there interactively! (see screenshot)

needs to have ffmpeg installed

Required Products Image Processing Toolbox
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
18 Jan 2010 Roy

I just tried it on a video that quicktime and matlab couldn't handle on my Mac. What a lifesaver. Thanks.

Contact us