Code covered by the BSD License  

Highlights from
FFmpeg Toolbox

5.0 | 1 rating Rate this file 58 Downloads (last 30 days) File Size: 14.7 KB File ID: #42296

FFmpeg Toolbox


Kesh Ikuma (view profile)


19 Jun 2013 (Updated )

A set of wrapper functions to run FFmpeg directly from Matlab

| Watch this File

File Information

FFmpeg ( is a complete, cross-platform solution to record, convert and stream audio and video. FFmpeg Toolbox is aimed to bring FFmpeg features to Matlab.
Toolbox Setup
 ffmpegsetup - Run this first to use this toolbox
 ffmpegpixfmts - Shows supported video pixel formats
FFmpeg wrapper functions
 ffmpeginfo - Retrieves media file information
 ffmpegtranscode - Transcode media file (supports croping & scaling)

MATLAB release MATLAB 8.1 (R2013a)
Other requirements FFmpeg (
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
30 Oct 2014 Kesh Ikuma

Kesh Ikuma (view profile)

@Evegeny - That's peculiar. I just updated my ffmpeg to the latest version and it still works but I don't run Matlab in Mac, so you need to help me a little here (of course only if you are interested). Could you run ffmpegsetup with a breakpoint set on Line 46 and tell me what "fail" and "msg" values are returned from system call?


Comment only
29 Oct 2014 Evgeny

Evgeny (view profile)

I get an error when running ffmpegsetup.m after specifying the executable binary

>> ffmpegsetup
/usr/local/Cellar/ffmpeg/2.4.2/bin/ffmpeg -version: Trace/breakpoint trap
Invalid FFMPEG executable specified.
Error using ffmpegsetup (line 58)
FFMPEG executable not found.

At the same time when I run the same command in bash terminal, I get the correct output.

OS X 10.9.5, Matlab R2014a 64bit, ffmpeg 2.4.2

Comment only
22 May 2014 bharath  
20 Jun 2013

bug fix

23 Oct 2013

Added VideoFlip option to ffmpegtranscode

Contact us