Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Gamma Or Brightness/contrast For Input Video Pane
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
plamengv
Posted: Mar 23 2011, 02:22 AM


Member


Group: Members
Posts: 16
Member No.: 24678
Joined: 15-December 08



Is it possible to add gamma or brightness/contrast settings just for the input video pane?
The editing mode is meant to be used with the input video pane and when the video is too dark it becomes difficult to cut.
 
     Top
phaeron
Posted: Mar 26 2011, 09:19 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Sorry, no... the input pane is just an upstream tap on the filter path. In order to do filters on it I'd need to have two filter chains.

Is there a reason you can't cut off the output pane?
 
    Top
plamengv
Posted: Mar 27 2011, 06:33 AM


Member


Group: Members
Posts: 16
Member No.: 24678
Joined: 15-December 08



The reason for my trouble is the fact that under Windows 7 64bit and using nVidia GT 240 the input pane is not hardware accelerated (the so called video overlay). So I'm having that trouble since I moved to Windows 7 64 bit.
I did setup my monitor to very dark levels via the nVidia panel and then just for video I pushed the gamma settings, so when I play the video in hardware accelerated player it looks just like I didn't darken my monitor.
The videolan guys fixed the hardware acceleration several months ago (I guess this is what they did? http://mailman.videolan.org/pipermail/libb...ber/000069.html ) but in VirtualDub the input pane is never accelerated. So I need a way to brighten the input video pane just for itself without affecting anything - just for preview purposes, like the Ratio correction you have implemented.
Why I can't just use filter and work with the output pane? First - it is very easy to forget that there is a filter applied and then I have to export twice.
The second reason is the most important one. To cut first you have to select one point and then another. The output pane works with Enter, the input with Space bar.
So I have to use Enter to play the video while I am selecting the points (to have the gamma filter on) - well it does not work. After you make the first selection the Enter button plays only to the first selection point and there is no way I can select the second point because I can't play the video further.
I know it sounds like a stupid reason for such request, but the gamma correction exists in almost any player so maybe it is not such a bad idea to implement it somehow?
Thank you.
 
     Top
phaeron
Posted: Apr 3 2011, 12:59 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



A couple of issues with hardware video overlay:

  • Very few modern video cards support more than one active video overlay; the last one I knew of was the Tseng Labs ET6000. Not a problem for video players, more of an issue for VirtualDub.
  • Video overlays are partially broken under Windows Vista and up, such that the way which VirtualDub uses them doesn't work reliably. I've tried to fix this, but the problem is that any attempt to display video frames above about 30 fps causes severe lag. On top of that, there have been chronic problems with video drivers using the wrong video level interpretation for video playback.

For these reasons, hardware video overlay will be disabled by default starting with 1.10.1. The preferred display method under Windows 7 is to enable Direct3D display mode instead.

The changelist that you've linked from VLC doesn't seem to have anything to do with display, but compositing of layers from BluRay video. This is an "overlay" in the sense of the word, but different from the specific hardware feature involved here.

Sorry, but the path that you're describing for video players is more difficult for me to support.
 
    Top
plamengv
Posted: Apr 3 2011, 08:32 PM


Member


Group: Members
Posts: 16
Member No.: 24678
Joined: 15-December 08



Yes, I read about all those troubles a while ago.
I wonder then what Videolan guys did to make it work? I have hesitated to rise my question for months. And I did it just because I saw that they found solution.
I know for sure that enabling "Always On Top" breaks the acceleration in VLC again.
Regarding the Direct3D, this is exactly how I had to setup my VirtualDub. Maybe the default values require some revisiting? I found that with the default settings the MPEG2 HD looks in little squares.
I'm more than happy with what everyone is doing for VirtualDub. I would try to be in help myself if I had the maths knowledge.
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Mar 23 2011, 02:22 AM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Development Forum