![]() |
||
Basic Member
加入日期: Mar 2003
文章: 26
|
[求助]mov檔+Avisynth+plugins轉mpg/avi問題
[求助]mov檔+Avisynth+plugins轉mpg/avi問題
我有個mov檔(352x240),是用dc在夜晚拍的,當我在電腦播的時候,非常暗,而且多雜訊.....用tmpgenc加濾鏡轉mpg/avi可以調到比以前亮和畫面雜訊比以前少,但速度慢的可怜..... 請問用Avisynth+plugins轉mpg/avi要如何設定才能做到"比以前亮和畫面雜訊比以前少,而且速度比以前快"呢?? 謝謝!! |
|||||||
![]() |
![]() |
Basic Member
加入日期: Mar 2003
文章: 26
|
請幫幫忙唷.........
|
||
![]() |
![]() |
Basic Member
加入日期: Mar 2003
文章: 26
|
推唷
那麼快就到第三頁去了 |
![]() |
![]() |
Basic Member
加入日期: Mar 2003
文章: 26
|
難道這裡真的沒有人懂嗎??
|
![]() |
![]() |
Senior Member
![]() ![]() ![]() 加入日期: Oct 2002 您的住址: El's room
文章: 1,046
|
調整亮度,avisynth 有內建 ColorYUV 的指令,這個指令的參數非常多:
ColorYUV (clip, float "gain_y", float "off_y", float "gamma_y", float "cont_y", float "gain_u", float "off_u", float "gamma_u", float "cont_u", float "gain_v", float "off_v", float "gamma_v", float "cont_v", string "levels", string "opt", boolean "showyuv", boolean "analyze", boolean "autowhite", boolean "autogain") ColorYUV allows many different methods of changing the color and luminance of your images. ColorYUV is present in AviSynth v2.5. All settings for this filter are optional. All values are defaulting to "0". Gain, offset, gamma and contrast can be set independent on each channel. Gain is a multiplier for the value. That means that if gain is set to 0, it preserves the values as they are. When gain is 256 all values are multiplied by 2 (twice as bright). If gain is 512 all values are multiplied by 3. Offset adds a value to the luma or chroma values. An offset set to 16 will add 16 to the pixel values. An offset of -32 will subtract 32 from all pixel values. Gamma adjusts gamma of the specified channel. A gamma value of 0 is the same as gamma 1.0. When gamma is set to 256 it is the same as gamma 2.0. Gamma is valid down to -256, where it is the same as gamma 0.0. Contrast adjusts contrast of the specified channel. Values are the mapped the same way as Gamma. Levels can be set to either "TV->PC" or "PC->TV". This will perform a range conversion. Normally YUV values are not mapped from 0 to 255 (PC range), but a limited range (TV range). This performs conversion between the two formats. If nothing is entered as parameter, no conversion will be made (default operation). Opt can be either "coring" or "" (nothing, default setting). Specifying "coring" will clip your YUV values to the valid TV-ranges. Otherwise "invalid results" will be accepted. ShowYUV can be true or false. This will overwrite your image with an image showing all chroma values along the two axes. This can be useful if you need to adjust the color of your image, but need to know how the colors are arranged. At the topleft of the image, the chroma values are '16'. At the right side of the image, U is at maximum. At the bottom of the screen V is at its maximum. In the middle both chroma is 128 (or grey). Analyze can be true or false. This will print out color statistics on the screen. There are maximum and minimum values for all channels. There is an average for all channels. There is a "loose maximum" and "loose minimum". The "loose" values are made to filter out very bright or very dark noise creating an artificially low or high minimum / maximum. Autowhite can be true or false. This setting will use the information from the analyzer, and attempt to center the color offsets. If you have recorded some material, where the colors are shifted toward one color, this filter may help. But be careful - it isn't very intelligent - if your material is a clear blue sky, autowhite will make it completely grey! If you add "off_u" or "off_v" parameters at the same time as autowhite, they will not be used! Autogain can be true or false. This setting will use the information from the analyzer, and attempt to create as good contrast as possible. That means, it will scale up the luma (y) values to match the minimum and maximum values. This will make it act much as an "autogain" setting on cameras, amplifying dark scenes very much, while leaving scenes with good contrast alone. Some places this is also refered to as "autolevels". The quantities saturation, contrast and brightness (as in Tweak for example) are connected with quantities in this filter by the following equations: cont_u = cont_v = - (1 - saturation) * 256 cont_y = - (1-contrast) * 256 off_y = brightness A saturation of 0.8 gives for example: cont_u = cont_v = - 0.2 * 256 = 51.2. 去雜訊,avisynth 也有內建空間上和時間軸的兩種濾雜訊,分別是 SpatialSoften / TemporalSoften 詳細的參數指令,全部都寫在 C:\Program Files\AviSynth 2.5\Docs\english\ 的 index.htm -> Core Filters -> Processing 裡面 Avisynth 還有許多第三方的外掛 plugin,可以作很強的濾雜訊處理,超強,不過要自行研究和尋找一下..... 我覺得 TMPGEnc 和 AviUtl 的濾雜訊雖然慢但是品質卻相當良好,所以如果沒時間研究的話,還是用 TMPGEnc / AviUtl 來作處理會比較方便。 |
![]() |
![]() |
Amateur Member
![]() 加入日期: Sep 2002
文章: 33
|
Shade大大解答了...真正的強者.......
樓主的問題不常見..不是沒人想回答你..... 要能解答AviSynth這類問題是要有兩把刷子的......... |
![]() |
![]() |