Share

videoIO Toolbox for Matlab

Code

Programming Languages: C++, MATLAB

License: GNU General Public License (GPL), MIT License, Other License

Repositories

browse code, statistics, last commit on 2009-02-11 svn co https://videoio.svn.sourceforge.net/svnroot/videoio videoio

Show:

What's happening?

  • Followup: RE: videoIO on Mac OS X

    Hello lvdmaaten, It seems that you have worked out how to get VideoIO running on a MAC OSx. Would it be possible to get your changed files in order to install VideoIO? You also refer to "FFMPEG SVN as described in the installation instructions" Which installation instructions do you refer to? Do you really need SVN version or is ffmpegx also good? I used videoIO on a PC and...

    2009-10-29 13:52:04 UTC by SnowJeb

  • Followup: RE: Video IO on Ubuntu 9.04 with Matlab r2009a

    I'm glad it all went smoothly :)

    2009-10-02 23:28:38 UTC by peitschie

  • Followup: RE: Video IO on Ubuntu 9.04 with Matlab r2009a

    Peitschie, you're a star. Worked perfectly for me :) Thanks, dalleyg, for an awesome toolbox.

    2009-10-02 13:27:27 UTC by ojwoodford

  • Followup: RE: Problem with xvid codec in ffmpeg 0.5 r725

    At a library level, explicitly setting just the sample_aspect_ratio (think "pixel" when you see "sample") fixes the problem. As I recall from hunting around ffmpeg.c, the ffmpeg application uses the frame aspect ratio to calculate the pixel aspect ratio (though I could be remembering incorrectly; once I found a solution, I stopped hunting).

    2009-09-22 02:41:07 UTC by dalleyg

  • Followup: RE: Problem with xvid codec in ffmpeg 0.5 r725

    Hi delleyg, I'm moving house these days and didn't have time to post earlier. Indeed long time ago I figured out too that libxvid wouldn't work without the aspect ratio option. Are you sure that it is the pixel aspect ratio and not the aspect ratio of the frame?? Ffmpeg documentation describes it as: `-aspect aspect' Set aspect ratio (4:3, 16:9 or 1.3333, 1.7777). which to...

    2009-09-20 07:20:35 UTC by emmdarakis

  • Followup: RE: Problem with xvid codec in ffmpeg 0.5 r725

    I finally had a chance to hunt down the problem. FFMPEG has a field, sample_aspect_ratio. Nearly all codecs are okay with the aspect ratio being left unspecified (defaulting to an aspect ratio of 1:1 for square pixels). Unfortunately, libxvid doesn't want to make any guesses and thus it requires an explicit setting. I'm putting a fix in that hard codes the aspect ratio to 1:1. If you're...

    2009-09-12 22:04:29 UTC by dalleyg

  • Followup: RE: Is it faster than mmreader()+read()

    On my platform (Mac OS 10.5.7 with Matlab 7.6) videoIO is actually a lot faster than mmreader. This may be very platform-specific though! Example: >> obj = mmreader('intersection300.orig.revel.avi'); >> tic, video = read(obj); toc Elapsed time is 10.292934 seconds. >> tic, video = doFullRead('intersection300.orig.revel.avi', 'ffmpegDirect'); toc Elapsed time is...

    2009-08-05 13:15:46 UTC by lvdmaaten

  • Followup: RE: videoIO on Mac OS X

    I see. Debugging the ffmpegPopen2 sounds horrible indeed; I remember using pipes once to communicate between C++ and JavaScript: big mess! Well, I can at least use the direct implementation for now (I need speed anyway)... I did the videoIoSysInfo after the setenv. I use Matlab 7.6 (R2008a). The ffmpegDirect run outputs the following: >> standardTestBattery('ffmpegDirect')

    2009-08-05 13:10:37 UTC by lvdmaaten

  • Followup: RE: videoIO on Mac OS X

    Did you run videoIoSysInfo after the setenv call, or before it? Don't worry about the "is not fully compatible" messages right now. It's important information to know as a user, but it's presented poorly in the current version. I'm slowly working on presenting it better. The basic point is that the underlying codecs are not required to be correct...they can do things like guess...

    2009-08-05 12:50:50 UTC by dalleyg

  • Followup: RE: videoIO on Mac OS X

    It turns out my LD_LIBRARY_PATH was empty indeed. I simply set it in Matlab: setenv('LD_LIBRARY_PATH', '/usr/local/lib'); Both standardTestBatteries now terminate with a different error. The standardTestBattery('ffmpegDirect') is actually running for quite some time, claiming it runs doFullRead and doMultiFullReadTest on all movies, but when it gets to doMultiFullReadTestOnAllLoadables it...

    2009-08-05 08:37:07 UTC by lvdmaaten

Our Numbers