Thanks to everybody (especially jagabo) who introduced me to AviSynth and HC Encoder in a previous thread and helped me to get them working (I wanted to deblock the video). It's really opened my eyes to what's possible for video improvement. I thought stuff like that was only available to studios!
I have 15 year old VHS wrestling tapes which were converted to DVD. I would like to improve the picture quality and I would like the colours to be better. They're a bit dull. I need to change the picture function on my TV from Natural to Cinema to get better colours but they still aren't great. The black levels seem OK though. This is the script I used:
The "CPU=6" is the maximum deblocking setting.Mpeg2Source("I:\New\1 = Test files\clip 704.d2v", CPU=6)
AddBorders(8, 0, 8, 0)
McTemporalDenoise(settings="medium", interlaced=true)
I've added the borders because I'm converting 704 x 480 to 720 x 480.
That script pretty much eliminated the Blocking (pixilation), the Gaussian noise (it's like grain all over the picture), the Mosquito noise (like grain on the edge of objects), and it gave better black levels. But is there anything else I could improve?
I've also uploaded a 20 second DVD ISO HERE. I would be grateful if someone could burn the ISO to a DVD and watch it on your TV via a HDMI cable so you could tell me if there's any part of the picture I could improve with a script. That video is preferable as a video looks different on a TV and PC monitor. Or if you prefer to view it on your PC I've uploaded the M2V video that I created with my script HERE.
Please suggest scripts which you think would improve my video (I don't care how long the scripts take to make a video). I've also included my HC Encoder settings below in case you think I could use better settings:
I saw the power of AviSynth videos such as this: http://vimeo.com/11133342. It looks like the video was unblurred so it looks like a DVD. Are there any filters that can do that with VHS videos which were transferred to DVD?
By the way, what is deringing?
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 30 of 48
Thread
-
Last edited by VideoFanatic; 22nd Sep 2011 at 22:33.
-
The black levels still look too high for me. I think there's a little too much noise reduction too. Everything looks like plastic. I'd try stepping McTemporalDenoise() down to low. Or denoise only the chroma channels:
MergeChroma(last, McTemporalDenoise(settings="high", interlaced=true))
Deringing removes the mosquito noise around sharp edges. It's ringing from the DCT compression. See figure 4:
http://www.waset.org/journals/waset/v13/v13-51.pdf
Wow! When you perform an image search for "DCT ringing" at google some of my posts are at the top:
https://forum.videohelp.com/threads/314708-Good-quality-What-changes-could-be-made?p=19...=1#post1946534
https://forum.videohelp.com/threads/294144-Viewing-tests-and-sample-files?p=1792973&vie...=1#post1792973Last edited by jagabo; 23rd Sep 2011 at 08:56.
-
What do you mean by too high?
Just an update. Like I said before this is the script I used.
Code:Mpeg2Source("I:\New\1 = Test files\clip 704.d2v", CPU=6) AddBorders(8, 0, 8, 0) McTemporalDenoise(settings="medium", interlaced=true)
I've uploaded my original 20 second video HERE or ideally you could download the ISO HERE and burn it to a DVD to see what it looks like on your TV.
I currently do deblocking like this which takes about 1 hour 26 minutes
Code:Mpeg2Source("I:\New\1 = Test files\clip 704.d2v", CPU=6) AddBorders(8, 0, 8, 0)
Code:McTemporalDenoise(settings="medium", interlaced=true)
- Screen flicker removed
- Mosquito noise around the edges of objects removed
- Better black levels and colours
-
Try adding ColorYUV(cont_y=24,off_y=-12). That's probably a decent compromise for the clip. Or ColorYUV(autogain=true) (you'll have to crop away the black borders first, add them back later). It's a bit aggressive for my taste though. Maybe you could follow it with ColorYUV(gain_y=-8), something like that.
For faster noise removal look at fft3d(), TTempSmooth(), DegrainMedian(), any of the 3d smoothers. But leave a little of the grain in the video. It will reduce the posterization -- especially noticeable in the black/gray background. -
Could you please suggest a script which contains all of that as I don't know what settings to use?
Should I still have this at the top of my file?:
Code:Mpeg2Source("I:\New\1 = Test files\Dec 30 original test file.d2v", CPU=6) AddBorders(8, 0, 8, 0)
Also just wondering what you meant by the black levels being too high. Does that mean they are too black?Last edited by VideoFanatic; 23rd Sep 2011 at 17:55.
-
Without the AddBorders() there's still a bit of black at the left edge. That's probably not enough to confuse ColorYUV's autogain feature. But if it does you'll have to crop that away too. Then add borders back later.
I don't do a lot of noise reduction myself. For all those other filters you can read the docs as well as I can. You can also search through posts here looking for examples.
Try using Deen(). The default settings might be OK. If not, try changing thry and thruv.Last edited by jagabo; 23rd Sep 2011 at 18:28.
-
Hi
I'm not sure if you don't bother to read a little bit about VHS restoration here at Videohelp.
If it helps, take a look at
https://forum.videohelp.com/threads/322848-Scripts-and-filters-for-an-Opera-%28sample-v...os-included%29
This is a long thread about scripts for restoration a very damaged video.Thank you. -
I currently use this to denoise my videos:
McTemporalDenoise(settings="medium", interlaced=true)
However McTemporalDenoise takes over 20 hours with a 1 hour 15 minute file. Is there any script which will perform the same function as the above McTemporalDenoise script which takes 3 hours or less?Last edited by VideoFanatic; 30th Sep 2011 at 13:20.
-
Could someone please suggest a script that will fix the colours along with hue, saturation, brightness, and contrast and anything else like that and good white and black levels. Some files have dull colours, others are fine. I need a script which I can use on any of my videos which will normalize the colours so they look normal on all my videos. If the colours are already fine in some of the videos then the script should have no effect. Would the following script do that?: ColorYUV(autogain=true)
What exactly is luma and chroma by the way?
The script must take 3 hours or less with a 1 hour 15 minute file. -
The picture in some of my videos moves up and down every several seconds. Is there any way to fix that with a script? If so, could you please advise the best script to use.
The script must take 3 hours or less with a 1 hour 15 minute file. -
I already use this script which deblocks and removes the noise but it doesn't increase the picture quality.
Code:
Mpeg2Source("I:\New\1 = Test files\clip 704.d2v", CPU=6)
I know there are scripts that sharpen the picture but I don't know which to use and what script I should use.
The script must take 3 hours or less with a 1 hour 15 minute file. -
For noise reduction you can try TTempSmooth() and fft3dfilter(). There are several threads around here with examples. They're a lot faster than MCTD.
-
If you're using a slow filter stack with an intended 2pass encode, it's often faster to apply the filters use a lossless intermediate, then feed that intermediate into the final encoder . The reason is the slow filters are endured once instead of twice.
-
I tried fft3dfilter with the default options but it didn't look as good as this McTemporalDenoise. I didn't really understand the fft3dfilter author's instructions. Could you please point me to one of those threads you mentioned or give me a script which will achieve the same as this (but faster):
McTemporalDenoise(settings="medium", interlaced=true) -
That is not correct. Not every shot in a video is supposed to use the full range of luma values. For example a dark shot may have no bright areas at all. Autogain will brighten up a shot like that because it blindly tries to adjust the histogram to use the entire luma range. It doesn't know that shot is supposed to be dark.
-
OK, it's just that I've got loads of videos and I don't want to have to manually check to see which ones don't have the correct colours. Is there any script I can use which is similar to ColorYUV(autogain=true) that I can use on all my videos. So that when the colours need fixing, it fixes them and when they don't need fixing it doens't fix them (or it does but the colours look the same as before)?
-
thought of
Mpeg2Source("I:\New\1 = Test files\Dec 30 original test file.d2v", CPU=6) with
Mdegrain1 or Mdegrain2 - http://avisynth.org.ru/fizick.html
HDRAGC - auto gain control https://forum.videohelp.com/threads/258407-HDR-AGC-Filter-lighten-dark-footage -
If you don't know what those terms mean, you're at a serious disadvantage working with AviSynth filters (or any color/levels filters, for that matter). A small part of this can be explained by a doom9 tutorial on post-processing in AviSynth:
http://www.doom9.org/capture/postprocessing_avisynth.html
A similar tutorial exists for VirtualDub, which many use for video correction and restoration:
http://www.doom9.org/capture/postprocessing_vdub.html
But those articles might still be a bit difficult. IF you're going to clean up and improve tape sources (especially sources already subject to noise and some data loss by conversion to DVD), you can expect to spend much more than 3 hours on a 1-hr 15-min tape. Many members here could help by posting scripts for particular scenes, but no single script will work for every scene or every video.Last edited by sanlyn; 21st Mar 2014 at 06:35.
-
Take a scene with normal lighting conditions (outdoor scene ) take a black scene analyse both with the histogram and fix the levels, that'll be a good beginning for a good overall black/white levels imo.
Fix the levels with Ylevels (see doom9 forum) which is an improved version of the levels filterLast edited by themaster1; 9th Oct 2011 at 10:39.
*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
I recently transferred some older VHS tape to digital and the picture has scratchings on it like this:
I mean it may look like just three scratchings but it's just on one picture and multiply it with 24 pics a sec and you get rather a distracting annoyance. So I was wondering if there was maybe a software that automatically fixes those things by let's say comparing it to the previous or next picture? Would AviSynth help with this? -
see here (best solution imo) lucky star
see also here*** DIGITIZING VHS / ANALOG VIDEOS SINCE 2001**** GEAR: JVC HR-S7700MS, TOSHIBA V733EF AND MORE -
It looks like the DePulse() filter is specifically designed to remove those "comets". I downloaded it for the next time I have some video with that problem.
-
Ok thank you very much for support! First of all I must say this program is giving me a headache since I never worked with "text" program like this. I guess I'll need some time to get around it. DePulse filter option seems like promising solution and I managed to find and download it although it doesn't seem to be listed on that wiki plugins page.
-
http://avisynth.org/mediawiki/Getting_started
Put the DePulse.dll file in AviSynth's plugins folder and it will load automatically whenever you open an AviSynth script. Your script will look something like:
AviSource("filename.avi")
DePulse() -
OK thanks! I'll try doing something around it.
EDIT: This is what I wrote
AviSource("k:\Converting\name of the video.avi")
DePulse()
and saved it as .avs
But when I tried opening it in virtualdub it said it can't because: "depulse: requiers yuy2 imput" - so what now?
EDIT 2: hmm I found syntax on doom9 forum and it goes:
DePulse(clip, h=180[0-255], l=60[0-255], d=30[0-255], debug=false[true/false])
but when i try to open it in virtualdub I get error message saying: Unexpected character: "["Last edited by Lucky Starr; 16th Oct 2011 at 12:45.
-
Add this line before calling DePulse:
ConvertToYUY2()
or, if your source is interlaced YV12:
ConvertToYUY2(interlaced=true)
I found syntax on doom9 forum and it goes:
DePulse(clip, h=180[0-255], l=60[0-255], d=30[0-255], debug=false[true/false])
but when i try to open it in virtualdub I get error message saying: Unexpected character: "["
DePulse(h=180, l=60, d=30, debug=false)
You don't need to supply parameters if the defaults are satisfactory.
(In fact, the values shown here are the defaults.)
Note that the clip input parameter defaults to the result of the last filter used.Last edited by Gavino; 16th Oct 2011 at 14:35.
Similar Threads
-
About using AviSynth scripts with MeGUI 0.3.5.0.
By Nagashi in forum DVD RippingReplies: 56Last Post: 15th Jul 2010, 10:15 -
Convert a DVD to an avi,mkv using Avisynth Scripts and VDubMod or MeGUI
By ppeterr in forum DVD RippingReplies: 6Last Post: 25th Apr 2010, 05:04 -
I need some help on writing H.264 AVISynth scripts
By rocky12 in forum Newbie / General discussionsReplies: 46Last Post: 6th Dec 2008, 13:40 -
H.264 deinterlacing AVISynth scripts for 29.97fps
By PuzZLeR in forum Video ConversionReplies: 12Last Post: 7th May 2008, 22:36 -
Avisynth scripts and VDubMOD filters
By GangstaRap in forum Newbie / General discussionsReplies: 2Last Post: 13th May 2007, 11:39