trouble using blackmagic intensity hdmi card as dshow input

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
tkapela
Blank Cone
Blank Cone
Posts: 13
Joined: 11 Nov 2008 18:15

trouble using blackmagic intensity hdmi card as dshow input

Postby tkapela » 11 Dec 2008 18:56

Hello,

I've recently obtained a "blackmagic design" "intensity pro" card, which is a comsumer hdmi capture card. The url for the card(s) is: http://www.blackmagic-design.com/products/intensity/

VLC seems to be able to open the dshow input, though with some interesting troubles at HD resolution.

If I use 'defaults' within the blackmagic configuration tool, I get 720x486 (see below...) at 29.97 fps (interlaced). If I set the card (using the suplied utility) to 1080PsF30 (I'm using a canon HV30 as an hdmi source) but leave VLC's directshow resolution set to null (i.e. not set a frame size), directshow then does open the device but provides a strange resolution of 1920x45. I've pasted a full debug of the directshow init below.

Even though the frame size is odd, I do see video. Vout assumes 4:3 AR and stretches the 1920x45 to the display window of 4:3, creating an odd view of the top few lines of the image. The 45 rows appear to be from the top of the 1080 scanline frame.

I've tried telling directshow to use 1920x1080 and 1920x1088, but these failed with an error like the following:

Code: Select all

dshow debug: width x height 1920x1080 dshow debug: found device: Decklink Video Capture dshow debug: using device: Decklink Video Capture dshow debug: EnumDeviceCaps: output pin: Capture dshow debug: EnumDeviceCaps: output pin: ~VANC dshow debug: EnumDeviceCaps: output pin: ~Timecode dshow debug: EnumDeviceCaps: trying pin Capture dshow debug: EnumDeviceCaps: input pin media: unsupported format (video HDYC) dshow debug: EnumDeviceCaps: trying pin ~VANC dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:1920, height:45, fps:30.000030 dshow debug: EnumDeviceCaps: trying pin ~Timecode dshow debug: EnumDeviceCaps: input pin media: unsupported format (unknown ) dshow error: capture device 'Decklink Video Capture' does not support required parameters ! dshow error: can't open video
Ideally I'd like to get 1920x1080 at 30 PsF (progressive segmented frame) UYVY frames into VLC to do some live camcorder transcoding. Is this possible? Any pointers to where the trouble might be? i.e. is this a vlc-directshow issue, or directshow-intensity issue, or something else?

Thanks for any ideas!

---

attempting 1920x1080PsF, not setting dshow resolution:

Code: Select all

dshow debug: found device: Decklink Video Capture dshow debug: using device: Decklink Video Capture dshow debug: EnumDeviceCaps: output pin: Capture dshow debug: EnumDeviceCaps: output pin: ~VANC dshow debug: EnumDeviceCaps: output pin: ~Timecode dshow debug: EnumDeviceCaps: trying pin Capture dshow debug: EnumDeviceCaps: input pin media: unsupported format (video HDYC) dshow debug: EnumDeviceCaps: trying pin ~VANC dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:1920, height:45, fps:30.000030 dshow debug: CaptureFilter::JoinFilterGraph dshow debug: connecting filters dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [not connected] dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::QueryFilterInfo dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryAccept [OK] (width=1920, height=45, chroma=UYVY, fps=30.000030) dshow debug: CapturePin::ReceiveConnection [OK] dshow debug: CapturePin::NotifyAllocator dshow debug: CapturePin::QueryAccept [OK] (width=1920, height=45, chroma=UYVY, fps=30.000030) dshow debug: filters connected successfully ! dshow debug: MEDIATYPE_Video dshow debug: selected video pin accepts format: UYVY
Attempting 720x480i, which does seem to work fully:

Code: Select all

dshow debug: found device: Decklink Video Capture dshow debug: using device: Decklink Video Capture dshow debug: EnumDeviceCaps: output pin: Capture dshow debug: EnumDeviceCaps: output pin: ~VANC dshow debug: EnumDeviceCaps: output pin: ~Timecode dshow debug: EnumDeviceCaps: trying pin Capture dshow debug: EnumDeviceCaps: input pin default format configured dshow debug: EnumDeviceCaps: input pin accepts chroma: UYVY, width:720, height:486, fps:29.970000 dshow debug: CaptureFilter::JoinFilterGraph dshow debug: connecting filters dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::ConnectedTo [not connected] dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::QueryFilterInfo dshow debug: CapturePin::QueryPinInfo dshow debug: CaptureFilter::EnumPins dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryDirection dshow debug: CapturePin::QueryAccept [OK] (width=720, height=486, chroma=UYVY, fps=29.970000) dshow debug: CapturePin::ReceiveConnection [OK] dshow debug: CapturePin::NotifyAllocator dshow debug: filters connected successfully ! dshow debug: MEDIATYPE_Video dshow debug: selected video pin accepts format: UYVY

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: trouble using blackmagic intensity hdmi card as dshow input

Postby VLC_help » 11 Dec 2008 19:56

Try VLC 1.0.0 builds, there was some sort of patch to this in mailing list.
http://nightlies.videolan.org/build/win ... 1211-0005/

tkapela
Blank Cone
Blank Cone
Posts: 13
Joined: 11 Nov 2008 18:15

Re: trouble using blackmagic intensity hdmi card as dshow input

Postby tkapela » 11 Dec 2008 21:14

Ahh, I should mention that I tried the following versions for win32:

vlc-1.0.0-git-20081207-0005-win32.exe
vlc-1.0.0-git-20081210-0005-win32.exe
vlc-1.0.0-git-20081211-0005-win32.exe

various crashyness observed & no changes (at least, none for the better) - will try a few more cli incantations and report back.

Also, if anyone would like RDP access to this box, please PM me. Open invite to any dev's who'd be interested in taking a crack at it. ;)

-Tk

tkapela
Blank Cone
Blank Cone
Posts: 13
Joined: 11 Nov 2008 18:15

Re: trouble using blackmagic intensity hdmi card as dshow input

Postby tkapela » 11 Dec 2008 22:19

tried latest nightly on win32 (xp x86 sp3), from http://nightlies.videolan.org/build/win ... -win32.exe

the following command line is the minimum to open a vdev, and the minimum to cause a crash in libvlccore.dll:

vlc -vvv -I rc dshow:// :dshow-vdev="Decklink Video Capture" :dshow-adev="none"

Interestingly, it does appear to detect 1920x1080 at 24FPS, though for some reason, vlc crashes. While I see the crash dialog pop on win32 for libvlccore.dll, the vlc command line interface is still active. When I do a status/stats/info, i see vlc still thinks dshow is open.

the output from -vvv is:

Code: Select all

[00B106C0] rc interface: VLC media player - version 1.0.0-git-20081211-0005 Gold eneye - (c) 1996-2008 the VideoLAN team [00B106C0] rc interface: Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt" Remote control interface initialized. Type `help' for help. [00B106C0] main interface debug: using interface module "rc" [00B106C0] main interface debug: TIMER module_need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) [00B106C0] main interface debug: thread (interface) created at priority 0 (inter face/interface.c:158) [00B106C0] main interface debug: thread started [00AFDBB8] main playlist debug: starting new item [00AFDBB8] main playlist debug: processing request item null node Playlist skip 0 [00AFDBB8] main playlist debug: rebuilding array of current - root Playlist [00AFDBB8] main playlist debug: rebuild done - 1 items, index -1 [00AFDBB8] main playlist debug: creating new input thread [00AF7240] main input debug: Creating an input for 'dshow://' [00AF7240] main input debug: thread (input) created at priority 1 (input/input.c :371) [00AF7240] main input debug: thread started [00AF7240] main input debug: using timeshift granularity of 52428800 bytes [00AF7240] main input debug: using timeshift path 'C:\DOCUME~1\encuser\LOCALS~1 \Temp' [00AF7240] main input debug: `dshow://' gives access `dshow' demux `' path `' [00AF7240] main input debug: creating demux: access='dshow' demux='' path='' [00B21BC8] main demux debug: looking for access_demux module: 1 candidate [00B21BC8] dshow demux debug: found device: Decklink Video Capture [00B21BC8] dshow demux debug: using device: Decklink Video Capture [00B21BC8] dshow demux debug: EnumDeviceCaps: output pin: Capture [00B21BC8] dshow demux debug: EnumDeviceCaps: output pin: ~VANC [00B21BC8] dshow demux debug: EnumDeviceCaps: output pin: ~Timecode [00B21BC8] dshow demux debug: EnumDeviceCaps: trying pin Capture [00B21BC8] dshow demux debug: EnumDeviceCaps: input pin default format configure d [00B21BC8] dshow demux debug: EnumDeviceCaps: input pin accepts chroma: UYVY, wi dth:1920, height:1080, fps:24.000038 [00B21BC8] dshow demux debug: CaptureFilter::JoinFilterGraph [00B21BC8] dshow demux debug: connecting filters [00B21BC8] dshow demux debug: CaptureFilter::EnumPins [00B21BC8] dshow demux debug: CapturePin::QueryDirection [00B21BC8] dshow demux debug: CaptureFilter::EnumPins [00B21BC8] dshow demux debug: CapturePin::QueryDirection [00B21BC8] dshow demux debug: CapturePin::ConnectedTo [not connected] [00B21BC8] dshow demux debug: CaptureFilter::EnumPins [00B21BC8] dshow demux debug: CapturePin::QueryDirection [00B21BC8] dshow demux debug: CapturePin::QueryPinInfo [00B21BC8] dshow demux debug: CapturePin::ConnectedTo [not connected] [00B21BC8] dshow demux debug: CapturePin::QueryPinInfo [00B21BC8] dshow demux debug: CaptureFilter::EnumPins [00B21BC8] dshow demux debug: CapturePin::QueryDirection [00B21BC8] dshow demux debug: CapturePin::QueryDirection
Is there other debug info i ought to collect?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: trouble using blackmagic intensity hdmi card as dshow input

Postby VLC_help » 12 Dec 2008 21:20



Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests