Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

[MBS] quicktime grabber and Decklink quicktime I/O card on windows (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] DiscRecording Audio quality
Next thread: [MBS] 4.0dr4


Re: [MBS] MIDI Destinations and External Devices   -   Ron Benditt
  [MBS] quicktime grabber and Decklink quicktime I/O card on windows   -   NBC, MSNBC
   Re: [MBS] quicktime grabber and Decklink quicktime I/O card on windows   -   Christian Schmitz
    RE: [MBS] quicktime grabber and Decklink quicktime I/O card on wi ndows   -   NBC, MSNBC
     Re: [MBS] quicktime grabber and Decklink quicktime I/O card on wi ndows   -   Christian Schmitz

[MBS] quicktime grabber and Decklink quicktime I/O card on windows
Date: 19.01.04 23:40 (Mon, 19 Jan 2004 14:40:32 -0800)
From: NBC, MSNBC
Hi,
I'm new to both realbasic and MBS. The reason I was experimenting with RB
and MBS is because of the quicktime grabber functionality. My problem is
this: I have a Black Magic Design - Decklink Pro video I/O card
(http://www.decklink.com/) -- This is a quicktime card. On Mac with the
quicktime grabber examples that are included with MBS I am able to get
properties and video from the card. However, on Windows, all of the grabber
examples crash with the decklink card if they use video. So, in the
examples that get video or video properties from the card, the example
crashes. However, the one example that has two buttons -- something like,
one button for audio properties and one for video -- pressing the audio
button does NOT cause it to crash -- the application correctly gets the
audio properties from the card and displays them in the standard quicktime
audio properties window. Pressing the video button in the example causes
the example to crash. All the other examples use video so they all crash.

Any thoughts?

Re: [MBS] quicktime grabber and Decklink quicktime I/O card on windows
Date: 20.01.04 00:07 (Tue, 20 Jan 2004 00:07:55 +0100)
From: Christian Schmitz
Sneddon, Steve (NBC, MSNBC) <<email address removed>> wrote:

> Hi,
> However, on Windows, all of the grabber examples crash with the decklink
> card if they use video.

Questions:

Does it work with Apple's grabber example "HackTV"?
<http://developer.apple.com/quicktime/quicktimeintro/tools/>

Is there a driver update for this card available?

Can you debug the examples and check which function crashes exactly?

Mfg
Christian

RE: [MBS] quicktime grabber and Decklink quicktime I/O card on wi ndows
Date: 22.01.04 18:38 (Thu, 22 Jan 2004 09:38:23 -0800)
From: NBC, MSNBC
Christian wrote:

>Questions:

>Does it work with Apple's grabber example "HackTV"?

>Is there a driver update for this card available?

>Can you debug the examples and check which function crashes exactly?

Thanks for the quick response.

To answer your questions: Yes the Decklink card works fine with HackTV.
HackTV loads and shows the video input fine. HackTV does not crash with the
Decklink card on Windows.

Additionally the card has the most up to date driver available (Dec 2003).

I did some simple debugging of the MBS QT Grabber example "Save Settings".
As I said, in that example pressing the Audio only button does not cause the
application to crash. It works correctly and shows the standard quicktime
audio settings window.
Pressing the "video only" button or "all settings" buttons cause the
application to crash (a windows dialog immediately comes up and asks if I
want to send a crash report). So I tried commenting out some lines in sub
for those buttons. I found that the offending line seems to be
"q.InitVideo". This is the only line that when commented out, the
application does not crash.

Does anyone have any thoughts on this?

One side piece of information that might help... I have noticed a
commercially available piece of software that also crashes with the
blackmagic card installed on windows. Sources tell me that this piece of
software was also written in realbasic (though I cannot totally confirm
that). I have tested this software on this system and found that it crashes
in the same manner that these MBS examples crash. The manufacturer of the
Decklink card (blackmagic design) says that their card is QT compliant and
that the problem is with the third party software. The fact that HackTV
works fine would seem to back up their statement.

Thanks!

Re: [MBS] quicktime grabber and Decklink quicktime I/O card on wi ndows
Date: 29.01.04 00:22 (Thu, 29 Jan 2004 00:22:06 +0100)
From: Christian Schmitz
Sneddon, Steve (NBC, MSNBC) <<email address removed>> wrote:

> Pressing the "video only" button or "all settings" buttons cause the
> application to crash (a windows dialog immediately comes up and asks if I
> want to send a crash report). So I tried commenting out some lines in sub
> for those buttons. I found that the offending line seems to be
> "q.InitVideo". This is the only line that when commented out, the
> application does not crash.
>
> Does anyone have any thoughts on this?

InitVideo does:
1. Call SGNewChannel to open a video channel
2. Than it calls SGGetSrcVideoBounds to get the rectangle.
3. SGSetChannelBounds is used to set the rectangle.
4. Finally SGSetChannelUsage is called with Preview, Grab and
PlayDuringRecord flags.

Nothing special and nearly exactly the same what Hack TV does.

or in other words: I have no idea on how to fix that.

Mfg
Christian