[Pythonmac-SIG] Carbon/QuickTime help

Andrew Straw strawman at astraw.com
Tue May 16 06:49:02 CEST 2006


You could leverage off the work I've recently done with ctypes and
QuickTime. Here's part of the code, you should be able to find the rest
from there:
http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/src/qtmovie.py?rev=1375&view=markup

Caveats:

I don't know how well this will work on the Mac at this point -- I wrote
the ctypes stuff to get it working on Windows and probably broke the Mac
stuff, which used the quicktime module included with MacPython.

It would be great to make a ctypes/QuickTime interface
(semi)-automatically from the header files, but my needs were too
minimal to invest the effort.

I don't know how well this will work with a universal binary.

Scotty Vercoe wrote:

>I am building a media application for OS X, using QuickTime to  
>display a movie file with a different audio track.  Both my audio and  
>video threads are working fine, but I need to be able to load movie  
>segments, given start time and duration (or end time).
>
>To accomplish this, should I...
>1) load the segment instead of the entire movie file, or
>2) load the movie file, then specify the start/end times
>
>What Qt components are necessary? Does anyone know any (even  
>preliminary) documentation for the undocumented Carbon modules? other  
>resources?
>
>Thanks in advance!
>Scotty
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>  
>



More information about the Pythonmac-SIG mailing list