|
|
| bentpin |
| Posted: Apr 4 2014, 12:40 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
If you've surfed the capture card subforum, you've seen me.
All I want is something to go in between my capture card and VirtualDub. Vdub seems like it can do anything I could want.
The problem is my capture card is an AJA Corvid 3G. It is sold in bulk to manufacturers to shoehorn into their equipment. Since OEM's also write the software for their equipment, AJA doesn't offer a Corvid driver, or a DS filter.
They do have these things for the Kona line, which is allegedly the same electrically as a Corvid, but different firmware.
I have been working on this since almost summer of last year. I am really, really frustrated.
How do you build a DirectShow filter? How do you build a driver?
My brain is mush. Just a gentle push in the right direction would be a GREAT start!
Shawn |
 |
| bentpin |
| Posted: Apr 4 2014, 12:46 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
Oh...
sorry. I've talked about this so much, I forget what I've told whom.
I am on a fast computer with plenty of RAM and HDD space. I have turned it into a dual boot system (win XP Pro 32bit native [not virtual] and win 7 pro 64 bit).
I have 32bit vdub in XP and 64 bit in win 7.
I have a capture and a renderer dll from aja, and a set of directshow filters that is supposed to work with the card.
-Shawn |
 |
| dloneranger |
| Posted: Apr 4 2014, 05:14 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Ah....... that's usually one of those "if you have to ask the price you can't afford it" questions
Basically you get the driver sdk for windows, the devices's sdk from manufacturer, a compiler Then you simply "write the software"
Hmmm, reminds me of car manual I had once To change a £2 part you needed the part, a 10mm spanner - then the next step in the instructions was 'remove the engine in the usual way' (yup, totally didn't happen)
Alternative: If the firmware is really similar (almost exact) to something else then it might be possible to hack their drivers and substitute your devices id's codes (some rebranded oem stuff can have oem's doing just a VEN code change and a recompile)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| bentpin |
| Posted: Apr 4 2014, 02:15 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
Sounds like you'referring to a belt change in an 80's Subaru! LOL
They're not gonna give me the SDK- I've talked to Brad in that department several times. I asked if I could even just get read on ly in the sdk forum, b/c I'm sure this is reinventing the wheel, but that was shot down too- even offered to sign a noncompete/nondisclosure.
I think you're right about the filter changes. I *think* I have something for peering into a .dll from a previous project.
Is the vendors equipment number (just a guess) inside that, or is a dll like an egg that propagates that data into the hive?
Btw- never dawned on me that logging is possible. Log says cannot transition to pause graph, then cant run graph hr 80004005(). Any of that sound familiar? |
 |
| dloneranger |
| Posted: Apr 4 2014, 04:22 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
It'd depend on the files The ven numbers could be (easy) a string in the file -> hexedit it (hard) a number in the file -> disassemble to find where it's stored and then hexedit it
| QUOTE | | Btw- never dawned on me that logging is possible. Log says cannot transition to pause graph, then cant run graph hr 80004005(). Any of that sound familiar? |
Those are message from the filter graph You can play/test with a standalone one like http://code.google.com/p/graph-studio-next/
btw 80004005=Unspecified failure
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| bentpin |
| Posted: Apr 4 2014, 09:02 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
That figures. 
I have a graph program. I can make something that works, but can I transmogrify it into a way to record my video clips, or shove it into vdub?
Another thing: I've been using filmerit. I have manually loaded the 64bit dll's, but nothing seems to find them. Just the 32 bit ones.
Thanks for responding, btw
Shawn |
 |
| dloneranger |
| Posted: Apr 4 2014, 09:44 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Only 64bit programs can use 64bit dlls Only 32bit programs can use 32bit dlls Same for codecs/plugins etc
Not sure with graphedit You can save the graph and the directshow plugin might load it Or you can add a filewriter to the graph and have it save the file itself? (I haven't got any capture hardware, so you'd have to play with it)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| -vdub- |
| Posted: Apr 5 2014, 01:13 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
| QUOTE (bentpin @ Apr 4 2014, 12:40 AM) | If you've surfed the capture card subforum, you've seen me.
http://forums.virtualdub.org/index.php?s=&...=ST&f=6&t=22190
All I want is something to go in between my capture card and VirtualDub. Vdub seems like it can do anything I could want.
The problem is my capture card is an AJA Corvid 3G. It is sold in bulk to manufacturers to shoehorn into their equipment. Since OEM's also write the software for their equipment, AJA doesn't offer a Corvid driver, or a DS filter.
They do have these things for the Kona line, which is allegedly the same electrically as a Corvid, but different firmware.
I have been working on this since almost summer of last year. I am really, really frustrated.
How do you build a DirectShow filter? How do you build a driver?
My brain is mush. Just a gentle push in the right direction would be a GREAT start!
Shawn |
1. If sold in bulk to other manufactures figure out which ones. Visit their sites download and try their drivers and capture softwares. Try every other capture software and as your doing connect via graphedit, graphstudio or graphstudio next (graphedit). Even try remote connect with ms_graphedit if the other software allows it to see filters they use. Use the same and see if can change any so not to crash. Report finding to Corvid in hope they correct the problem. Yet could easily just be an OS problem or capture software your using at fault.
2. If still no headway take it back for a refund and buy better device to capture with. Tell them 'It is not fit for the purpose it was intended for' (other countries will have similar. If question time from sale to now that you have been in contact with Corvid and the problem is still unresolved. That is as long as you know it doesn't work for capturing correctly with manuafucture or oem software. If it does work and capture correctly with any manufacture or oem software or software they say you need to use with the device, then number one above is the last only option you have. Other than don't use it and buy something better that works |
 |
| bentpin |
| Posted: Apr 5 2014, 01:14 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
well,
it wasn't working in the XP side of my dual boot.
It does sort of work in the Win7 side.
I have Vdub 32 in XP and 64 in Win7.
Have a shortcut to how to get the 64bit recognized by Vdub and the system?
I'll test the filewriter out.
Thanks!
Shawn |
 |
| bentpin |
| Posted: Apr 5 2014, 01:29 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
| QUOTE | | 1. If sold in bulk to other manufactures figure out which ones. Visit their sites download and try their drivers and capture softwares. |
That's what I've been doing. All have been pretty helpful, actually.
| QUOTE | | Try every other capture software and as your doing connect via graphedit, graphstudio or graphstudio next (graphedit). Even try remote connect with ms_graphedit if the other software allows it to see filters they use. |
I haven't been able to remotely connect. I am using graphedit, and graphstudio. I can't get studio to allow me to "build new capture graph". Neither seem to be able to remotely connect to any process so I can sniff what's happening. But the two big ones (Vdub and VLC) do have dropdowns that sort of let me see what they've selected.
| QUOTE | | Use the same and see if can change any so not to crash. Report finding to Corvid in hope they correct the problem. |
AJA Video Systems' official stance is that the "Corvid line is not supported, as it is designed to be sold to OEM's for buildout, and not to end users'.
Not to say they haven't helped at all, they just don't have anything they will give me directly designed for the Corvid series.
| QUOTE | | Yet could easily just be an OS problem or capture software your using at fault. |
Absolutely. I have zero experience with 64 bit Win 7 Pro. I have been loading XP as a dual boot. Even the AJA capture software (Control Room) doesn't officially support the Corvid.
| QUOTE | | 2. If still no headway take it back for a refund and buy better device to capture with. |
$30 US from eBay. 
| QUOTE | | Tell them 'It is not fit for the purpose it was intended for' (other countries will have similar. If question time from sale to now that you have been in contact with Corvid and the problem is still unresolved. That is as long as you know it doesn't work for capturing correctly with manuafucture or oem software. |
There is no AJA software for this card. There appears to be a couple of companies so far that use this card, but they want nearly $1000 USD for a copy of their interfaces. I have less than $900 invested from the camera lens to the blu-ray writer, and there's just no more money for this. 
That's why I'm trying so doggone hard to make this work. I don't like to quit, I know it's simple, and besides throwing all this up on eBay and quitting, there's no alternatives. Besides one of you figuring this out. 
Shawn |
 |
| bentpin |
| Posted: Apr 5 2014, 01:52 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
.... and, I finally got to sit down and start looking for that error code. 80004005, one thing said permissions. I am running VirtualDub with the properties>compatibility>run this program as administrator, AND clicking yes on the yellow box when it comes up.
Could a file permission be set to read only?
Shawn |
 |
| dloneranger |
| Posted: Apr 5 2014, 07:56 AM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
HRESULT's are just return codes from functions http://msdn.microsoft.com/en-us/library/wi...v=vs.85%29.aspx 80004005 = E_FAIL (error fail)
It just means 'the function' failed, not a specific permissions issue, readonly file etc A general purpose oops, that didn't work - you have to know what the function was to know what failed
The full list is here http://msdn.microsoft.com/en-us/library/cc704587.aspx
ps I noticed you say xp and 7 in dual boot for 32bit and 64bit Umm, you do know the 64bit version of win7 can run/use 32 and 64 bit drivers/software?
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| bentpin |
| Posted: Apr 5 2014, 05:24 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
It was trying to change state when I invoked Start Capture.
It failed (I was previewing in overlay>no acceleration) 'unable to transition filter graph to paused state', then failed twice to 'transition filter graph to run state'.
I just tried it with this new config, and it simply said it couldn't transition the filter graph to the run state twice.
I do know about the ability of win 7 64 to utilize 32 and 64 bit stuff via XP Compatibility mode or something like that.
I am running 64bit virtualdub, so I thought I needed 64 bit DS filter, and a 64bit driver.
Obviously it runs halfway with a 64bit driver, and a 32bit filter, so.... >:( :mad: :mad: |
 |
| dloneranger |
| Posted: Apr 5 2014, 05:33 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Windows 64bit, runs 32bits apps without any xp compatibility mode - they just work fine
The restrictions are 64bit programs need 64bit plugins/codecs 32bit programs need 32bit plugins/codecs But you can happily run both 32 and 64bit versions of virtualdub on a 64bit OS If you look in the windows folder, you'll see 'system32' which is the 64bit os internals, and 'syswow64' which is the 32bit os internals (the 32bit os section is the same version as the 64bit part, eg both are vista,win7 or 8)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| bentpin |
| Posted: Apr 5 2014, 05:35 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 33
Member No.: 37735
Joined: 24-February 14

|
Ok,
So, here's what I think I did. (It's sunny outside, and I think I'm going outside to play here shortly.)
I pulled all the drivers and DS filters out.
I then found one of the three drivers I know works (there is a newer version, but my cataloging is so sloppy, and there is so much, I just don't know which one it is, .x.x.x notwithstanding.)
I cracked open the msi.
I dug till I found the .inf file (Kona3.inf, for others who may come here).
It lists the Corvid 3G as a supported card.
So, I cut out every other instance of anything that wasn't a Corvid 3G (Kona, IO, Corvid22, etc).
It still loaded.
So, then I cut out everything that was NTX86, trying to force only a 64bit install.
It still loaded!
Next, I found the latest set of DirectShow filters that does work (well, it allows what I've gotten so far.)
I cracked it open and started digging. That thing is FULL of stuff I don't understand.
But I *DO* know what a .chm file is, and I started reading.
Again, it does support the Corvid 3G.
Here's where I am:
I found where all the pieces on the filter interface is enumerated (like, what goes in on the SDI tap, what goes out, color space, etc).
My camera specs:
18.7 mbit/s 4:2:2
MPEG-2 MP@ML with I-frame/B-frame GOP structure. 10:1 compression
it is not MPEG IMX
480i @ 29.97 or 576i @ 25
507 active lines per inch
sampling frequency
Y= 13.5Mhz R-Y/B-Y = 6.75Mhz
fed into the capture card via SDI
But, here's the list of supported formats:
enum AJADSVideoFormat
List of DS supported video formats
Enumerator: DS_FORMAT_UNKNOWN DS_FORMAT_FIRST_HIGH_DEF_FORMAT DS_FORMAT_1080i_5000 DS_FORMAT_1080psf_2500 DS_FORMAT_1080i_5994 DS_FORMAT_1080psf_2997 DS_FORMAT_1080i_6000 DS_FORMAT_1080psf_3000 DS_FORMAT_720p_5994 DS_FORMAT_720p_6000 DS_FORMAT_1080psf_2398 DS_FORMAT_1080psf_2400 DS_FORMAT_1080p_2997 DS_FORMAT_1080p_3000 DS_FORMAT_1080p_2500 DS_FORMAT_1080p_2398 DS_FORMAT_1080p_2400 DS_FORMAT_1080p_2K_2398 DS_FORMAT_1080p_2K_2400 DS_FORMAT_1080psf_2K_2398 DS_FORMAT_1080psf_2K_2400 DS_FORMAT_720p_5000 DS_FORMAT_1080p_5000 DS_FORMAT_1080p_5000_B DS_FORMAT_1080p_5994 DS_FORMAT_1080p_5994_B DS_FORMAT_1080p_6000 DS_FORMAT_1080p_6000_B DS_FORMAT_720p_2398 DS_FORMAT_720p_2500 DS_FORMAT_1080p_5000_A DS_FORMAT_1080p_5994_A DS_FORMAT_1080p_6000_A DS_FORMAT_1080p_2K_2500 DS_FORMAT_1080psf_2K_2500 DS_FORMAT_1080psf_2500_2 DS_FORMAT_1080psf_2997_2 DS_FORMAT_1080psf_3000_2 DS_FORMAT_END_HIGH_DEF_FORMATS DS_FORMAT_FIRST_STANDARD_DEF_FORMAT DS_FORMAT_525_5994 DS_FORMAT_625_5000 DS_FORMAT_525_2398 DS_FORMAT_525_2400 DS_FORMAT_525psf_2997 DS_FORMAT_625psf_2500 DS_FORMAT_END_STANDARD_DEF_FORMATS DS_FORMAT_FIRST_2K_DEF_FORMAT ****obviously cut out for brevity DS_FORMAT_END_2K_DEF_FORMATS DS_FORMAT_FIRST_4K_DEF_FORMAT **** obviously cut out for brevity DS_FORMAT_END_4K_DEF_FORMATS
SO...What should I be selecting for the best picture that will play nicely in current televisions? Vdub and VLC likes to run it as 1080p 29.97. But that's not a progressive format!
I think this also addresses another issue. I had heard that vertical edge artifacts was an issue with the Betacam SX. Dang though! People and poles looked like they were being electrocuted when I moved the cam in strong light. I read that this is what happens when an interlaced format is run through as a progressive format.
And, I still haven't figured out why I am only able to use the 32bit drivers. Any idea of what to hack out so that the msi is forced to only install 64 bit filters?
Thanks for hanging in there with me!
Shawn |
 |