mmwrite
write AVI/ASF/WMV/WMA file from movies read by mmread
Author: Micah Richert
Thanks Micah,
Unfortunately the 64-bit version still seems to have issues with Server 2003 R2 even if I'm sure DirectX is installed. You probably don't have a computer with that OS to try, so if I ever make it work I'll let you know. Otherwise I'll just have to save AVI's with Matlab's function in 64-bit and go into a 32-bit Matlab and convert them.
01 Dec 2009
mmwrite
write AVI/ASF/WMV/WMA file from movies read by mmread
Author: Micah Richert
Also, I am trying to run the function and keep getting similar error to Caglayan:
Invalid MEX-file '...MATLAB Path...\mmwrite\mmwrite.mexw64': The specified module could not be found.
For me I get this same error when I run either mmwrite('blah.wmv',mov) or list=mmwrite('ListAviVideoEncoders')
I tried installing ffdshow (supposedly 64-bit version of klite) but to no avail. I'm not sure where this depend.exe file can be found, but is it possible I'm missing a file or a codec still?
Thanks again!
30 Nov 2009
mmwrite
write AVI/ASF/WMV/WMA file from movies read by mmread
Author: Micah Richert
Micah,
Thanks for your work on writing video files using Matlab. I was wondering if you have any further insights into making mmwrite work with 64-bit windows? I am running 2009a 64-bit Matlab on a Windows Server 2003 R2 64-bit OS. Also, is there any possibility of including MPEG capabilites, or am I out of luck.
Thanks so much!
30 Nov 2009
mpgwrite
The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file.
Author: David Foti
Anyone that wishes to help, I am having trouble compiling (via makedll.m) the source code. I am attempting to do this on a Windows Server 2003 R2 64-bit computer running Matlab 2009a 64-bit and using the Visual Studio 2008 Express and Microsoft Platform SDK R2 as the compiler. Can the source code as written be used to create a 64-bit mex-file version of mpgwrite? If not, are there any mpeg creating functions that can run on 64-bit windows?
Hope someone can help me! Thanks so much in advance!
Hi Micah,
Your code is great, and I want to edit some parts to meet my needs.
But when I install Visual C++ 2010 along with Windows SDK v7.1, it still can't find many header file, and some header file from directshow seems can not compile correctly :(
Can you do me a favor to list the directX version that you used?
Thanks a lot!!
Yang
5
10 Jul 2012
mpgwrite
The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file.
Great function.
Problem:In Linux crashes matlab after writing the file.
Solution: As Dan Russ said (above), the way to fix this is go into the mpeg.c file in src and comment out the line: "fclose(ofp);" in GenMPEGStream
Comment only