VideoHelp Forum
+ Reply to Thread
Page 1 of 3
1 2 3 LastLast
Results 1 to 30 of 62
Thread
  1. Here is a several seconds of my video. It's from an interlaced VHS-to-DVD conversion which I demuxed to MPEG2. I don't have the original VHS tape. This is all I have. I have not done any work to the sample I am giving you.

    Below is the script I used to remove most of the problems. It deinterlaced and denoised it and everything looks good apart from these dancing pixels which are clearly seen in the first few seconds of the video in the wrestlemania logo. In the 2nd part of the video with the man you can also see some flicker which I would also like to remove.

    Code:
    Mpeg2Source("L:\2 = New\Raw 1996 March 11 Still.d2v", CPU=6)
    Load_Stdcall_plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
    QTGMC(Preset="Ultra Fast") 
    Vinverse()
    TTempSmoothF(maxr=3, lthresh=8, cthresh=5, strength=4, interlaced=false)
    Can anyone suggest a script which will fix the dancing pixels and remove the flicker?
    Last edited by VideoFanatic; 26th Jul 2012 at 16:10.
    Quote Quote  
  2. You can try a software TBC but I don't think it will work well with a DVD rip.

    http://forum.doom9.org/showthread.php?t=162726

    Otherwise, for the still shot you can use a very strong temporal smoother (like Temporal Smoother in VirtualDub, turned up all the way). Or even better, use a still frame. Obviously, that won't work with motion shots.
    Quote Quote  
  3. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:03. Reason: remove earlier mpg
    Quote Quote  
  4. Member
    Join Date: Sep 2011
    Location: NTSC
    Search Comp PM
    By dancing pixels, I think you mean horizontal line jitter. Since you have good black borders, software tbc might work, but I should make some modificiations to work only on certain lines, and to have sub-pixel precision, and a mode for static images. Hmm...
    Quote Quote  
  5. And you don't need Vinverse in the script as there's no interlacing after QTGMC. If you're using it to control something else, then use a filter designed for that purpose.
    Quote Quote  
  6. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:03.
    Quote Quote  
  7. For the record the sample I gave you was interlaced and I didn't do any work to it. I was just saying that when I then did work on it using my script, I still have dancing pixels which I didn't know how to remove. The sample I gave is interlaced and it has really obvious interlacing artefacts when watched on a TV. QTGMC removes those interlacing artefacts completely. I only have a Dual Core with Vista 32-bit at the moment. On Ultra Fast QTGMC takes about 11 hours with Avisynth MT. I noticed that on other videos with worse interlacing artefacts that Ultra Fast doesn't completely remove all of those interlacing artefacts but if you add Vinverse then it does. So surely Vinverse doesn't do any harm? I have thousands of VHS-to-DVD videos similar to this so I'm just looking for a script that would work on all of them. If some of my videos didn't have this dancing pixels problem then using your script and Vinverse wouldn't cause any harm would it?


    I will be buying an 8 core (8 x 3Ghz) PC with Windows 7 64-bit very soon. If a dual core takes 11 hours to encode a video then what's the slowest (better quality) QTGMC speed I could use which would take 4 hours or less for a 1 hour 30 minute video? Also MCTemporalDenoise takes over 24 hours on a Dual core. How long would it take with my new PC?


    I noticed you mentioning interlaced=false in the script. Isn't the video interlaced before your ran QTGMC at the end so why did you say it was progressive when the video is still interlaced?


    What doees InputType=1 do with QTGMC? I can't find any documentation telling me what it does.

    That whole script you posted, did you use that on my original sample video?

    I'm not bothered about the plastic look. I like the way it looks and would prefer as much of the noise removed as possible.


    I tried using the TBC script that was mentioned in the TBC Doom thread but it took over a hour just to process several seconds and the video looked far worse than normal! Is that normal? Are you able to get better results yourself with TBC compared to the DancingPixelsA video that you made?


    I watched the DancingPixelsA video you gave me and it looks great. Thanks. There are still some moving pixels though, however if that's the best that can be done then I'm very happy with that.

    What plugin do I need for RemoveSpots to work?
    Last edited by VideoFanatic; 28th Jul 2012 at 13:05.
    Quote Quote  
  8. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:03.
    Quote Quote  
  9. Strangely it doesn't look like you using progressive when you actually wanted interlaced did any harm as the video looks good!

    I just checked to see what 30 FPS progressive looks like and it doesn't look good which is a shame. And Bluray doesn't support 60 FPS progressive so I'll have to keep the video interlaced. I look forward to seeing what you can do.


    By the way
    where do I get the RemoveSpots plugin?
    Last edited by VideoFanatic; 28th Jul 2012 at 17:31.
    Quote Quote  
  10. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:03.
    Quote Quote  
  11. Could you please give me precise instruction as to how I get RemoveSpots to work and what plugins I need. I downloaded RemoveDirt 0.9 and put the SSE2 file in the plugins folder but the script still isn't working. I'm not sure what I'm supposed to do with the script in the post you showed me? It doesn't look like an avsi file so it doesn't look like it goes in the plugins folder. If it's a script, you didn't use that script, you just used "RemoveSpots()" and it worked for you! I'm confused!
    Quote Quote  
  12. How it's used is in the post he linked to:

    http://forum.videohelp.com/threads/342864-Despot-plugin-does-not-work-at-all?p=2135956...=1#post2135956

    Paste the whole RemoveSpots() function into your script like the script in that post. Or put it in its own AVS script an import it. Or name the script RemoveSpots.AVSI and put it in AviSynth's plugins folder so it's imported automatically.
    Quote Quote  
  13. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:04.
    Quote Quote  
  14. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:04.
    Quote Quote  
  15. Originally Posted by sanlyn View Post
    Open the mpg in VirtualDub. Under Video . . . Filters . . ., choose the "bob doubler". Set the bob dialog's "Field Order" to Top Field First and the "Deinterlacing method" to Bob. Play the video a frame at a time to see the damage. Rather than a case of dancing pixels, you have a case of dancing lines.
    That's perfectly normal when you bob a video. That's why there are smarter bob algorithms.
    Quote Quote  
  16. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:04.
    Quote Quote  
  17. So do you guys see interlacing artefacts on the video in this thread when played on a TV? I do.
    Quote Quote  
  18. Originally Posted by sanlyn View Post
    I've used the same simple bob with properly interlaced and progressive source. Yes, it always looks a little sci-fi, but I don't see jaggies, smearing and geometric tricks like these. If you filter this clip as if it's interlaced, it looks worse. But running QTGMC in repair mode makes significant improvement, to the point where other denoisers actually accomplish something afterward. The last time I saw serrations and wiggles like these after deinterlace, it was because I did something silly. Now, I can't recall what my error was. But it produced similar effects. Unfortunately I don't have the original VHS source to re-work. Only have the botched results. Anyway, I'll keep at it.
    Whenever you have sharp, near horizontal lines/edges, you get artifacts like that with a simple bob. Think about what a simple bob does -- it takes one field and fills in the missing lines with data interpolated from the line above and below, then does the same with the next field. When you have thin horizontal lines they end up jaggy. What you are seeing is perfectly normal for a simple bob deinterlace.

    Thin horizontal lines:
    Name:  thin.png
Views: 858
Size:  3.6 KB

    Bob deinterlaced:
    Name:  thin.gif
Views: 877
Size:  113.0 KB

    Smarter deinterlacers will look at other fields, and other frames, for data to fill in those missing lines. And perform smarter interpolation methods (like nnedi3).
    Last edited by jagabo; 29th Jul 2012 at 18:20.
    Quote Quote  
  19. OK guys. I've confirmed my other DVD clip doesn't have interlacing artects on my TV just like you said. I found a DVD player and it played without interlacing artefacts. I also contacted my friend who said a Bluray disc I gave him has interlacing artefacts (same sample we're talking about). He's just told me that it was his Bluray player that's the problem as he tried it on another player and it worked fine! Seems like a strange way for a Bluray player to break down!

    So the clip in this thread, do you guys see any interlacing artefacts in it when watched on your TV? Here's a DVD ISO.

    So do you guys see interlacing artefacts on that video when played on a TV? I do. I also put it on a Bluray and took to a professional TV shop. They played it on several Bluray players and there were interlacing artefacts visible.

    If you do see interlacing artefacts, do you think it was because of a bad conversion?
    Quote Quote  
  20. Originally Posted by holygamer View Post
    So the clip in this thread, do you guys see any interlacing artefacts in it when watched on your TV? Here's a DVD ISO.

    So do you guys see interlacing artefacts on that video when played on a TV?
    No comb artifacts (of course there's not much motion so one wouldn't see comb artifacts). But there are lots of buzzing edges from the lack of a TBC and poor MPEG compression (full of macroblocks and DCT ringing).
    Quote Quote  
  21. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:04.
    Quote Quote  
  22. So back onto the original subject of this thread! The original sample I posted in this thread I would like any suggestions on how to improve any part of the picture such as the dancing pixels. Most of the dancing pixels are gone with RemoveSpots but some still remain. I'm really just looking for a set of scripts I can use on any video to perform general cleanup. I've got thousands of similar videos like this. I'm getting an 8 core (8 x 3Ghz) PC with Windows 7 64-bit soon and I will be using the Multi-Threaded version of Avisynth. So with that configuration in mind if you can suggest scripts that would take up to 4-5 hours for a 1 hour 30 minute video with that PC that would help a lot.

    Will MCTemporalDenoise take less than 5 hours for example?

    Making RemoveSpots work

    I copied this script into a file called "RemoveSpots.avsi" and put that in my plugins folder. I was using RemoveGrain-1.0 PreRelease and I copied all the SSE2 files from that into my plugins folder. I then get an error saying there is no function named Clense. After a Google search I find the RemoveGrain page and it says if you get an error like "there in no function named clense", then you need this: RemoveGrainT 1.0. So I tried that and I still got the error "there is no function named clense" in RemoveSpots.avsi. So I copied the SSE2 files and the DenoiseSharpen files from RemoveGrain 1.0b Beta into the plugins folder.

    My encoder now encodes the file without giving an error and it removes the dancing pixels. However when previewing the video in AvsPmod, AvsPmod crashes. Was I correct to use the "RemoveGrain 1.0b Beta"? Any way I can get AvsPmod to stop crashing?
    Quote Quote  
  23. Try using VirtualDub to preview your scripts.
    Quote Quote  
  24. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:05.
    Quote Quote  
  25. If you know of something better than AvsPmod then I'm open to suggestions. I could try VirtualDub I suppose. Someone mentioned Neat before but he said it only ran at 1 FPS which is useless to me. Would it run any faster with my 8 core (8 x 3 Ghz) 64-bit PC?
    Quote Quote  
  26. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:05.
    Quote Quote  
  27. Bluray doesn't support 60 fps progressive and 30 fps looks like crap so I need to keep it interlaced. Were you being sarcastic when you said Amazing? Are you saying deinterlacing then re-interlacing is pointless or a good idea?
    Last edited by VideoFanatic; 29th Jul 2012 at 22:49.
    Quote Quote  
  28. Originally Posted by holygamer View Post
    Bluray doesn't support 60 fps progressive...
    For 720p it does, although maybe you meant it doesn't support 59.94fps for 480p, which it doesn't.
    Quote Quote  
  29. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:05.
    Quote Quote  
  30. Banned
    Join Date: Oct 2004
    Location: New York, US
    Search Comp PM
    -30-
    Last edited by sanlyn; 23rd Mar 2014 at 09:05.
    Quote Quote  



Similar Threads