• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: QTMovie raw data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QTMovie raw data


  • Subject: Re: QTMovie raw data
  • From: "email@hidden" <email@hidden>
  • Date: Sat, 2 Oct 2010 02:50:32 +0200

I spent a few hours trying to hack QTKit, but all to no avail. It
looks like the DL is handled by something called QTMovieMediaHelper
and it is not using any standard NSURLConnection scheme. I ended up
using CFReadStream+AudioToolbox instead. Works perfectly now.

Thanks.

On Fri, Oct 1, 2010 at 6:57 PM, Mike Abdullah <email@hidden> wrote:
> I mean that you would continue using -initWithURL: but feed it a custom URL scheme. Hopefully QTMovie will load that scheme using standard NSURLConnection internally. Whereupon you can write a custom protocol handler that grabs data from correct scheme.
>
> On 1 Oct 2010, at 17:38, email@hidden wrote:
>
>> Thanks. This was my idea too, but I was under the impression I cannot
>> feed QuickTime with incoming data? Admittedly, I haven't really
>> scrutinized the API. Will do now.
>>
>> On Fri, Oct 1, 2010 at 6:00 PM, Mike Abdullah <email@hidden> wrote:
>>> I suspect the answer is no. Assuming that, I would suggest writing a custom URL protocol that writes the incoming data to disk (or in-memory), while passing out to QuickTime.
>>>
>>> On 1 Oct 2010, at 16:03, email@hidden wrote:
>>>
>>>> Hi,
>>>>
>>>> I guess the answer to my simple question is no, but figured I better
>>>> ask before I go digging elsewhere.
>>>>
>>>> I have a QTMovie, initialized with a MP3 file downloaded from a remote
>>>> server (i.e -initWithURL:). Is it possible to extract the raw data
>>>> from the QTMovie object, so I can save the MP3 in its original format
>>>> to disk (without having to convert it to some QT format)?
>>>>
>>>>
>>>> -F
>>>> _______________________________________________
>>>>
>>>> Cocoa-dev mailing list (email@hidden)
>>>>
>>>> Please do not post admin requests or moderator comments to the list.
>>>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>>>
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >QTMovie raw data (From: "email@hidden" <email@hidden>)
 >Re: QTMovie raw data (From: Mike Abdullah <email@hidden>)
 >Re: QTMovie raw data (From: "email@hidden" <email@hidden>)
 >Re: QTMovie raw data (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Elegant Way to Create Localized String
  • Next by Date: Re: What does core data do during a Save As?
  • Previous by thread: Re: QTMovie raw data
  • Next by thread: What does core data do during a Save As?
  • Index(es):
    • Date
    • Thread