MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2007-04-16, 16:21   #1 (permalink)
Portal User
 
Join Date: Mar 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts


Default Add SetQualityHAUPPAUGE function

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
arogerm is offline   Reply With Quote
Old 2007-04-17, 03:01   #2 (permalink)
Portal Member
 
Join Date: Nov 2006
Posts: 335
Thanks: 1
Thanked 1 Time in 1 Post

Country:

My System

Default

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
Rhys.Goodwin is offline   Reply With Quote
Reply

Bookmarks

Tags
add, function, setqualityhauppauge

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
new epg function wertzui Improvement Suggestions 10 2006-02-11 19:42
Search function alex Improvement Suggestions 0 2006-01-14 23:17
Search function? alex General Support 4 2006-01-11 08:07
DiSEqC 1.2 function pl4ya Improvement Suggestions 0 2005-03-21 18:46
editing function MediaTobiPortal Improvement Suggestions 3 2005-02-22 04:39


All times are GMT +1. The time now is 23:25.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress