Add SetQualityHAUPPAUGE function (1 Viewer)

arogerm

New Member
March 14, 2007
4
0
It's possible add this function to TvCardAnalogBase class for asign quality to HAUPPAGE cards?

Add en declarations

int _minKbps;
int _maxKbps;
bool _isVBR;

Add in a constructor of class TvCardAnalogBase default values

_minKbps = 2000;
_maxKbps = 4000;
_isVBR = true;

Add function

public void SetQualityHAUPPAUGE(int minKbps, int maxKbps, bool isVBR)
{
_minKbps = minKbps;
_maxKbps = maxKbps;
_isVBR = isVBR
}

change in BuildGraph this line

_haupPauge.SetVideoBitRate( 2000, 4000, true );
for
_haupPauge.SetVideoBitRate( _minKbps, _maxKbps, _isVBR );


Exist other way for change the quality on a HaupPauge Cards?

Thank's
 

Rhys.Goodwin

Portal Pro
November 20, 2006
336
1
Home Country
New Zealand New Zealand
It would be VERY useful to be able to set hauppauge quality from SetupTV. Especially the audio bitrate currently hard coded to 192kbps causes high pitched audio artifacts for me and at least 1 other user. (See: TvServer Support Forum -> Audio atrifacts). I resorted to compiling my own TVServer from SVN.

I'm farily new to c# and don't really know how but if some gave me a short description on how to impliment this feature I could probably do the code and submit a patch. I'm just not sure how the controls on the SetupTv froms relate to the TvCardAnalogBase class.

Cheers,
Rhys
 

Users who are viewing this thread

Top Bottom