video colors changed from official build to my build

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.
arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

video colors changed from official build to my build

Postby arof3000 » 03 Sep 2009 06:21

Community, if possible, try to help me...

I build my player using MSYS/windows and source code version 1.1.0 with contrib 'contrib-20090813-win32-bin-gcc-4.2.1-sjlj-runtime-3.15.2-only.tar.bz2'

My first target was to build all the system and get same behavior than production version.

After some round trips I could build and create the installer.. and voilà, I got my VLC up and running..

the problem is that all colors are changed..

The video shows a logo.. The correct logo's color is an yellow-brown but it is appearing as a blue in my compilted version. Original version, download from site, works 120% (having Windows Media Player as a benchmark)

thanks
Lex

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

Re: video colors changed from official build to my build

Postby VLC_help » 03 Sep 2009 19:19

Disable Use hardware YUV -> RGB conversions option. Tools -> Preferences... (Show settings: All) Video -> Output modules -> DirectX

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 08 Sep 2009 16:21

how may I set this option using the ActiveX control, I mean, programatically?

p.s.: when I set this using my own compilted version, VLC crashes and sends a bug report!

Lex

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

Re: video colors changed from official build to my build

Postby VLC_help » 09 Sep 2009 13:35

how may I set this option using the ActiveX control, I mean, programatically?
Change the default value from source code.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 25 Sep 2009 20:20

any tip where could I change theses values?

sorry, for asking this, but I'm still adapting myself to the environment.. sometimes I miss a debugger, but soon I hope I'll be able to navigate trought the source ..

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

Re: video colors changed from official build to my build

Postby VLC_help » 27 Sep 2009 14:55

Code: Select all

add_bool( "directx-hw-yuv", true, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT, true )
in modules\video_output\msw\directx.c

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 02 Oct 2009 02:19

thanks, I'll try this new :)

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 02 Oct 2009 02:19

I meant .. I'll try this now!! thanks a lot!

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 05 Oct 2009 19:58

VLC_HELP,

I found that 'modules\video_output\msw\directx.c' already contains the declaration:

add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,true )

on vlc_module_begin()

should I make something diferent?

thanks,
Lex

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

Re: video colors changed from official build to my build

Postby VLC_help » 06 Oct 2009 13:55

You have to change

Code: Select all

add_bool( "directx-hw-yuv", 1, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,true )
to

Code: Select all

add_bool( "directx-hw-yuv",0, NULL, HW_YUV_TEXT, HW_YUV_LONGTEXT,true )
IIRC.

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 13 Oct 2009 02:01

Unfortunatelly it didn't worked. getting crazy.. any other tip?

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

Re: video colors changed from official build to my build

Postby VLC_help » 13 Oct 2009 16:54

What is the default setting for that option if you start the VLC that you compiled?

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 15 Oct 2009 01:39

my default it is enabled. after change the settings, it getting DISABLED, as expected, but colors are still wrong.

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

Re: video colors changed from official build to my build

Postby VLC_help » 15 Oct 2009 13:50

Are they wrong on all video output modules?

arof3000
Blank Cone
Blank Cone
Posts: 24
Joined: 06 Aug 2009 10:45

Re: video colors changed from official build to my build

Postby arof3000 » 17 Oct 2009 06:28

all modules (tested with mpeg, avi, flv)

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

Re: video colors changed from official build to my build

Postby VLC_help » 17 Oct 2009 13:22

Then it is an another issue.

Raccune
New Cone
New Cone
Posts: 1
Joined: 22 Feb 2010 21:57

Re: video colors changed in official build

Postby Raccune » 22 Feb 2010 23:37

Then it is an another issue.
Hello! I have another issue^ ^... I have become a member just so that I could bump this thread [if anyone thinks I should start a new thread--I'll do it].

(i'm a Toronto-nian and good with computers [lol 'cept my below avg. typing speed[really! the page will time-out before i'm done]]] ....just to make it totally clear that I'm not a troll or an idiot.

<legend>
0^*=[Windows XP SP3, Pentium(R) 4 2.8Ghz 512DDR ram]
1^*=[till now vlc worked fine, except that the Direct X Wallpaper overlay was non-functional]
2^*=[ati Radeon 9200 256mb]
3^*=[Intel(R) 82865G Graphics Controller, date: 20/09/2005, version: 6.14.10.4396] ***((( Yes, I know most of this information is not relevant!!!
</legend>
<body>
I'm running xp, 0^*, and vlc version 1.0.5.0(.a?), 1^*, today I removed the PCI video card I was using, 2^*, and switched to my default on-board video-out, 3^*,
I needed to update my driver, I completed that with little difficulty. I watched the new sherlock Holmes movie in .mp4 format.

I was presented with the same visual symptoms as described in the beginning of this thread. i.e. The colours (lol-colors) were different, all flesh-tones and close-range warm-colours were all represented by various shades of blue, and in general the whole thing looked like there was a matrix-style blue filter, oh except for white [really white=white]. I enjoyed the error a lot.

Anyway, after I closed vlc and reopened it, the error was gone. My goal, dear forum, is this: I would like to re-enable that effect and potentially control individual- and range-wide colour (lol-color) definitions.

....

BUWAHAHAHA!!!! Is that not a huge undertaking? I'm know I'm just dreaming, but if someone could answer some questions about it that would be great!

RAWR
PLURR
-Tim*W*
RAWR
PLURR
*W*

TF2 Fav Quotes:
Some people think they can out smart me. Maybe, maybe. I have yet to meet one that can out-smart bullet.
Ah ha ha ha! Oh! They're gonna have to glue you back together, IN HELL!!!

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

Re: video colors changed from official build to my build

Postby VLC_help » 23 Feb 2010 17:45

My goal, dear forum, is this: I would like to re-enable that effect and potentially control individual- and range-wide colour (lol-color) definitions.
What you experienced is prolly a display adapter driver bug. There are some color controls you can use via Tools -> Effects and Filters then Video effects and Basic


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: physicist and 18 guests