QuickTime SDK による開発 (Windows)

開発環境構築

1. 下にあるリンク集の「QuickTimeのトップページ」から、QuickTimePlayer??をダウンロードし、インストールを行う。

2. 同じ「QuickTimeのトップページ」から、3gppコンポーネントをインストールする。

3.「QuickTimeDeveloper??のトップページ」から、QuickTime 6 SDKをダウンロードしてインストールする。QTDevWin??というフォルダ内に、インクルードファイルやライブラリなどが入っているので、コンパイルやリンク時にこの下を参照するように、VCなどに設定しておく。

4. 必要であれば、サンプルなどをインストールしておくこと。サンプルは、SDKと同じページの左にある「ADC Resources」と囲われた部分にリンクがある。

市販ライブラリ

AACやAMR、MPEG4などのコーデックを自前で作る場合に便利かもしれない。28,000円で購入できる模様。ランタイムの再配布はフリー。ただし、コーデックそのもののライセンスは別途払う必要あり。

QuickTime6.3SDKと3gpp

できること

   * *.3gpファイル(画:MPEG4/音:なし)→AVIファイル(画:cinepak/音:なし)
   * *.3gpファイル(画:MPEG4/音:AAC)→AVIファイル(画:cinepak/音:非圧縮)
   * AVIファイル(画:cinepak/音:なし)→*.3gpファイル(画:MPEG4/音:なし)

できないこと

   * *.3gpファイル(画:MPEG4/音:AMR)→AVIファイル(画:cinepak/音:非圧縮)

これはできるような気もするのだが、動作させるとアクセスバイオレーションを 起こして異常終了する。QTSDKのサンプル(qtdataexchange.win)を使っても 同様の現象になる。ひょっとしたら、バグの可能性も・・・。

   * AVIファイル(画:cinepak/音:非圧縮)→*.3gpファイル(画:MPEG4/音:AAC)

これは、QTPlayer6.3Pro+3gppでなければできない。たとえ、Proが インストールされていても、QTのライブラリにはAACのライセンスがないため、 QTのライブラリを使用したアプリでは変換できない。

   * AVIファイル(画:cinepak/音:非圧縮)→*.3gpファイル(画:MPEG4/音:AMR)

これも上記と同じ理由による。QTPlayer6.3Proそのものでは、変換が可能。 その他、AUのフォーマット(*.amc)を扱うことも、今のところ不可能

Windows版SDKでAACコーデックの音声を出力するには

Windows版では標準ではAACコーデックの音声が出力できない。

http://developer.apple.com/qa/qa2001/qa1347.html  にWindows上でSDKを使って開発した人からの質問とその回答が載っている。

Q: I'm trying to create MPEG-4 (.mp4), 3GPP (.3gp) and/or 3GPP2 (.3g2) format files on my Windows PC using the ConvertMovieToFile? function. The resulting files always contain valid video, but no audio. No errors are being returned from this function. What am I doing wrong?

A: The AAC and AMR compressors that ship with QuickTime are only available to licensed applications via a private Software Development Kit (SDK) on Windows. Therefore, you can't use any of the QuickTime movie exporter functions such as ConvertMovieToFile? from your own application to encode audio to the AMR or AAC formats without first obtaining a patent license from one of the following licensing organizations:

	Contact Via Licensing Corporation for AAC licensing information.
	Contact VoiceAge for AMR licensing information.

However, you can encode audio to the AMR or AAC formats using QuickTime Pro on Windows. Once the patent license is obtained, contact Apple Software Licensing for the appropriate SDK license. When contacting Apple Software Licensing please indicate which SDK license you're interested in, the full company name, address and contact email address. On Macintosh, applications can create content with these formats without the requirements mentioned above.

SDKを使って開発したアプリケーションで Audio Codec : AAC or AMR の動画を出力する場合、 Windows の場合、AAC, AMRのライセンスを取得し、それからAppleのライセンス担当に 連絡しないとダメなようだ。 但し、Mac OS X'' なら上記ライセンスがなくても生成できる。

サンプルソース

QuickTime SDKによる開発 (Mac OS X)

QuickTime Kitで提供される主なクラスの概念図

http://pcweb.mycom.co.jp/photo/articles/2005/05/06/qtkit/images/019l.jpg

ドキュメント

メーリングリスト


トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2017-04-09 (日) 21:28:04 (2567d)