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

Reply
 
LinkBack Thread Tools
  #21  
04-23-2016, 08:02 PM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,257
Thanked 537 Times in 497 Posts
Lordsmurf if you think it's the VCR is not good, I have a cap from a Toshiba VHS with no TBC captured with VMC-1 TBC ON in DV quality it doesn't say much but at least mechanically it gives an idea about the playback condition;


Attached Files
File Type: avi Night Gathering DV.avi (21.54 MB, 141 downloads)
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
04-23-2016, 09:40 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
The Toshiba seems is playing the tape more smoothly.

This leads me to ask, now that you've seen some video work and details here and there, what do you think of it?

IMO play is smoother but otherwise the video looks a lot worse than earlier ones. It has severe levels cutoff, not to mention a flood of chroma noise, DV compression effects, and a very grimy look.

If no one here can determine where all this crushing and clipping are coming from, I can't continue in good conscious to recommend any USB capture device from the list referred to earlier. Other users here and in other forums are having the same problem with those devices. In this particular case it's a mystery because this video is captured as DV. So it must have entered the PC via Firewire unless Latreche34 managed to somehow reconfigure the convoluted system referred to earlier. In any case, the video has hard clipping at Y=16 to 235 and no data whatever beyond those points.

Last edited by sanlyn; 04-23-2016 at 10:01 PM.
Reply With Quote
  #23  
04-24-2016, 02:00 AM
latreche34 latreche34 is offline
Free Member
 
Join Date: Dec 2015
Location: USA
Posts: 3,257
Thanked 537 Times in 497 Posts
Don't you think virtualDub is not capturing smoothly, I've had instances where I stop capture and start again when virtualDub start to stutter, I know with DV didn't have that problem, JVC HR-S7600 is a reputable VCR AFAIK, I may have to do a short DV capture for the same video segment with it to isolate the problem.
Reply With Quote
  #24  
05-10-2016, 05:23 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Quote:
Originally Posted by sanlyn View Post
In this particular case it's a mystery because this video is captured as DV. So it must have entered the PC via Firewire unless Latreche34 managed to somehow reconfigure the convoluted system referred to earlier. In any case, the video has hard clipping at Y=16 to 235 and no data whatever beyond those points.
What's your DV decoder? The clip ranges from 0-251. Here's one frame that has almost the full range of the clip.
latreche34-NightGatherDV-ColorYUVanalyze.jpg


Reply With Quote
  #25  
05-10-2016, 10:10 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Quote:
Originally Posted by msgohan View Post
What's your DV decoder?
What's yours?

DVSD:


Cedocida:


Glad you chimed in. Maybe you can explain the histograms to the O.P. and other readers. Or maybe not. I gave up on analog to DV.


Attached Images
File Type: jpg DVSD.jpg (56.9 KB, 202 downloads)
File Type: jpg Cedocida.jpg (59.0 KB, 200 downloads)
Reply With Quote
  #26  
05-11-2016, 04:03 AM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Mine is Cedocida, in this case outputting YV12. It seems something is converting your Cedocida output to RGB before converting it back to YUV (the chroma values have been changed, in addition to the 16-235 clipping).

Any idea what the actual decoder is for your DVSD frame? "DVSD" is the FourCC for plain DV; I don't believe it identifies any particular software.
Reply With Quote
  #27  
05-11-2016, 08:33 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Quote:
Originally Posted by msgohan View Post
Any idea what the actual decoder is for your DVSD frame? "DVSD" is the FourCC for plain DV; I don't believe it identifies any particular software.
ffdshow.

Cecocida DV YV12 only:


Cecocida DV YV12 only, levels TV>PC


Attached Images
File Type: jpg Cedocida DV YV12 Only.jpg (58.1 KB, 200 downloads)
File Type: jpg Cedocida DV TV12 only - Levels TV-PC.jpg (56.7 KB, 198 downloads)

Last edited by sanlyn; 05-11-2016 at 08:47 AM.
Reply With Quote
  #28  
05-13-2016, 10:04 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Okay, your luma matches my Cedocida output now. Your chroma values are slightly different. I can't seem to force ffdshow to decode DV, to see what I get there.

Your latest shots are from frame 123 instead of 124, BTW.
Reply With Quote
  #29  
01-10-2017, 07:16 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
I have received this PM request from member doodal:

Quote:
I'm trying to get the script you posted here Video restoration newbie: Avisynth scripts? to work, but I keep getting "there is no function named awarpsharp2". I have awarpsharp2.dll in my plugins folder, so I'm not sure what I'm doing wrong. Do you have any idea?
Please don't PM with technical questions such as this. Other users can't share this information in PM.

I don't know of an "aWarpSharp2.dll". The plugin is awarpsharp.dll. The latest version is dated 2016-06-24. The download page is here: http://avisynth.nl/index.php/AWarpSharp2. The download has 32-bit and 64-bit versions. Use the 32-bit (x86) dll.

You will also need the Microsoft Visual C++ 2015 Redistributable Package (vcredist_x86.exe). A link to the Microsoft installer is on the download page.
Reply With Quote
The following users thank sanlyn for this useful post: lordsmurf (01-11-2017), valiyol (02-07-2021)
  #30  
01-10-2017, 08:27 AM
doodal doodal is offline
Free Member
 
Join Date: Nov 2016
Posts: 18
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sanlyn View Post
I have received this PM request from member doodal:

Please don't PM with technical questions such as this. Other users can't share this information in PM.

I don't know of an "aWarpSharp2.dll". The plugin is awarpsharp.dll. The latest version is dated 2016-06-24. The download page is here: http://avisynth.nl/index.php/AWarpSharp2. The download has 32-bit and 64-bit versions. Use the 32-bit (x86) dll.

You will also need the Microsoft Visual C++ 2015 Redistributable Package (vcredist_x86.exe). A link to the Microsoft installer is on the download page.
Installing the Microsoft Visual C++ 2015 Redistributable Package fixed it. The "2" was a typo. Thanks.
Reply With Quote
  #31  
01-10-2017, 08:46 AM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Good work. Post if any problems.
Reply With Quote
  #32  
01-11-2017, 02:36 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,503
Thanked 2,448 Times in 2,080 Posts
Quote:
Originally Posted by sanlyn View Post
IPlease don't PM with technical questions such as this. Other users can't share this information in PM.
Correct.

Allowable = "I'm having trouble, and want your input. Could you look at my post?"
And then answer in the post.

... especially on Avisynth topic! Even I learn a lot from our discussions.

- 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
  #33  
01-11-2017, 01:24 PM
doodal doodal is offline
Free Member
 
Join Date: Nov 2016
Posts: 18
Thanked 0 Times in 0 Posts
The script works great. The only thing is cropping 10 off the bottom isn't enough to cut off the fuzziness, 16 is. Would it be ok to crop off more and make a bigger border at the bottom or is that cropping off too much picture?
Reply With Quote
  #34  
01-11-2017, 02:05 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,307 Times in 982 Posts
Wow, how big is the frame? I haven't seen 16 pixels of head switching noise in a video in a long time. But if you say it's 16 pixels, so be it.

The original crop code was this:
Code:
Crop(12,2,-8,-10).AddBorders(10,6,10,6)
To crop off 16 bottom pixels and center the image vertically, you need this:
Code:
Crop(12,2,-8,-16).AddBorders(10,8,10,10)
The bottom border will be slightly thicker by 2 pixels, but you can't add odd-numbered pixels in YUV. I've encountered slightly unequal borders a great many times. No one notices during play. Don't forget the crop also takes 2 pixels off the top, which is an uneven border that "twitters" if it isn't evened out to 2 pixels.
Reply With Quote
The following users thank sanlyn for this useful post: cicaesar (04-13-2020)
  #35  
09-14-2019, 10:25 PM
edwin_r edwin_r is offline
Free Member
 
Join Date: Oct 2018
Posts: 1
Thanked 0 Times in 0 Posts
Just wanted to thank you all (so much) for these tips and explanations for newbie guys.
i'm playing with HDRagc, and want more light only in darker scenes, so set coef_gain=2.0 and min_gain=1.5. Is that too much? 'cause you only set it to 1.3, and didn't specify min_gain. My video (8mm) is similar to the example, by night and artificial light.
You use HDRagc before deinterlacing (QTGMC), so SeparateFilelds() and Weave() applied. But i want to know if that filter yields worse if you only use it directly after QTGMC, (and forget about SeparateFields). i wont use FixVHSOversharp.
Thanks if you are reading.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Improving video quality of old VHS? [newbie] AfxTwn Restore, Filter, Improve Quality 2 04-22-2013 03:34 AM
Various AVISynth scripts to clean noise and convert PAL to NTSC metaleonid Restore, Filter, Improve Quality 12 01-09-2012 07:49 PM
PAL/NTSC Conversion Guide updates + de-blur restoration (add Avisynth use) admin Restore, Filter, Improve Quality 2 02-19-2011 11:42 AM
AVISynthesizer: Build complete Avisynth scripts using pre-made templates [DOWNLOAD] lordsmurf Encode, Convert for discs 0 11-09-2010 01:13 AM

Thread Tools



 
All times are GMT -5. The time now is 12:39 PM