Re: QTMovie raw data
Re: QTMovie raw data
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