DirectX (DirectDraw) command options

This forum is about all development around libVLC.
tommygr
Blank Cone
Blank Cone
Posts: 16
Joined: 08 Mar 2012 20:45

DirectX (DirectDraw) command options

Postby tommygr » 04 Apr 2012 02:58

Im wondering if anyone can help me with some settings or validate my current command options.

Im trying to reproduce the settings in the vlc app under tools->preferences.

Under Display
- Accelerated video output (overlay) - checked
- Use hardware YUV->RGB conversions - checked
- Window Decorations - checked
- Output : DIrectX (DirectDraw) Video output - Selected


this is the command options I have set:

Code: Select all

const char * const vlc_args[] = { "--no-one-instance", "--reset-plugins-cache", "--no-media-library", "--no-stats", "--no-osd", "--directx-hw-yuv", "--no-video-title-show", "--intf=dummy"};
The problem is Im not getting the same results as the VLC application. I was thinking that --directx-hw-yuv was the key param here but it doesn't seem to be working

Is there any way to dump the params that VLC Application is using? I thought the Debug window use to do that.


Any help is much appreciated.

tommygr
Blank Cone
Blank Cone
Posts: 16
Joined: 08 Mar 2012 20:45

Re: DirectX (DirectDraw) command options

Postby tommygr » 06 Apr 2012 20:11

Nothing...

OK. So besides the vlc full help command for the modals is there any other documentation on the different flags.

Looking through the vlc source code it looks like the flag --directx-hw-yuv is handled by modules\video_output\msw\directx.c which is the Direct Draw wrapper which is what the VLC app is using. I don’t understand why the difference in rendering results between my app and the VLC app.

In fact under Windows 7 I see the tool tip bubble that tells me that my desktop config has changed which means that areo is affected so I know the VLC app is doing something different.

The whole reason for doing this is because mp4 is dropping frames with Direct3D module and it looks awesome when using DirectDraw on Win 7 with an NVidia 8500 GT, ION, and NVidia 9400 GT. Yes drivers are all up to date.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests