Go Back    Forum > Digital Video > Video Project Help > Restore, Filter, Improve Quality

Reply
 
LinkBack Thread Tools
  #1  
05-25-2015, 06:58 PM
Kugelfang Kugelfang is offline
Free Member
 
Join Date: Apr 2015
Posts: 16
Thanked 0 Times in 0 Posts
Dear All,

i recently captured all my VHS using Huffyuv as codec. In order to prepare the videos for watching on my PC i want to deinterlace them. After lots of reading i found that QTGMC would be the way to go for me. Therfore i prepared a small script for avisynth which i intent to capture via VirtualDUB as a direct steam copy.

Quote:
SetMTMode(3, 8)
AVISource("E:\test.avi")
SetMTMode(2)
AssumeTFF()
QTGMC(Preset="slow", EdiThreads=4)
However i encountered a weird behaviour. on some frames I get a strage rainbow discoloration. To make thinks even more strage, if i "Save as avi" the file two consecutive times with identical settings, different frames seem to be affected. Enclosed you can finde screenshots of the identical frame which exhibited the discoluration during the first export but not during the second.

It would be great if someone could help me with this.


Attached Images
File Type: jpg 1st run.jpg (90.7 KB, 19 downloads)
File Type: jpg 2nd run.jpg (87.8 KB, 18 downloads)
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
05-25-2015, 09:10 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
I would bet your problems will go away if you use the regular, single-threaded Avisynth.

BTW, "Direct Stream Copy" from an Avisynth script will just give you uncompressed video. You're better off using Fast Recompress to a lossless codec if you're wanting an intermediate.
Reply With Quote
  #3  
05-26-2015, 01:58 AM
Kugelfang Kugelfang is offline
Free Member
 
Join Date: Apr 2015
Posts: 16
Thanked 0 Times in 0 Posts
great point, ill give it a shot tonight, thanks for the input!

-- update --

You were right, using single treaded Avisynth fixed the problem. Question now is why? Any idea?
Reply With Quote
  #4  
05-29-2015, 02:28 AM
themaster1 themaster1 is offline
Free Member
 
Join Date: Feb 2011
Location: France
Posts: 504
Thanked 102 Times in 86 Posts
avisynth 2.6MT can be buggy at times but qtgmc work ok there , you have to play with setmemory max and setmode try something like:
Code:
SetMemoryMax(900)
SetMTMode(2,4)
avisource()
QTGMC(Preset="fast", edithreads=4) # edithreads = numbers of threads/cores
Reply With Quote
  #5  
05-31-2015, 11:33 AM
Kugelfang Kugelfang is offline
Free Member
 
Join Date: Apr 2015
Posts: 16
Thanked 0 Times in 0 Posts
so i did some more tryouts and even gave the precise settings you supposed a shot but still im getting some random rainbow colored frames using multitreading
Reply With Quote
  #6  
06-02-2015, 09:46 AM
lordsmurf's Avatar
lordsmurf lordsmurf is online now
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,629
Thanked 2,458 Times in 2,090 Posts
I never use MT mode for Avisynth. It's more trouble than it's worth, and I've rarely found it to be faster.

The rainbow probably existed on the interlaced footage, but was simply harder to see. Now that the interlace is gone, the issue is obvious.

Add this to your script:
Code:
chubbyrain2(th=1, radius=15)
Tweak as needed. Just be aware that it will never 100% perfectly remove the noise. I used this on a video last year, and it probably removed 90%+ of the error. The obnoxious video was now watchable and non-obnoxious.

It's an .avsi, and requires other plugins.

See also: http://avisynth.nl/index.php/ChubbyRain2

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #7  
06-02-2015, 09:48 AM
Kugelfang Kugelfang is offline
Free Member
 
Join Date: Apr 2015
Posts: 16
Thanked 0 Times in 0 Posts
Thanks for the input. Ill give it a try tomorrow. But how come that if the error is present in the source material already it does not show up in the same frame verey time?
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Rainbow stripe on video - is this Macrovision? premiumcapture Restore, Filter, Improve Quality 14 05-03-2015 05:33 AM
Static rainbow spot on VHS capture - fixable? premiumcapture Restore, Filter, Improve Quality 9 02-15-2014 01:51 PM
QTGMC How-to: Help deinterlacing with Avisynth Joekster Restore, Filter, Improve Quality 1 12-22-2011 04:27 PM
Compression with MMC ATI, P frames and B frames for MPEG-2 ? John Capture, Record, Transfer 1 08-20-2011 10:15 PM

Thread Tools



 
All times are GMT -5. The time now is 07:17 PM