Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
FW: Compressing A & V to a movie file with QT for Windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FW: Compressing A & V to a movie file with QT for Windows



Title: Message
Doesn't someone have any input? :)
 
I apologize in advance for the long messages.  I'm on a major time crunch trying to get QT output working for VloggerCon, and would greatly appreciate some help! 
 
Since I originally sent this message the other day, I've been playing with the MovieExport component.  I've been using qtmoviefromprocs.win as a guide mainly for the the aduio and video PropertyProc function.   However, I have not been able to get MovieExportFromProceduresToDataRef to work with any and or no compression.  I'm confused and can't find any doc's explaining the PropertyProc function.  Exactly what parameters need to be returned in the PropertyProcs?  I assume these are source/input parameters? 
 
Also, at the time our app displays the Publisher UI and where I call MovieExportDoUserDialog, I don't have a movie obj yet, so I'm creating a dummy movie and tracks, and keeping the QTAtomContainer to configure the MovieExportComponent later when we render out the movie.  Do I need to pass in the actual duration and not that of the dummy movie?  Are the any othe problems in doing this?
 
So, now I'm tempted to go back to using the ICM method.  The problem with using the ICM, I still don't know which method/API to use to compress the audio as stated in my previous message.
 
In the end we need to be output our audio and video data to all the standard QuickTime formats.  What is the best direction?  
 
Thank you,
Joe H
Vlog It! lead Developer
Serious Magic
 
-----Original Message-----
From: quicktime-api-bounces+jhonoroff=email@hidden [mailto:quicktime-api-bounces+jhonoroff=email@hidden] On Behalf Of Joe Honoroff
Sent: Tuesday, June 06, 2006 12:25 PM
To: email@hidden
Subject: Compressing A & V to a movie file with QT for Windows

Hi all,
This is my first post, however I've been searching and reading the list for the past two weeks.
 
We have a windows app where users create and output videos.  I am responsible for and have written the publisher (output module), which currently output AVI, WMV, RM, and Flash.  I am now in the process of adding QT movie output.  We need to output for the web and uncompressed which will have UI presets, and in an advanced tab allows the user to choose form any of the components installed (I may use the Standard Dialogs for this)  I'm using QT 7 for windows and have the latest QuickTime installed. 
 
As our app renders a show, my publisher is given raw audio and video one frame and sample at a time.  I am successfully creating a .mov using CreateMovieStorage, and using the ICM to create a compression session and encode the video frames using a CVPixelBuffer.  Then I'm passing each encoded video frame and raw audio sample into AddMediaSample2.    
 
My question is, which method and set of API's should I use to compress the Audio so I can pass the encoded samples into AddMediaSample2  Originally I thought I should use the SoundMgr's ConvertSound, but then windows update guide say to use CoreAudio's ConvertAudio, but that's not fully supported and finally I read that the SoundMgr is outdated and that I should use an Audio Exporter.
 
Can someone please help me get in the right direction? 
 
 
Thank You
Joe
 
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.