OpenGL is Blue for TV

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
pjsteele
Blank Cone
Blank Cone
Posts: 27
Joined: 20 Mar 2008 15:53

OpenGL is Blue for TV

Postby pjsteele » 02 May 2008 20:19

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?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: OpenGL is Blue for TV

Postby VLC_help » 04 May 2008 14:44

Does this happen with other video output modules?

pjsteele
Blank Cone
Blank Cone
Posts: 27
Joined: 20 Mar 2008 15:53

Re: OpenGL is Blue for TV

Postby pjsteele » 06 May 2008 14:52

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>

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: OpenGL is Blue for TV

Postby VLC_help » 06 May 2008 15:35

Does Direct3D work any better?


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 59 guests