Hi everyone,
I was hoping someone could let me know if this workflow is good for capturing VHS via Amarec in great quality. Like many others I've had issues with Vdub, specifically audio sync, which makes it a no-go.
My hardware setup is: Panasonic NV-SVB10 -> S-Video -> GV-USB2 -> Windows 10 PC -> Amarec
These are my Amarec settings:
[Attachment 82347 - Click to enlarge]
[Attachment 82348 - Click to enlarge]
[Attachment 82349 - Click to enlarge]
When playing back on VLC is looks fine interlaced standard, but when I play it apply deinterlace via VLC I notice that the quality kinda drops when you look at it frame by frame, as if there are tears within the image, I've uploaded a video capture sample.
Deinterlace OFF:
[Attachment 82350 - Click to enlarge]
Deinterlace ON: (notice the black sharp cut offs in the text)
[Attachment 82351 - Click to enlarge]
I need some advice before moving forward:
The end output for most files doesn't need to be lossless. I'd ideally like to batch convert a bunch of 3-hour tapes into a high-quality lossy file where you generally wouldn't be able to tell the difference between it and the lossless. I'd also be keeping clips or selections in lossless.
- Do these settings look good? Any video codec alternatives?
- If I wanted to batch encode, let's say, 20 x 3-hour video captures, is there a simple workflow you would recommend?
- Are there tutorials and workflows/scripts recommended for denoise, crop, resizing to the correct aspect ratio, and finally encoding?
- I'd deinterlace the video files into something lossy, in a smooth 60p. 80% of the video files do not need to be in lossless quality, but enough quality where you wouldn't notice a drop (if that makes sense).
Any help is much appreciated! I'm on Discord. Maybe someone would be able to walk-through this with me. Willing to help for your generosity ($)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 27 of 27
Thread
-
-
Want my help? Ask here! (not via PM!)
FAQs: Best Blank Discs • Best TBCs • Best VCRs for capture • Restore VHS -
The "Deinterlacing" setting in Graph2 (Preview) tab are only for AmarecTV display windows, and has no effect on capture.
Set "Frame rate" in "Recording" tab to 999, to force the frame rate of the capture card rather than defining it in software.
Enable "Make a report file" in the "Advanced" tab, to keep trace of inserted and dropped frames at software level.
Your setings are OK, many others (including myself) use HuffYUV rather than Lagarith, but that's fine.
A real time deinterlacing with VLC is not that effective.
Are there tutorials and workflows/scripts recommended for denoise, crop, resizing to the correct aspect ratio, and finally encoding?
Additional defects in the capture require specific plugins in AviSynth. -
Last edited by Alwyn; 20th Sep 2024 at 10:34. Reason: "Double Rate" setting added.
-
-
I’ve corrected my Amarec settings, all looking good (except I’m not sure why HuffYUV doesn’t appear, so using Lagrith)
I tested was able to get started with AVISynth using this tutorial: http://macilatthefront.blogspot.com/2021/01/deinterlacing-with-avisynth-and-qtgmc.html
I applied QTGMC, and it looked good until closer inspection where there were artefacts from other frames present in the preview:
SetFilterMTMode ("QTGMC", 2)
FFMPEGSource2("Test.avi", atrack=1)
ConvertToYV12()
AssumeTFF()
QTGMC(preset="Slower", EdiThreads=2)
BilinearResize(640,480)
Prefetch(6)
I reached out to another member who said that this can be due to it being animation which is 24fps. They recommended I use StaxRip which has a whole bunch of scripts built in, specifically IVTC.
IVTC looks like it solved (though there were lots of options) and frame by frame it looks good. Now the aspect ratio doesn’t look correct and I’m confusing myself with the front-end. I can’t even get a good video output. I'd prefer to stick with the script.
What would be the next steps to get IVTC this working on a .avs script, I can't find clear tutorials for the following:- inverse telecine with TIVTC/TFM
- denoise with TemporalDegrain2
- perform sharpening with LSFmod
Now I’ve realised that I have 100+ hours of Japanese broadcast footage, which is mainly animation but also contains commercials which I really want to keep intact with the video file.
Is it true that QTGMC will only work on the standard broadcast footage which is 29.97fps (like commercials), and IVTC will only work on the anime footage which is 24fps? Is there no way to bulk apply this to a large 2 hour video?
There will be certain clips I’m extracting such as commercials etc. Trying to get my head around this workflow.Last edited by waxstone; 21st Sep 2024 at 16:54.
-
@Lollo, fixed it for you:
The architecture of the video must is best be assessed on the original fieldsLast edited by Alwyn; 20th Sep 2024 at 21:54.
-
@Alwyn: at least suggest bob- or double rate deinterlacing rather than just saying deinterlacing....
Apart from this, field separation is the way to go, as any deinterlacer synthesizes something which is not in the original footage. -
at least suggest bob- or double rate deinterlacing rather than just saying deinterlacing....
-
In my opinion, and I sit to be corrected, which I'm sure will happen!
I just had a look at your video double-rate deinterlaced and it's not interlaced, it's Progressive Segmented Frame. Every second frame (was a field) is basically the same as the last, so you have pairs of frames. So you should not use QTGMC on it (at least, the clip you gave us in the first post.
To "fix" that, just do a AVISynth/TFM() on it.
So, in your script, replace QTGMC with:
TFM()
TemporalDegrain2(degrainTR=3) #change the "3" to lower the noise reduction; BTW this hash symbol signifies non-executable notes in a script.
I know nothing about LSFMod so somebody will hopefully chime in on that.
You may need extra DLLs for those; AVISynth will spit a warning at you if needed.Last edited by Alwyn; 20th Sep 2024 at 21:19. Reason: Field Delay info removed.
-
QTGMC is a deinterlacer and should be applied on interlaced material (it may also fixes defect on progressive source, but that's another story)
First of all you have to understand the nature of your video, some very basic stuff here:
more complicated here:
search the forum for other examples
There are no tutorials, but several example of processing in the forum.
You can try some single rate deinterlacing which will act only on interlaced segments like this:
Code:TDeint(mode=0, full=false, cthresh=9, chroma=false, MI=16, edeint=QTGMC(FPSDivisor=2), emask=TMM(mode=0), slow=2)
edit: here a sample for you https://forum.videohelp.com/threads/412444-Help-with-guidance-on-Avisynth-scripts for an interlaced sourceLast edited by lollo; 20th Sep 2024 at 10:57.
-
@Waxstone, are you using AVISynth Plus, 64 bit? If so, I have something for you.
Last edited by Alwyn; 20th Sep 2024 at 21:37.
-
@Lollo "but possible for determining the fields architecture (interlaced, pulldown, telecine, phase-shift)", yes, I know (all the other dot points are irrelevant and personal preference only).
All of those aspects are easily discovered by DR deinterlacing except for phase shifting, which I have never seen and wouldn't know what to look for. Do you have an example of it, and what's the issue with it? -
-
To summarise the AVI clip in post #1:
-It's 29.97 Progressive (or Progressive Segmented Frame) and it doesn't need anything done to it, deinterlacing-wise, certainly not QTGMC. I've seen TFM being suggested for PSF but it doesn't make any difference to this video.
-It benefits from Temporaldegrain2(degrain=2); note the denoising of the green shading towards the end.
-I can't see any edging benefit with LSFMod.
So my script would be:
Code:SetFilterMTMode("DEFAULT_MT_MODE", 2) #this may not be necessary avisource("H:\Videohelp\Waxstone\AmarecVideoTest.avi") ConvertToYV12() TFM() temporaldegrain2(degrainTR=2) lsfmod() BilinearResize(640,480) Prefetch(24)
How/where @Lollo's TDeint would be incorporated into that for the interlaced parts, I don't know. -
There is no need to field matching.
I can see an improvement using LSFmod.
My script:
Code:video_org=FFmpegSource2("AmarecVideoTest.avi", atrack=-1) # cropping crop_left=0 # | rimozione esatta delle bande nere sinistra, sopra, destra e del disturbo sotto crop_top=0 # | 720-(0+0)x480-(0+6)=720x474 crop_right=0 crop_bottom=6 video_org_crop=video_org.crop(crop_left,crop_top,-crop_right,-crop_bottom) ### convert to YV16 video_org_crop_yv16=video_org_crop #.convertToYV16() ### denoising denoised_yv16=video_org_crop_yv16.TemporalDegrain2(degrainTR=3) ### convert to YUY2 denoised=denoised_yv16.convertToYUY2() ### convert to YV12 denoised_yv12=denoised.convertToYV12() ### sharpening sharpened_yv12=video_org_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(video_org) ### adding borders restored=sharpened.addborders(crop_left,crop_top,crop_right,crop_bottom) return(restored)
Comparison restored without LSFmod versus restored: https://imgsli.com/Mjk5MDU5
That TDeint command was not for this source, but an attempt to answer to the OP request about how to handle a source featuring a mix of progressive and interlaced frames.
When the most important portion of the source is the progressive segment you can use the TDeint command (or something similar) to deinterlace only the interlaced parts leaving untouched (hopefully) the progressive part. For frame rate consistency, obviously the interlaced part is deinterlaced at single rate (a penalty, that's why is should be used for sources as described earlier).
When the most important part is the interlaced segment, you can just double deinterlace the whole source (a sort of useless operation for the progressive part, but not that important in term of penalty for quality) -
Attempting this I receive this error. What has gone wrong?
[Attachment 82407 - Click to enlarge] -
Welcome to the world of "What now?!".
Normally you can just Google the filter that's missing and you'll get to the download page for it. Here's the one for that missing file:
http://avisynth.nl/index.php/Neo_FFT3D
Download the Zip file, unzip it and find the DLL you need for your version of AVISynth and OS, then either set up a load path in your script or drop the DLL into the plugins64+ folder in the AVISynth+ folder in the C:\Program Files (x86) folder. -
Thanks! That worked, a couple other errors appeared and I installed the needed .dlls, but I'm now hitting this error! Assuming it's something to do with LSFmod?
[Attachment 82409 - Click to enlarge] -
Don't know why @Lollo used that line. Must have something to with the crop that's already been actioned.
-
[QUOTE=waxstone;2751453]
Thanks! That worked, a couple other errors appeared and I installed the needed .dlls, but I'm now hitting this error! Assuming it's something to do with LSFmod?
No sorry, that's my mistake, a bad cut and paste.
Replace
Code:### sharpening sharpened_yv12=video_org_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(video_org)
Code:### sharpening sharpened_yv12=denoised_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(denoised)
-
No sorry, that's my mistake, a bad cut and paste.
Replace
Code:### sharpening sharpened_yv12=video_org_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(video_org)
Code:### sharpening sharpened_yv12=denoised_yv12.LSFmod(defaults="slow") ### convert to YUY2 with chroma from YUY2 color space sharpened=sharpened_yv12.convertToYUY2().MergeChroma(denoised)
-
-
Getting a good output now, thanks everyone for the help.
Quick one - anyone know how to disable shortcuts on Amarec? E.G. I'm pressing Ctrl+Z on another application and it will halt my recording in Amarec, a real pain. -
On the Hotkey tab, untick "Use Hotkey". That should do it. Or you can scroll down to the "Recording Stop" item and disable it.
I've never actually tried it, but hopefully that will work. -
Similar Threads
-
Amarec FPS issue
By Slothrop in forum CapturingReplies: 11Last Post: 13th Dec 2023, 08:50 -
Issue capturing VHS recordings of 240p sources(?).
By optimumpro in forum CapturingReplies: 14Last Post: 6th Dec 2022, 16:22 -
Weird time skip issue during capturing vhs tapes
By Fixir in forum Newbie / General discussionsReplies: 0Last Post: 16th Oct 2022, 05:44 -
NTSC VHS newbie overall summary: Capturing
By brockway in forum CapturingReplies: 0Last Post: 5th Feb 2022, 09:56 -
NTSC VHS newbie summary #4: VirtualDub 1.9 Capturing + Editing
By brockway in forum CapturingReplies: 1Last Post: 1st Feb 2022, 15:18