Author Topic: WinTvCap3.0  (Read 27392 times)

KevinKiller

  • Guest
WinTvCap3.0
« on: April 19, 2008, 01:22:39 AM »
Well,

After too many years and a few late nights here is WinTvCap3.0

It supports all the known PVR250/350/150/500 hardware.

I've just tested a quick-n-dirty ota broadcast so I'm not sure if the Composite/SVideo stuff works on the 150/500 cards. 

Try it out and let me know.

Next up: IR-Blaster support within WinTvCap for the 150/500 cards.

K.

P.S. Look at that tiny, tiny text just below this line ... you'll see the WinTvCap30aBin.zip attachment.
« Last Edit: April 22, 2008, 04:02:26 PM by KevinKiller »

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #1 on: April 20, 2008, 08:10:23 PM »
Ok,

After a little more hacking here is a version that supports all the Hauppauge Analog cards:  PVR250,PVR350,PVR150,PVR500mce,PVR150lp,HVR1600,HVR1800

Enjoy.

K.

Again, notice the little tiny text for the attachment just below this line.
« Last Edit: April 22, 2008, 04:02:37 PM by KevinKiller »

zaphod7501

  • Super Senior Member
  • *****
  • Posts: 870
Re: WinTvCap3.0
« Reply #2 on: April 21, 2008, 12:27:22 AM »
Thanks.
Now I just have to figure out how to use it with multiple cards. Even though I've been using it for years, I've never had two cards in a system before. (multiple PCs) Looking at the old wintvcap.htm file, I was wondering about a couple of things.
Do 254 and 255 still point to Composite and S-Video inputs?
Excuse my ignorance, but is there a way to determine board number? Or do I run it once and look in the log file? (A quick search of the 250 forum didn't turn anything up)
I Will Be DRM Free
WinXP Will Never Be
Found Upon My HTPC
Let Alone Vista or MCE
Burma Shave

zaphod7501

  • Super Senior Member
  • *****
  • Posts: 870
Re: WinTvCap3.0
« Reply #3 on: April 22, 2008, 01:03:14 AM »
The log file does indicate the tuner number. I need to start testing the video inputs.
What would be the c# for the second line inputs?  Or have you gotten that far yet?
I Will Be DRM Free
WinXP Will Never Be
Found Upon My HTPC
Let Alone Vista or MCE
Burma Shave

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #4 on: April 22, 2008, 02:46:10 AM »
Ok,

I didn't realize that the values of the VideoProcAmp (i.e. Brightness, Sharpness, etc.) have different values and ranges between the three types of cards.

I've fixed up WinTvCap30 to handle the various cases.  Now if you're unhappy with the driver default settings for these parameters you can change them by using a section in the WinTvCap30.ini file.  In the old days when I only supported the iVAC cards there was a single section called [PROCAMP].   Now there are 3 (three): one for each class of card.  The different classes of cards are [PVR250,PVR350], [PVR150,PVR500MCE,PVR150lp], [HVR1600,HVR1800].  The new default section names are [PROCAMP.iVAC], [PROCAMP.Amity2], and [PROCAMP,Xbar418] respectively.  This means that you, YES YOU THE USER, will have to make sure you use  the correct name when using the -procamp: command-line parameter such that the -board: you picked matches the right class of PROCAMP.  Note: There's no magical reason for only having these 3 (three) default sections.  You can add as many as you like and just use them by passing their names to the -procamp: parameter.  For instance, I used to have one called StarTrek that jumped up the brightness for that show since I thought the space scenes were too dark.  You can even change their names to something more manageable if you like; for instance [PROCAMP250], [PROCAMP150], and [PROCAMP1800] if those are the cards you've got installed in your computer.

Quote from: zaphod7501
Do 254 and 255 still point to Composite and S-Video inputs?

Yes, channel 255=SVideo1, 254=Composite1, 253=SVideo2, and 252=Composite2. 

I have tested that Composite2 works on the HVR-1600 card.  I haven't gotten around to swapping my Hauppage external header onto the different cards to see they work yet.

I'm not really happy with the way that worked out.  It would be better to use channels like: -c SVideo1 instead of -c:255, but that is the way Hauppauge's WinTv program did it and I just cloned it's command line parameters.  I did that so you could use the Hauppauge Scheduler with my program if you wanted to.

Quote from: zaphod7501
Excuse my ignorance, but is there a way to determine board number? Or do I run it once and look in the log file? (A quick search of the 250 forum didn't turn anything up)

Yes that's pretty much the only way you can tell what board goes to what card. ( F.Y.I.  The order the filters appear in the "WDM Streaming Audio Devices" list in GraphEdit determines the board order. )

K.

P.S. Again, look at that tiny, tiny, text just below this line.

« Last Edit: April 22, 2008, 04:02:51 PM by KevinKiller »

zaphod7501

  • Super Senior Member
  • *****
  • Posts: 870
Re: WinTvCap3.0
« Reply #5 on: April 22, 2008, 08:53:36 AM »
Thanks again.
My 'ini files tended to get pretty large as I experimented with settings.  :D

I also have a huge stash of "scheduled tasks" since I don't let them delete when finished.
A few tweaks and an old task can be reused without having to rewrite a long command line.
Some other hints for beginners:
If using a digital converter box, you can probably crank UP the sharpness control.
If using a digital converter box, you might want to have custom audio levels for specific channels.
Recordings can be set up or changed from other networked PCs without using a remote desktop program.

Regarding converter boxes, the good ones (Echostar TR40) aren't available yet but that one (and hopefully others) have a built in VCR timer.

Regarding the video inputs, I believe that there are 4 video choices but only 2 audio connections so you can't hook up 4 devices, just 2.
I Will Be DRM Free
WinXP Will Never Be
Found Upon My HTPC
Let Alone Vista or MCE
Burma Shave

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #6 on: April 22, 2008, 11:11:43 AM »
Quote from: KevinKiller
This means that you, YES YOU THE USER, will have to make sure you use  the correct name when using the -procamp: command-line parameter such that the -board: you picked matches the right class of PROCAMP.

Well I did some more thinking on this issue and I realized that I can pickup the correct default [PROCAMP.xxx] section by looking at the board you've chosen to record on.

You NO LONGER have to use the -procamp: parameter if you don't want to.  Just change the values in WinTvCap30.ini file for each card type and I'll use the new values by default depending which board you've selected to record on.

Remember you still CAN use the -procamp: parameter if you want to  (Remember my [StarTrek] example from my previous post?) but you don't HAVE to.

Quote from: KevinKiller
I'm not really happy with the way that worked out.  It would be better to use channels like: -c SVideo1 instead of -c:255

I just realized WinTvCap30 has a way to solve this already.  The [PRESETS] section! I've added SVideo1,SVideo2,Composite1,Composite2 to the default [PRESETS] section in the WinTvCap30.ini file.  Now you should be able to: 

WinTvCap30 -pSVideo1 -startr:show.mpg

Now don't forget.  There can be NO SPACE between the -p and the preset.  i.e.  -p SVideo1 will NOT work!

K.

Download from: http://www.shspvr.com/~kevinkiller/WinTvCap30dBin.zip
« Last Edit: April 23, 2008, 01:10:01 PM by KevinKiller »

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #7 on: April 23, 2008, 01:09:31 PM »
Ok,

I remembered that SHS gave me an account I could use to distribute WinTvCap so I've uploaded the releases and removed the prior postings attachment.

You can get it here:  http://www.shspvr.com/~kevinkiller/WinTvCap30dBin.zip

K.

DrP

  • Newbie
  • *
  • Posts: 44
Re: WinTvCap3.0
« Reply #8 on: April 24, 2008, 08:00:24 PM »
Is there any chance of support being added for the new HVR-2200?  Its based on the Philips 7164e.

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #9 on: April 25, 2008, 12:23:13 PM »
DrP,

We could try it but there's no way I can know if it will work or not since I don't own one and even if I did, I don't get DVB-T signals here in the USA.

In order to try it you need to get your Vendor, Device, and Subsys ids for you card, then find the hauppauge .inf file that contains those numbers.  From there we can try to setup some lines in the [BOARD] and [XBAR.???] sections of the .ini file and see if we can get WinTvCap to recognize it.

To find your VEN,DEV,SUBSYS number right-click on your "My Computer" icon, select properties, then the Hardware tab, then the Device Manager button, click the plus (+) sign next to the Sound, Video, and Game controllers section and right click your HVR-2200 card, choose Properites and the the Details tab, and then choose Device Instance Id from the combo list.  Click on the line that appears, hit Ctrl-C and then come here and hit Ctrl-V to paste it into this message.

For example here's the line from my SigmaTel High Definition Audio CODEC device:

HDAUDIO\FUNC_01&VEN_8384&DEV_7690&SUBSYS_102801DE&REV_1022\4&7ADDD11&0&0001

K.

DrP

  • Newbie
  • *
  • Posts: 44
Re: WinTvCap3.0
« Reply #10 on: April 25, 2008, 06:07:24 PM »
I was more interested in the analogue side.  The card is capable of many formats in hardware - MPEG1, 2, 4 and VC1 for video and MP2, MP3, AAC and AC3 for audio, but MPEG2 and MP2 ability would be good enough for a starting point.  DVB-t support is easy enough via any BDA capable program so there's no real need to look at that aspect.

VEN_1131&DEV_7164&SUBSYS_89010070&REV_81

Code: [Select]
;
; HCW89.INF  -- This file contains installation information for
;                   Hauppauge WinTV-HVR-2200 models 89xxx (Wiltshire)
;                   Hauppauge WinTV-HVR-2250 models 88xxx (Halesite)
;               
;*** Last Functional Modification 12/04/2007
;; Copyright (c) 2001-2008 Hauppauge Computer Works, Inc.


[Version]
signature           = "$CHICAGO$" ;all windows os
Class               = MEDIA
ClassGUID           = {4d36e96c-e325-11ce-bfc1-08002be10318}
Provider            = %HCW%
DriverVer = 04/14/2008,7.2.9.26105
CatalogFile         = hcw89.cat

[Manufacturer]
%HCW% = Hauppauge

[Hauppauge]
;%Wiltshire.DeviceDesc%=Wiltshire,PCI\VEN_1131&DEV_7164
;; Wiltshire
%Wiltshire.DeviceDesc8900%=WiltshireOEM1,PCI\VEN_1131&DEV_7164&SUBSYS_89000070
%Wiltshire.DeviceDesc8901%=Wiltshire,PCI\VEN_1131&DEV_7164&SUBSYS_89010070
;; Halesite
%Halesite.DeviceDesc8800%=Wiltshire,PCI\VEN_1131&DEV_7164&SUBSYS_88000070

[DestinationDirs]
Wiltshire.CopyDriver  =12 ;"\system32\drivers"
Copy_ECP              =11 ;"\system32"
Wiltshire.CopyDLLs    =11 ;"\system32"
Wiltshire.Firmware    =12 ;"\system32\drivers"

[SourceDisksNames]
1 = %WILTSHIRE_INSTALLATION_DISK%,,,Driver89            ;32 machine, all components



[SourceDisksFiles]
HcwWiltF.bin=1
hcw89.sys=1
HcwPrx89.ax=1
hcwCP.ax=1
hcwECPPP.ax=1

[Wiltshire.CopyDLLs]
HcwPrx89.ax

[Wiltshire.Firmware]
HcwWiltF.bin

[Wiltshire.CopyDriver]
hcw89.sys

[Copy_ECP]
hcwCP.ax
hcwECPPP.ax

;
;*** initialization and registry entries
;

[Wiltshire]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Wiltshire.CopyDriver, Wiltshire.CopyDLLs, Wiltshire.Firmware, Copy_ECP
AddReg        = Wiltshire.AddReg
AddReg        = Wiltshire.AddReg.HcwCustom
RegisterDlls  = Wiltshire.Register, Register_ECP

[Wiltshire.Services]
AddService = hcw89, 0x00000002, Wiltshire.ServiceInstall

[Wiltshire.ServiceInstall]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\hcw89.sys
AddReg        = Wiltshire.ServiceInstall.AddReg

[WiltshireOEM1]
Include       = ks.inf, wdmaudio.inf, kscaptur.inf, bda.inf
Needs         = KS.Registration, WDMAUDIO.Registration.NT, KSCAPTUR.Registration.NT, BDA.Installation.NT
CopyFiles     = Wiltshire.CopyDriver, Wiltshire.CopyDLLs, Wiltshire.Firmware, Copy_ECP
AddReg        = Wiltshire.AddReg
AddReg        = Wiltshire.AddReg.HcwCustom
AddReg        = Wiltshire.AddReg.OEM1
RegisterDlls  = Wiltshire.Register, Register_ECP

[WiltshireOEM1.Services]
AddService = hcw89, 0x00000002, Wiltshire.ServiceInstall

[WiltshireOEM1.ServiceInstall]
DisplayName   = %DISPLAY_NAME%
Description   = %SERVICE_DESCRIPTION%
ServiceType   = %SERVICE_KERNEL_DRIVER%
StartType     = %SERVICE_DEMAND_START%
ErrorControl  = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\hcw89.sys
AddReg        = Wiltshire.ServiceInstall.AddReg

[Wiltshire.AddReg.OEM1]
HKR,VideoDecoder\Path0,"3D_CombActive",0x00010001, 0x01
HKR,VideoDecoder\Path1,"3D_CombActive",0x00010001, 0x01
HKR,VideoDecoder\Path0,"3D_NoiseLevel",0x00010001, 0x00
HKR,VideoDecoder\Path1,"3D_NoiseLevel",0x00010001, 0x00


[Wiltshire.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,hcw89.sys

; event logging entries

HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\hcw89.sys"
HKR,,TypesSupported,0x00010001,7

;;; Audio capture registry entries
;;
;;HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
;;HKR,,Driver,,hcw89.SYS
;;
;;HKR,Drivers,SubClasses,,"wave,mixer"
;;
;;HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
;;HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
;;
;;HKR,Drivers\wave\wdmaud.drv,Description,,"SAA7163/4 audio capture"
;;HKR,Drivers\mixer\wdmaud.drv,Description,,"SAA7163/4 audio capture"

; add audio input and output pinnames

HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_IN_PIN%, "Name",,"Analog Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_OUT_PIN%,"Name",,"Audio Out"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_VIDEO_ITU_PIN%,"Name",,"Analog ITU Video"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ANLG_AUDIO_I2S_PIN%,"Name",,"I2S Audio"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_AVI_MUX_STREAM_PIN%,"Name",,"Avi"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_ASF_MUX_STREAM_PIN%,"Name",,"Asf"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_QTM_MUX_STREAM_PIN%,"Name",,"Qtm"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_MPEG2_PROGRAM_STREAM_PIN%,"Name",,"MPEG2 PS"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_AUDIO_ELEMENTARY_STREAM_PIN%,"Name",,"Audio ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_VIDEO_ELEMENTARY_STREAM_PIN%,"Name",,"Video ES"
HKLM,SYSTEM\CurrentControlSet\Control\MediaCategories\%SAA7164_RDS_PIN%,"Name",,"RDS"

[Wiltshire.Register]
11,,HcwPrx89.ax,1

[Register_ECP]
11,,hcwCP.ax,1
11,,hcwECPPP.ax,1

[Wiltshire.AddReg.HcwCustom]
HKLM,SOFTWARE\Hauppauge\hcwTVWnd,"vCapFilter",,"Hauppauge WinTV-7164 BDA Main Device"
HKR,,"hcwForceFWFromFile",0x00010001, 0x00
HKR,,"hcwAllowBSLFileName",0x00010001, 0x00

[Wiltshire.ServiceInstall.AddReg]

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]

; Proxy GUIDs
KSProxy.CLSID   = "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSXBar.CLSID    = "{71F96460-78F3-11d0-A18C-00A0C9118956}"
KSTVAudio.CLSID = "{71F96462-78F3-11d0-A18C-00A0C9118956}"
KSTvTune.CLSID  = "{266EEE40-6C63-11cf-8A03-00AA006ECB65}"

;;; Category GUIDs
;;KSCATEGORY_MULTIPLEXER            = "{7A5DE1D3-01A1-452c-B481-4FA2B96271E8}"
;;KSCATEGORY_ENCODER                = "{19689BF6-C384-48fd-AD51-90E58C79F70B}"
;;KSCATEGORY_CAPTURE                = "{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
;;KSCATEGORY_VIDEO                  = "{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
;;KSCATEGORY_AUDIO                  = "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

; Our Pin Name GUIDs
SAA7164_ANLG_AUDIO_IN_PIN            = "{84D49118-EC01-447c-AB53-E360AA7B358F}"
SAA7164_ANLG_AUDIO_OUT_PIN           = "{DA1EDCBE-073F-4e77-BA81-FEC50A07892C}"
SAA7164_ANLG_AUDIO_I2S_PIN           = "{F874BDE8-B830-418f-9C29-04C45B96A230}"
SAA7164_ANLG_VIDEO_ITU_PIN           = "{598F1381-3DA7-4dee-853D-105332725A02}"
SAA7164_AUDIO_ELEMENTARY_STREAM_PIN  = "{C1942947-08F2-4d10-BAE8-2480599B1972}"
SAA7164_VIDEO_ELEMENTARY_STREAM_PIN  = "{AED0A101-2F6E-4bd4-8DC9-AD230D6012C8}"
SAA7164_MPEG2_PROGRAM_STREAM_PIN     = "{E3D4EA80-3E4D-4e09-B7FC-5C772D0A0619}"
SAA7164_AVI_MUX_STREAM_PIN           = "{6749395B-519A-45df-8B01-84A8BB3CF202}"
SAA7164_ASF_MUX_STREAM_PIN           = "{C5FC9A24-CDA4-41c5-AF2B-01ECE67C1902}"
SAA7164_QTM_MUX_STREAM_PIN           = "{AD70590E-4566-494c-AA5E-B5DC693C8332}"
SAA7164_RDS_PIN                      = "{62E2A653-DDAD-455a-8799-95914734D150}"

; Our Filter GUIDs
;;VAMP_MPG_ENCODER_FILTER  = "{949607F9-0DA5-4099-982E-D91DE6150B00}"
;;VAMP_ANLG_AUDIO_FILTER   = "{F3B951E7-8619-4ff3-91CA-03910E4BB900}"
;;VAMP_ANLG_CAP_FILTER     = "{BBEFB6C7-2FC4-4139-BB8B-A58BBA724000}"

; system defines
SERVICE_BOOT_START     = 0x0
SERVICE_SYSTEM_START   = 0x1
SERVICE_AUTO_START     = 0x2
SERVICE_DEMAND_START   = 0x3
SERVICE_DISABLED       = 0x4

SERVICE_KERNEL_DRIVER  = 0x1
SERVICE_ERROR_IGNORE   = 0x0
SERVICE_ERROR_NORMAL   = 0x1
SERVICE_ERROR_SEVERE   = 0x2
SERVICE_ERROR_CRITICAL = 0x3

FLG_REGSVR_DLLREGISTER = 0x00000001

;Our strings
HCW="Hauppauge"
DISPLAY_NAME                   = "hcw89 service"
SERVICE_DESCRIPTION            = "hcw89 PCIe capture driver"
Halesite.DeviceDesc8800        = "Hauppauge WinTV-HVR-2250 (8800)"
Wiltshire.DeviceDesc8900       = "Hauppauge WinTV-HVR-2200 (8900)"
Wiltshire.DeviceDesc8901       = "Hauppauge WinTV-HVR-2200 (8901)"
WILTSHIRE_INSTALLATION_DISK    = "Hauppauge WinTV-HVR-22xx Installation Disk"
« Last Edit: April 25, 2008, 07:49:17 PM by DrP »

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #11 on: April 26, 2008, 01:04:03 AM »
Ok,

I've added those three devices into WinTvCap.  I don't expect things to work, but I do expect WinTvCap to recognize the card.

First off, I have no idea what kind of filters this driver registers with DirectShow.

Second, I don't know how to construct a capture graph using these filters.

Third, I don't know what the crossbar pins are and how to configure them for OTA TV, SVideo, and Composite

Lastly, I don't know what the valid and default values are for the VideoProcAmp interface on the capture filter.

So, how do we deal with these things ...

Download the new WinTvCap30eBin.zip file attached to this message.

Get a copy of GraphEdit.exe (from the DirectX SDK, google is your friend), run it, and Choose the Graph Menu Item, then Insert Filters and a window pops up.  Look for filters under the 'WDM Streaming Capture Devices', 'WDM Streaming Crossbar Devices' 'WDM Streaming Encoder Devices', 'WDM Streaming Tv Audio Devices' and 'WDM Streaming TvTuner Devices" that match your card.  (Note: You may not find one under the Capture Devices category).   Insert each you found into the Graph and spread them out such that each graph can be seen.  Now take a screen snapshot by hitting Alt-PrintScreen and post it here. (see http://graphicssoft.about.com/cs/general/ht/winscreenshot.htm)

Run:

WinTvCap -c1 -startr:test.mpg -limit:1

and post the log file here.

K

KevinKiller

  • Guest
Re: WinTvCap3.0
« Reply #12 on: April 26, 2008, 03:00:43 PM »
Ok,

I went and pulled the PVR-USB2 off my shelf that I bought 3 years ago.

After much trial and tribulation I got the drivers installed then added support to it to WinTvCap.

Here's the new release with PVR-USB2 support: http://www.shspvr.com/~kevinkiller/WinTvCap30fBin.zip

K.

DrP

  • Newbie
  • *
  • Posts: 44
Re: WinTvCap3.0
« Reply #13 on: April 26, 2008, 06:01:21 PM »
I've added those three devices into WinTvCap.  I don't expect things to work, but I do expect WinTvCap to recognize the card.

There many streaming encoder devices for the card:
AAC AES encoder
ASF encoder/mux
AVI encoder/mux
LPCM AES encoder
MP3 AES encoder
MPEG1 L2 AES encoer
MPEG1 VES encoder
MPEG2 PS encoder/mux
MPEG2 TS encoder/mux
MPEG2 VES encoder
Quicktime encoder/mux

I've chosen the MPEG2 PS encoder/mux in graphedt.

Code: [Select]
23292 Welcome to WinTvCap ...The current date and time are: Sun Apr 27 07:50:59 2008
23292 InitInstance: CoInitializeEx(COINIT_MULTITHREADED) -- OK
23292 WndProc: Shell_NotifyIcon(NIM_ADD) -- OK
23292 InitInstance: CreateWindow() -- OK
23292 InitParams: iniFile "C:\unzip\WinTvCap30fBin\WinTvCap30fBin\WinTvCap30.ini" -- FOUND
23292 InitParams: Valid arguments: -c<channel>, -p<preset> -startr:<filename>, -board:<number>, -limit:<seconds> -extra:<seconds>
23292 InitParams: Valid arguments: -minutes:<minutes> -delay:<seconds>, -digiG -quality<alias for -profile:>, -seconds<alias for -limit:>
23292 InitParams: Valid arguments: -audio:[SECTION], -profile:[SECTION], -prefilter:[SECTION], -procamp:[SECTION]
23292 InitParams: Valid arguments: -tvFormat:<NTSC_M NTSC_M_J NTSC_433 PAL_B PAL_D PAL_G PAL_H PAL_I PAL_M PAL_N PAL_60 SECAM_B SECAM_D SECAM_G SECAM_H SECAM_K SECAM_K1 SECAM_L SECAM_L1 PAL_N_COMBO >
23292 InitParams: Your lpCmdLine is "-c1 -startr:test.mpg -limit:1"
23292 InitParams: Argument -board:1 -- OK
23292 InitParams: Found -c or -p argument "1" -- OK
23292 InitParams: Found -startr: argument "test.mpg" -- OK
23292 InitParams: Argument -limit:1 -- OK
23292 InitParams: Argument -delay:0 -- OK
23292 InitParams: Argument -c1 -- OK
23292 InitParams: iniFile [LOGGING] -- FOUND
23292 GetParamVal: iniFile [LOGGING] CountCards = 0
23292 GetParamVal: iniFile [LOGGING] FindPin = 0
23292 GetParamVal: iniFile [LOGGING] FindFilter = 0
23292 GetParamVal: iniFile [LOGGING] ConnectPins = 0
23292 GetParamVal: iniFile [LOGGING] RouteCrossbar = 0
23292 GetParamVal: iniFile [LOGGING] DoContextMenu = 0
23292 GetParamVal: iniFile [LOGGING] DoTimerTick = 0
23292 InitParams: iniFile [SETUP] -- FOUND
23292 GetParamVal: iniFile [SETUP] CountryCode = 1
23292 GetParamVal: iniFile [SETUP] InputType = 1
23292 GetParamVal: iniFile [SETUP] StorageMode = 0
23292 GetParamVal: iniFile [SETUP] DefaultDrive = 2
23292 GetParamVal: iniFile [SETUP] MinFreeSpace = 1200
23292 GetParamVal: iniFile [SETUP] Retries = 5
23292 GetParamVal: iniFile [SETUP] ClientTickerMessage = 1
23292 InitParams: iniFile [BOARDS] -- FOUND
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0803&subsys_40010070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0803&subsys_40000070=PVR350.iVac = PVR350.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_40010070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_40090070=PVR250.iVac_NH = PVR250.iVac_NH
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0803&subsys_48010070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0803&subsys_48000070=PVR350.iVac = PVR350.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_48010070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_48090070=PVR250.iVac_NH = PVR250.iVac_NH
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0803&subsys_48030070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_48030070=PVR250.iVac = PVR250.iVac
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_480b0070=PVR250.iVac_NH = PVR250.iVac_NH
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_80030070=PVR150.Amity2 = PVR150.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_88010070=PVR150.Amity2 = PVR150.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_e8070070=PVR500t1.Amity2 = PVR500t1.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_e8170070=PVR500t2.Amity2 = PVR500t2.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_c8010070=PVR150lp.Amity2 = PVR150lp.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_e0030070=PVR500r1.Amity2 = PVR500r1.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_4444&dev_0016&subsys_e0130070=PVR500r2.Amity2 = PVR500r2.Amity2
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_21500070=HVR1250.Xbar418 = HVR1250.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_21000070=HVR1250.Xbar418 = HVR1250.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74000070=HVR1600-QAM.Xbar418 = HVR1600-QAM.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74020070=HVR1600+QAM.Xbar418_NH = HVR1600+QAM.Xbar418_NH
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74040070=HVR1600+QAM.Xbar418 = HVR1600+QAM.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74440070=HVR1600+QAM.Xbar418 = HVR1600+QAM.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74080070=HVR1800-QAM.Xbar418 = HVR1800-QAM.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_740C0070=HVR1800+QAM.Xbar418 = HVR1800+QAM.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_14f1&dev_5b7a&subsys_74200070=HVR1250.Xbar418 = HVR1250.Xbar418
23292 InitParams: iniFile [BOARDS] pci#ven_1131&dev_7164&subsys_89000070=HVR2200.Wiltshire = HVR2200.Wiltshire
23292 InitParams: iniFile [BOARDS] pci#ven_1131&dev_7164&subsys_89010070=HVR2200.Wiltshire = HVR2200.Wiltshire
23292 InitParams: iniFile [BOARDS] pci#ven_1131&dev_7164&subsys_88000070=HVR2250.Halesite = HVR2250.Halesite
23292 InitParams: iniFile [BOARDS] usb#vid_2040&pid_2900=PVRUSB2.iComp = PVRUSB2.iComp
23292 InitParams: iniFile [BOARDS] usb#vid_04b4&pid_8613=PVRUSB2.iComp = PVRUSB2.iComp
23292 InitParams: iniFile [BOARDS] usb#vid_0547&pid_1002=PVRUSB2.iComp = PVRUSB2.iComp
23292 InitParams: iniFile [BOARDS] usb#vid_2040&pid_2450=PVRUSB2.iComp = PVRUSB2.iComp
23292 CountCards: Board #1 is a HVR2200 (pci#ven_1131&dev_7164&subsys_89010070) and uses crossbar routes Wiltshire
23292 CountCards: Board #2 is a HVR2200 (pci#ven_1131&dev_7164&subsys_89010070) and uses crossbar routes Wiltshire
23292 CountCards: Found 2 boards in the computer
23292 InitParams: iniFile [XBAR.Wiltshire] -- FOUND
23292 GetParamVal: iniFile [XBAR.Wiltshire] VideoTunerPinNo = 0
23292 GetParamVal: iniFile [XBAR.Wiltshire] AudioTunerPinNo = 5
23292 GetParamVal: iniFile [XBAR.Wiltshire] Composite1PinNo = 1
23292 GetParamVal: iniFile [XBAR.Wiltshire] Composite2PinNo = 3
23292 GetParamVal: iniFile [XBAR.Wiltshire] SVideo1PinNo = 2
23292 GetParamVal: iniFile [XBAR.Wiltshire] SVideo2PinNo = 4
23292 GetParamVal: iniFile [XBAR.Wiltshire] AudioLine1PinNo = 6
23292 GetParamVal: iniFile [XBAR.Wiltshire] AudioLine2PinNo = 7
23292 InitParams: iniFile [DVD] for -profile:DVD -- OK
23292 GetParamVal: iniFile [DVD] AudioCrc = 0
23292 GetParamVal: iniFile [DVD] AudioDataRate = 11
23292 GetParamVal: iniFile [DVD] AudioOutputMode = 0
23292 GetParamVal: iniFile [DVD] AudioSamplingRate = 2
23292 GetParamVal: iniFile [DVD] VideoStreamType = 102
23292 GetParamVal: iniFile [DVD] VideoBitratePeak = 6000
23292 GetParamVal: iniFile [DVD] VideoBitrateMode = 1
23292 GetParamVal: iniFile [DVD] VideoBitrateAve = 4000
23292 GetParamVal: iniFile [DVD] VideoResolution = 1
23292 GetParamVal: iniFile [DVD] VideoGopN = 15
23292 GetParamVal: iniFile [DVD] VideoGopM = 3
23292 GetParamVal: iniFile [DVD] VideoClosedGOP = 1
23292 GetParamVal: iniFile [DVD] InverseTelecine = 0
23292 GetParamVal: iniFile [DVD] Multiplier = 120
23292 InitParams: iniFile [PREFILTER] for -prefilter:PREFILTER -- OK
23292 GetParamVal: iniFile [PREFILTER] Mode = 0
23292 GetParamVal: iniFile [PREFILTER] LumaType = 1
23292 GetParamVal: iniFile [PREFILTER] ChromaType = 1
23292 GetParamVal: iniFile [PREFILTER] StaticTemporal = 1
23292 GetParamVal: iniFile [PREFILTER] StaticSpatial = 1
23292 GetParamVal: iniFile [PREFILTER] TemporalLevel = 8
23292 GetParamVal: iniFile [PREFILTER] SpatialLevel = 0
23292 GetParamVal: iniFile [PREFILTER] LumaLow = 0
23292 GetParamVal: iniFile [PREFILTER] LumaHigh = 256
23292 GetParamVal: iniFile [PREFILTER] ChromaLow = 0
23292 GetParamVal: iniFile [PREFILTER] ChromaHigh = 256
23292 InitParams: iniFile [PROCAMP.Wiltshire] for -procamp:PROCAMP.Wiltshire -- OK
23292 GetParamVal: iniFile [PROCAMP.Wiltshire] Hue = 0
23292 GetParamVal: iniFile [PROCAMP.Wiltshire] Brightness = 0
23292 GetParamVal: iniFile [PROCAMP.Wiltshire] Contrast = 128
23292 GetParamVal: iniFile [PROCAMP.Wiltshire] Saturation = 128
23292 GetParamVal: iniFile [PROCAMP.Wiltshire] Sharpness = 3
23292 WinMain: Set Delay Timer(0) -- OK
23292 WinMain: Set Clock Timer(1000) -- OK
23292 WndProc: Timer DELAY received ... starting
23292 InitIPC: CreateEvent(WinTvCap_ABORT_1) -- OK
23292 InitIPC: CreateEvent(WinTvCap_DONE_1) -- OK
23292 InitIPC: CreateMutex(WinTvCap_MUTEX_1) -- OK
23292 InitIPC: ReleaseMutex(WinTvCap_MUTEX_1) -- OK
23292 ProcessOutFn: Output filename: C:\Documents and Settings\Administrator\My Documents\My Videos\test.mpg
23292 InitIPC: ProcessOutFn() -- OK
23292 BuidGraph: CoCreateInstance(CLSID_FilterGraph) -- OK
23292 BuidGraph: CoCreateInstance(CLSID_WinTVCapWriter) -- OK
23292 BuidGraph: FindFilter "Hauppauge WinTV-7164 Analog Capture" -- OK
23292 BuidGraph: FindFilter "Hauppauge WinTV-7164 Analog Xbar" -- OK
23292 BuidGraph: FindFilter "Hauppauge WinTV-7164 Analog TV Tuner" -- OK
23292 BuidGraph: FindFilter "Hauppauge WinTV-7164 Analog TV Audio" -- OK
23292 BuidGraph: FindFilter "Hauppauge WinTV-7164 ASF Encoder/Mux" -- OK
23292 BuidGraph: writerFilter->QueryInterface(IWinTvCapSink) -- OK
23292 BuidGraph: crosbarFilter_->QueryInterface(IAMCrossbar) -- OK
23292 BuidGraph: tvTunerFilter_->QueryInterface(IAMTVTuner) -- OK
23292 BuidGraph: tvAudioFilter_->QueryInterface(IAMTVAudio) -- OK
23292 BuidGraph: captureFilter_->QueryInterface(IAMAnalogVideoDecoder) -- OK
23292 BuidGraph: captureFilter_->QueryInterface(IAMVideoProcAmp) -- OK
23292 BuidGraph: captureFilter_->QueryInterface(IKsPropertySet) -- OK
23292 BuidGraph: filterGraph2->QueryInterface(IMediaControl) -- OK
23292 BuidGraph: Add Writer Filter -- OK
23292 BuidGraph: Add Capture Filter -- OK
23292 BuidGraph: Add Crossbar Filter -- OK
23292 BuidGraph: Add TvTuner Filter -- OK
23292 BuidGraph: Add TvAudio Filter -- OK
23292 BuidGraph: Add Encoder Filter -- OK
23292 BuidGraph: mbstowcs(C:\Documents and Settings\Administrator\My Documents\My Videos\test.mpg) -- OK
23292 BuidGraph: fileSink->SetLength (4000, 1, 120) -- OK
23292 BuidGraph: fileSink->SetMode(0) -- OK
23292 BuidGraph: fileSink->SetFileName() -- OK
23292 BuidGraph: hcwECP.get_InfoModel() -- FAIL, (0x80070492) E_PROP_SET_UNSUPPORTED: The Specified property set is not supported.
23292 BuidGraph: hcwECP.get_DriverVersion() -- FAIL, (0x80070492) E_PROP_SET_UNSUPPORTED: The Specified property set is not supported.
23292 BuidGraph: hcwECP.get_GeneralString() -- FAIL, (0x80070492) E_PROP_SET_UNSUPPORTED: The Specified property set is not supported.
23292 BuidGraph: Connect, TvTuner:"Analog Video" -> Crossbar:"0: Video Tuner In" -- OK
23292 BuidGraph: Connect, TvTuner:"Analog Audio" -> TvAudio:"TVAudio In" -- OK
23292 ConnectPins: TVAudio Out->Connect(5: Video Composite In) -- FAIL, (0x80040207) DIERR_NOTBUFFERED & VFW_E_NO_ACCEPTABLE_TYPES: Attempted to read buffered device data from a device that is not buffered. & There is no common media type between these pins.
23292 BuidGraph: Connect, TvAudio:"TVAudio Out" -> Crossbar:"5: Video Composite In" -- FAIL
23292 BuidGraph: Connect, Crossbar:"0: Video Decoder Out" -> Capture:"Analog Video In" -- OK
23292 BuidGraph: Connect, Crossbar:"1: Audio Decoder Out" -> Capture:"Analog Audio" -- OK
23292 FindPin: Can't find pin: 4
23292 ConnectPins: src, FindPin(4) -- FAIL
23292 BuidGraph: Connect, Capture:"<not found>" -> Encoder:"Analog Audio" -- FAIL
23292 WndProc: Timer LIMIT received ... stopping
23292 WndProc: PostMessage (IDM_EXIT) -- OK
23292 WndProc: IDM_EXIT received ... stopping
23292 WndProc: Shell_NotifyIcon(NIM_DELETE) -- OK
23292 WndProc: PostQuitMessage(0)
23292 WndProc: DestroyWindow() -- OK
23292 ExitInstance: SetEvent(hDone) -- OK
23292 ExitInstance: CloseHandle(hMutex) -- OK
23292 ExitInstance: CloseHandle(hDone) -- OK
23292 ExitInstance: CloseHandle(hAbort) -- OK
23292 ExitInstance: CoUninitialize() -- OK


SHS

  • Administrator
  • Super Senior Member
  • *****
  • Posts: 8405
    • SHS Unofficial WinTV-PVR & MediaMVP
Re: WinTvCap3.0
« Reply #14 on: April 27, 2008, 08:29:26 AM »
I was more interested in the analogue side.  The card is capable of many formats in hardware - MPEG1, 2, 4 and VC1 for video and MP2, MP3, AAC and AC3 for audio, but MPEG2 and MP2 ability would be good enough for a starting point.  DVB-t support is easy enough via any BDA capable program so there's no real need to look at that aspect.

VEN_1131&DEV_7164&SUBSYS_89010070&REV_81
I take that this is a Hauppauge WinTV-HVR-2200 Pal ver you lucky dog being the US ver 2250 is still not even out