Page 1 of 1

OpenGL is Blue for TV

Posted: 02 May 2008 20:19
by pjsteele
When I use OpenGL as my video output I get blue faces on the TV. I am using a Pinnacle Pro HD card for my tv tuner. I know it is not my screen because I get good results from the DVD Section,


Attached is an example of a TV and DVD split screen. I used two activex controls to create the program

TV ->Image <-DVD

Any suggestions?

Re: OpenGL is Blue for TV

Posted: 04 May 2008 14:44
by VLC_help
Does this happen with other video output modules?

Re: OpenGL is Blue for TV

Posted: 06 May 2008 14:52
by pjsteele
No this only happens when I use OpenGL. I would prefer to use DirectX but I am getting "artifacts" on the screen. Here is an exampleImage

The "artifcact" issue could because of the way I strecth the screen. I need to fill the entire area which is often non-standard. Here is the script I use

<html>
<head>
</head>
<body id="bdyMain" style="margin:0; height:100%; width:100%" background="#000000">

<object id="objVLC" style="width:100%; height:100%"
classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab" >
<param name="Src" value="" />
<param name="ShowDisplay" value="false" />
<param name="AutoLoop" value="false" />
<param name="AutoPlay" value="true" />
</object>

<script language="javascript" type="text/javascript">

// What channel are we watching
var channel = getQueryVariable("channel");

// Pass an array of parameters to the VLC control
var options = new Array;
options[0] = ":dshow-vdev=Analog Video Capture";
options[1] = ":dshow-adev=Analog Video Capture";
options[2] = ":dshow-tuner-channel=44";
options[3] = ":dshow-tuner-country=1";
options[4] = ":dshow-tuner-input=1";

// Create a custom aspect ratio to fill the entire screen
var height = document.getElementById("bdyMain").offsetHeight
var width = document.getElementById("bdyMain").offsetWidth
options[5] = ":aspect-ratio=" + width + ":" + height;

document.getElementById("objVLC").playlist.add("dshow://", "TV", options);
document.getElementById("objVLC").playlist.play();

// Give the ActiveX a nudge to repaint the screen
document.getElementById("objVLC").style.display="none";
document.getElementById("objVLC").style.display="block";


</script>
</body>
</html>

Re: OpenGL is Blue for TV

Posted: 06 May 2008 15:35
by VLC_help
Does Direct3D work any better?