FROM : Devin Lane
DATE : Sat Jul 08 04:19:10 2006
Travis:
Thanks for the PDF, the debugging trick might come in handy. I'll
look at the framework more and see if I can find a way to step frame
by frame, but at the moment I don't see a way to do so.
Thanks,
On 2006/07/07, at 21:58, Travis Siegel wrote:
> Yes, that was the document I was talking about. I didn't realize
> it was in the graphics hiearchy. My copy was on an ADC mailing
> disc, and not in it's proper place in the documentation tree.
> However, there is another dvd playback guide you can look at.
> Again, I do not know where it lives in apples documentation tree,
> but I've included it here as an attachment for you. On page 32, it
> talks about attaching a debug library to your application
> (obviously this mode doesn't work with the encryption on most discs)
> I couldn't find the section I referred to in the previous message
> about stepping through dvd discs, frame-by-frame, but it *must* be
> possible, since one of the modes supported by the dvd playback
> services is still frame.
> Anyhow, hope this helps, and thanks for the pointer on having their
> cocoa dvd player work from disc. I've already tried correcting the
> routines you referred to, but I didn't just give up and make it
> always true. I'll try that, and see if it works. I can always add
> another check after the fact to ensure it's actually a video_ts
> directory name.
> <DVDPlaybackGuide.pdf>
>
> On Jul 7, 2006, at 8:55 PM, Devin Lane wrote:
>
>> Travis:
>>
>> In the CocoaDVDPlayer sample, Controller.m, function - (BOOL)
>> isValidMedia:(NSString *)inPath folder:(FSRef *)fileRefP, I just
>> returned YES from that method. It's not a very good solution, as
>> it will try to open anything now, but I was able to get it to open
>> a VIDEO_TS folder.
>>
>> WRT this DVD api, are you talking about http://developer.apple.com/
>> documentation/GraphicsImaging/Reference/DVDPlaybackRef/index.html?
>>
>> There's a function for setting a video port and device, which I
>> think I can set to a gworld, but there are also functions for
>> setting the display id and window number. Are these required to be
>> set, since a gworld isn't going to have either?
>>
>> Thanks,
>>
>> On 2006/07/07, at 20:33, Travis Siegel wrote:
>>
>>> How did you get it to play content from a folder on the hd?
>>> Everytime I try this, it opens the folder, then promptly closes
>>> it again. I've tried preventing this, or opening it myself, but
>>> it doesn't seem to matter what I try, I can't get it to play from
>>> folders other than the root of a disk.
>>>
>>> As for your other issues, I'm fairly certain you can do the frame
>>> thing, check the dvd api, it's packed full of things you can do
>>> with the dvd framework, and I believe frame viewing is among them.
>>> On Jul 6, 2006, at 3:34 PM, <email_removed> wrote:
>>>
>>>> cocoa-dev:
>>>>
>>>> While the CocoaDVDPlayer sample works fine for basic playback
>>>> of a dvd or
>>>> VIDEO_TS folder, it isn't very helpful when trying to go a
>>>> little further.
>>>>
>>>> Specifically, I need to be able to have DVDKit draw the video
>>>> into a
>>>> gworld or other offscreen buffer so that I can draw it in a view
>>>> in my
>>>> application's window, allowing the window to contain other content.
>>>> There's a DVDSetVideoPort(), which I thought I would be able to
>>>> pass a
>>>> gworld too, but it looks like it needs a display device id as
>>>> well, as
>>>> though it's trying to force the dvd content to be drawn only in an
>>>> onscreen window. Also, since I can't debug the app (quits with
>>>> error 45
>>>> when run with gdb, I assume this means "licensing prevents
>>>> debugging of
>>>> dvd apps"), it makes it hard to figure out what's going on.
>>>>
>>>> Furthermore, I'd also like to have more access to the actual
>>>> video, such
>>>> as to find the number of samples (frame), and the locations of
>>>> keyframes.
>>>>
>>>> Has anyone had any luck with this?
>>>>
>>>> Thanks,
>>>> Devin Lane
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Cocoa-dev mailing list (<email_removed>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/cocoa-dev/tsiegel%
>>>> 40softcon.com
>>>>
>>>> This email sent to <email_removed>
>>>>
>>>>
>>>
>>
>>
>>
>
DATE : Sat Jul 08 04:19:10 2006
Travis:
Thanks for the PDF, the debugging trick might come in handy. I'll
look at the framework more and see if I can find a way to step frame
by frame, but at the moment I don't see a way to do so.
Thanks,
On 2006/07/07, at 21:58, Travis Siegel wrote:
> Yes, that was the document I was talking about. I didn't realize
> it was in the graphics hiearchy. My copy was on an ADC mailing
> disc, and not in it's proper place in the documentation tree.
> However, there is another dvd playback guide you can look at.
> Again, I do not know where it lives in apples documentation tree,
> but I've included it here as an attachment for you. On page 32, it
> talks about attaching a debug library to your application
> (obviously this mode doesn't work with the encryption on most discs)
> I couldn't find the section I referred to in the previous message
> about stepping through dvd discs, frame-by-frame, but it *must* be
> possible, since one of the modes supported by the dvd playback
> services is still frame.
> Anyhow, hope this helps, and thanks for the pointer on having their
> cocoa dvd player work from disc. I've already tried correcting the
> routines you referred to, but I didn't just give up and make it
> always true. I'll try that, and see if it works. I can always add
> another check after the fact to ensure it's actually a video_ts
> directory name.
> <DVDPlaybackGuide.pdf>
>
> On Jul 7, 2006, at 8:55 PM, Devin Lane wrote:
>
>> Travis:
>>
>> In the CocoaDVDPlayer sample, Controller.m, function - (BOOL)
>> isValidMedia:(NSString *)inPath folder:(FSRef *)fileRefP, I just
>> returned YES from that method. It's not a very good solution, as
>> it will try to open anything now, but I was able to get it to open
>> a VIDEO_TS folder.
>>
>> WRT this DVD api, are you talking about http://developer.apple.com/
>> documentation/GraphicsImaging/Reference/DVDPlaybackRef/index.html?
>>
>> There's a function for setting a video port and device, which I
>> think I can set to a gworld, but there are also functions for
>> setting the display id and window number. Are these required to be
>> set, since a gworld isn't going to have either?
>>
>> Thanks,
>>
>> On 2006/07/07, at 20:33, Travis Siegel wrote:
>>
>>> How did you get it to play content from a folder on the hd?
>>> Everytime I try this, it opens the folder, then promptly closes
>>> it again. I've tried preventing this, or opening it myself, but
>>> it doesn't seem to matter what I try, I can't get it to play from
>>> folders other than the root of a disk.
>>>
>>> As for your other issues, I'm fairly certain you can do the frame
>>> thing, check the dvd api, it's packed full of things you can do
>>> with the dvd framework, and I believe frame viewing is among them.
>>> On Jul 6, 2006, at 3:34 PM, <email_removed> wrote:
>>>
>>>> cocoa-dev:
>>>>
>>>> While the CocoaDVDPlayer sample works fine for basic playback
>>>> of a dvd or
>>>> VIDEO_TS folder, it isn't very helpful when trying to go a
>>>> little further.
>>>>
>>>> Specifically, I need to be able to have DVDKit draw the video
>>>> into a
>>>> gworld or other offscreen buffer so that I can draw it in a view
>>>> in my
>>>> application's window, allowing the window to contain other content.
>>>> There's a DVDSetVideoPort(), which I thought I would be able to
>>>> pass a
>>>> gworld too, but it looks like it needs a display device id as
>>>> well, as
>>>> though it's trying to force the dvd content to be drawn only in an
>>>> onscreen window. Also, since I can't debug the app (quits with
>>>> error 45
>>>> when run with gdb, I assume this means "licensing prevents
>>>> debugging of
>>>> dvd apps"), it makes it hard to figure out what's going on.
>>>>
>>>> Furthermore, I'd also like to have more access to the actual
>>>> video, such
>>>> as to find the number of samples (frame), and the locations of
>>>> keyframes.
>>>>
>>>> Has anyone had any luck with this?
>>>>
>>>> Thanks,
>>>> Devin Lane
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Cocoa-dev mailing list (<email_removed>)
>>>> Help/Unsubscribe/Update your Subscription:
>>>> http://lists.apple.com/mailman/options/cocoa-dev/tsiegel%
>>>> 40softcon.com
>>>>
>>>> This email sent to <email_removed>
>>>>
>>>>
>>>
>>
>>
>>
>
| Related mails | Author | Date |
|---|---|---|
| lists | Jul 6, 21:34 | |
| Devin Lane | Jul 8, 02:55 | |
| Devin Lane | Jul 8, 04:19 | |
| Michael Ash | Jul 8, 17:50 | |
| Devin Lane | Jul 13, 12:45 | |
| Finlay Dobbie | Jul 13, 17:54 | |
| Cary Dean | Jul 13, 18:23 | |
| Devin Lane | Jul 14, 01:57 | |
| Finlay Dobbie | Jul 14, 02:00 | |
| Devin Lane | Jul 14, 03:32 | |
| cocoa-dev-admins | Jul 14, 03:36 | |
| I. Savant | Jul 14, 14:21 | |
| Rosyna | Jul 14, 18:13 | |
| Nicko van Someren | Jul 16, 11:38 | |
| Finlay Dobbie | Jul 16, 12:01 |






Cocoa mail archive

