Why is my HCenc resulting lighter/brighter AVI video?
Some reason my videos are coming out brighter. This is a concern because some of the text on lighter background now can not be read. How can I fix this?
Thanks
My settings are:
Code:*INFILE F:\My Documents\C L I E N T S\Art Centre\talking-heads.avs *OUTFILE F:\My Documents\C L I E N T S\Art Centre\talking-heads\video\talking-heads..mpg *BITRATE 15000 *MAXBITRATE 20000 *FRAMES 0 360 *AUTOGOP 15 *MATRIX mpegCode:AVISource("F:\My Documents\C L I E N T S\Art Centre\talking-heads\video\talking-heads.avi") ConvertToYV12()
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 17 of 17
Thread
-
Downunder
Gold Coast QLD -
How are you comparing the output ?
Are you comparing them side by side on the PC, or comparing the avi on the PC with the mpeg on your TV ?
Try loading the same clip into something with a vectorscope (Vegas has one, and there is a plugin for virtualdub as well) to get an objective view. It could be the colourspace change, or a shift in IRE levels.Read my blog here.
-
I am looking both at the same PC screen. I am converting AVI to MPG. Why is it that its getting brighter. ? Is there any way during the encoding I could compensate ? if so what is the code I need to experiment with?
ThanksDownunder
Gold Coast QLD -
What are you comparing with? If you are using a media player it might just be a video overlay issue. Only one program at a time can use overlay and overlay has its own brightness and contrast settings.
Try using VirtualDubMPEG2 (which doesn't use overlay) to compare the two files. Or open some other video first (so it gets video overlay) then open the two files you want to compare. -
I am using ASUS DVD (cyberlink Power DVD ) player. why do they original AVI and converted MPG) look different when viewed on the same machine with same screen using same DVD player?
There must be some thing in the encoding that makes the MPG brighter surely.
Is there an adjustment code where I can insert into the ini file to bring the brightness/contrast levels down? and what are they?
And where can I find all the available commands I can use for the AVS and HC ini files. I can't find them anywhere.
Thanks.
PS. I will check it in avisynth too but I dought it will look the sameDownunder
Gold Coast QLD -
The AVISynth script and your using shouldn't cause any brightness shift in HCEnc. But try using DirectShowSource() instead of AVISource(). That will force AVISynth to use DirectShow decoders rather than VFW decoders. There could be a difference in the way the two are working.
Are you comparing both videos at the same time with PowerDVD (I don't know if it will let you start two instances)? If so, it could be the video overlay settings I mentioned earlier. If not, then PowerDVD might be handling MPEG and AVI sources differently.
If you want to post short samples of each we'll take a look at them. -
Yes you are right with saying
then PowerDVD might be handling MPEG and AVI sources differently
I have used other viewers and looks fine. Oh thank god. Thank you for your suggestion.
I do not have a vectorscope so I won't be able to see that.
I am new to HCenc so I want to explore further. Is it really possible to get results like this here http://www.animemusicvideos.org/guides/avtech/utenacleanup.html If I use the same code in my ini files. Mind you I have a AVI source.
And lastly its pity that I can not convert from flash swf files to mpg using HCenc. Or is there a way?[/quote][/code]Downunder
Gold Coast QLD -
Is it really possible to get results like this here http://www.animemusicvideos.org/guides/avtech/utenacleanup.html If I use the same code in my ini files. Mind you I have a AVI source.
And lastly its pity that I can not convert from flash swf files to mpg using HCenc. Or is there a way? -
I am not interested in converting crappy YouTube videos. I create animation in Flash. I then need to convert it to MPG video for cinema screening. Currently I am exporting flash as AVI then using HC to convert to MPG. I was thinking if there was a way of converting SWF file to MPG.
I have been experimenting with AviSynth scripting but every time I place a command (just for sake of it to see the results) I get no xxxfunction found. Not sure why?
For example I tried this and get the error.
AVISource("F:\My Documents\C L I E N T S\Art Centre\talking-heads\video\talking-heads.avi")
fluxsmooth()
mftoon()
ssxsharpen()
colorYUV(gain_u=15)
tweak(sat=1.2)
But if I use the following its fine.
AVISource("F:\My Documents\C L I E N T S\Art Centre\talking-heads\video\talking-heads.avi")
ConvertToYV12()
So as you can see I am trying to learnDownunder
Gold Coast QLD -
Oh, not YouTube. Sorry. The odds were that the SWF source was a YouTube video.
Test your scripts in VDubMod so you get a good error message if something's wrong with the script. And since HCEnc requires YV12 input, if the source isn't YV12, you'll have to make it so before encoding. Add Info() after the AviSource line to find the colorspace of the source.
If that was your entire script, then you didn't load the various filter.dlls, and it won't work. You can stick the .dlls in the AviSynth Plugins folder, and they're supposed to load automatically, but I prefer to load them myself. So, your script might go something like this:
LoadPlugin("C:\Path\To\Fluxsmooth.dll")
LoadPlugin("C:\Path\To\MFToon.dll")
LoadPlugin("C:\Path\To\SSXSharpen.dll")
AVISource("F:\My Documents\C L I E N T S\Art Centre\talking-heads\video\talking-heads.avi")
fluxsmooth()
mftoon()
ssxsharpen()
colorYUV(gain_u=15)
tweak(sat=1.2)
ConvertToYV12() -
Thanks for the tip and help. I'll experiment and feed back here in a few days.
Thanks againDownunder
Gold Coast QLD -
A Doom9 user called Trevlac has written a cool filter for virtualdub called Color Tools, which includes a vectorscope and histogram function.
Unfortunately his website seems to have gone, so I have posted a link here
clrtools.vdfRead my blog here.
-
And AviSynth has a built-in Histogram filter with histograms and vectorscopes:
http://avisynth.org/mediawiki/Histogram -
Note that the Colortools filter in VirtualDub will show you levels after conversion to RGB. When VirtualDub converts from YUV to RGB it performs the usual rec.601 luminance stretch. So levels will not be the same as those viewed in AVISynth working in a YUV colorspace.
Similar Threads
-
Avi-to-DVD using HCenc?
By eskro in forum Authoring (DVD)Replies: 22Last Post: 2nd Feb 2010, 06:18 -
Video BRIGHTER when AVI to DVD (ConvertXToDVD)
By Ace-Of-Spades in forum Video ConversionReplies: 8Last Post: 6th Sep 2009, 12:33 -
How to encode an Avi to dvd ready video and audio Using HCenc and Aften
By freebird73717 in forum User guidesReplies: 13Last Post: 14th Nov 2007, 14:16 -
Using HCenc in AVI2DVD, but no resulting MPG?!?
By blizzery in forum Video ConversionReplies: 4Last Post: 23rd Jul 2007, 13:49 -
How do I make video brighter?
By craigdillon in forum Newbie / General discussionsReplies: 3Last Post: 7th Jul 2007, 02:46