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 8 Downloads (last 30 days) File Size: 44.92 KB File ID: #25653
image thumbnail

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

by Hanef Banef

 

26 Oct 2009

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  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
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.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
mac Hanef Banef 27 Oct 2009 10:21:11
video Hanef Banef 27 Oct 2009 10:21:12
linux Hanef Banef 27 Oct 2009 10:21:12
visualisation Hanef Banef 27 Oct 2009 10:21:12
image processing Hanef Banef 27 Oct 2009 10:21:12

Contact us at files@mathworks.com