Is there a way to convert and compile a kernel driver from linux to use it on OSX? I still use a very old Philips SAA7134 chipset based analog video capture card in my machine. This computer though is a hackintosh, so I have the benefit of having a PCI slot. Currently, I am still booting to Windows to use the card, but just out of curiosity i'd wanted to ask if it would be possible. I found source code for linux drivers for this chipset here: -mac/tree/fdd70c3399fc448a87487b287f4f0dcfb2e9c52c/drivers/media/video/saa7134
Recently I picked up an ABEST ABDVR 4 channel PCI video capture card. The card has no EEPROM, and becuase of that the saa7134 driver is unable to autoidentify it. In this post I'll show you how to configure v4l2 to get an image out of this card and how to use libav filters to make a vectorscope and a waveform monitor using mpv and bash.
Since this card has no EEPROM, the saa7134 module cannot identify it and falls back to the GENERIC/UNKNOWN model. This model definition does not have inputs 1 and 2 enabled (each of the saa7134 ICs has 3 selectable video inputs) In case of my card, the video signal is coming in to input 1 instead of 0. To be able to capture video, we need to tell the saa7134 driver to treat it as a different card - one that has all 3 inputs enabled in the driver, and then we can select input 1.
So far, I have made the following observation regarding the wave-p sotware. After I was able to get it to execute after installing the wave-p drivers to my existing cards (even though no images did show up on the DVR.exe software) I played a little with the options DVR.exe has to offer. One thing I discovered after I clicked on their playback option is that some how, any images that software is able to obtain is encoded into a proprietary video format ending with the following file extension: *.dvr that can ONLY be played through their proprietary video player. I also did an observation that the videos can be "converted" to a standalone *.exe file for easier portability (I guess for evidence analyzers using Macintosh computers, they can forget about being able to playback wave-p recorded videos since *.exe can only run on windows compatible PC's), aside from that, on my current (QX2006.exe) software, even though it has a maximum recording resolution of 352x288 pixels, it records in an open industry standard video format of MPEG that can easily be dumped into NERO VISION to create custom DVD's that can be playable on standalone DVD players (many police officers have found that to be highly convenient and confortable for them, specially since most police offices aren't computer experts.