[vlmc-devel] VLMC on Mac OS: Partial Success

Rohit Yadav rohityadav89 at gmail.com
Thu May 27 20:11:45 CEST 2010


Hello everyone,

I tried to compile VLMC on Mac OS, using VLC-1.1-git libs and was somehow
able to run the app \m/

Pl. see the commits:
"Add lib/include paths for Mac OS"
http://github.com/rohityadav/vlmc/commit/b31caf0a4dacb7c9145d4c5816995c93c02111b3
"Fix fwd declaration QXMLStreamWriter issues on Mac OS"
http://github.com/rohityadav/vlmc/commit/d2e7289ef108061e778107d05809205b8139b617

These two patches almost fix porting issues, on Mac OS.

Screenshots:
http://img180.imageshack.us/img180/3903/002x.png
http://img31.imageshack.us/img31/6851/003ef.png (Notice that the video is
detached from the Clip Widget...)

In case you have a Mac, you may try the buggy port based on vlc-1.1-git
i368-build (Mac OS 10.6.3)
http://rohityadav.in/projects/videolan/VLMC-Buggy-0.1.1-Mac.zip
(Unzip and run "vlmc"...)

I've used the following steps:
(Assuming you have g++, cmake 2.8+, Qt 4.6.0+ etc.)

1. Compile Release version of VLC1.1 on Mac and extract vlc libs (include,
lib and plugins folders) fom VLC-release.app to a folder named "libvlc"
(The above port includes libvlc... in case you may want to use 'em)
2. Download VLMC's src, put this "libvlc" folder in the root
3. Change absolute paths (lib and include), in cmake/FindLIBVLC.cmake
4. Compile VLMC, by: (set architecture accordingly)
      mkdir build && cd build && cmake -DCMAKE_OSX_ARCHITECTURES=i386 .. &&
make
5. Then, copy the Qtxxx.frameworks and vlmc (binary) to this folder
containing vlc libs.
6. On terminal, ./vlmc or otherwise :P

BUG: On Mac, the video widgets are detached... And some GUI parts needs
fixing...

NOTE on VLMC rendering: On Linux, rendered video has no sound.
On contrary, the video rendered on Mac OS was of better quality (with same
parameters) and had sound :P

Enjoy hacking!
Rohit Yadav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlmc-devel/attachments/20100527/ffc980c3/attachment.htm>


More information about the Vlmc-devel mailing list