Digital Video Forums  

Go Back   Digital Video Forums > Other > Archive (Closed) > VirtualDub

LinkBack Thread Tools Search this Thread Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 21 Aug 2008, 11:51 AM   #1
Junior Member
Junior Member
Join Date: Aug 2008
Posts: 2
Default VLC (VideoLAN) Gamma Correction for MPG Video File!?

Hi there!

I have a mpg video file that I shot with my digital camera but its pretty dark.

I watched the video on VLC (VideoLAN) and improved the gamma on the extended gui. it makes the picture so much more brighter and clearer. i've tried using adobe premiere pro and virtualdub to correct the gamma but i didnt manage to get a picture that was nearly as good as on VLC. And the higher i raise the gamma on these programs the more orange/red the picture becomes whereas on VLC it just becomes brighter and im definitely using the gamma option on VLC and not the brightness as that one makes the picture look fairly dull.

anyone know how i can achieve the VLC gamma correction and save it as a new file?

thank you.
towerofchico is offline  
Old 9 Apr 2010, 05:13 AM   #2
Junior Member
Junior Member
Join Date: Apr 2010
Posts: 2

I have the same question!
Noone knows how to export with VLC while applying the gamma correction?
nawak is offline  
Old 9 Apr 2010, 07:17 AM   #3
Junior Member
Junior Member
Join Date: Apr 2010
Posts: 2

I have found how to do what I want (brighten the video file), but not using VLC.
I still don't know if it's possible to convert a video file with VLC while applying video "effects".

First, the reason why VirtualDub's gamma filters don't work: they apply the gamma on the RGB components. I am guessing that VLC applies gamma on the Y channel of YUV components only, which is what you want when you need to brighten a video.

Now, to brighten a video (apply gamma on the Y channel) you need to use an aviSynth script. Install aviSynth if you don't have it.
The avs script will look like that:
DirectShowSource("C:\temp\video.mp4", pixel_type="YUV")
(gamma_y=256 makes a Y channel gamma of 2.0, which is what my video needed))

Then, open the avs script in virtualDub as if it was an avi file.
Finally, convert the video using virtualDub as usual.

nawak is offline  


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VideoLAN - VLC Media Player MikeyBK DVD Encoding and Playback 5 23 Mar 2006 03:51 AM
Videolan (VLC) Hilfe benötigt! Capt_Kirk Auf Deutsch 0 10 Sep 2004 03:43 AM
Mpeg in VideoLAN/vlc abspielen LaDiva Auf Deutsch 0 14 May 2004 03:44 AM
Correction My encoded divx clip is a dat file? lingoguysw5 General Discussions 7 3 Aug 2003 07:27 PM
VideoLAN client and more... Don Tomazo DVD Encoding and Playback 0 14 Apr 2003 09:40 PM

All times are GMT +10. The time now is 04:29 PM.

Kirsch designed by Andrew & Austin

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit