06-02-2022, 11:52 AM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Hi, I've just done my first video capture with virtualdub to my Dell M6800 laptop (windows 7) and I would be grateful for any advice. These are video8 camcorder tapes.
My set up is Sony TRV120E camcorder> tbc-1000> pinnacle 710 all s-video leads. I'm also using a cyberpower BR850 AVR
Thank you, Darren.
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
06-02-2022, 12:40 PM
|
|
Free Member
|
|
Join Date: Dec 2015
Location: USA
Posts: 3,257
Thanked 537 Times in 497 Posts
|
|
Keep the master files and follow up with de-interlace, crop, resize to 1440x1080 and encode to h.264, Here is a sample:
|
06-02-2022, 01:03 PM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Thank you latreche34. Were the clips I posted ok? If i'm honest I don't really know what to look out for. I got your download I have audio but no video. I assume my media player isn't mp4 I will get the VLC player and watch it.
|
06-02-2022, 01:24 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 13,509
Thanked 2,449 Times in 2,081 Posts
|
|
Quote:
Originally Posted by DG1965
Hi, I've just done my first video capture with virtualdub to my Dell M6800 laptop (windows 7) and I would be grateful for any advice. These are video8 camcorder tapes.
My set up is Sony TRV120E camcorder> tbc-1000> pinnacle 710 all s-video leads. I'm also using a cyberpower BR850 AVR
Thank you, Darren.
|
I downloaded the 1st clip, looks good to me.
I can look at others later, if needed.
Quote:
Originally Posted by latreche34
Keep the master files and follow up with de-interlace, crop, resize to 1440x1080 and encode to h.264, Here is a sample:
|
There's really no reason for this. I doubt he's posting these to Youtube for the world to see.
|
The following users thank lordsmurf for this useful post:
DG1965 (06-02-2022)
|
06-02-2022, 02:19 PM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Thank you Lordsmurf Yes I would be grateful if you could look at the other two clips if possible, just in case I'm doing something wrong.
|
06-02-2022, 03:00 PM
|
|
Free Member
|
|
Join Date: Dec 2015
Location: USA
Posts: 3,257
Thanked 537 Times in 497 Posts
|
|
Quote:
Originally Posted by lordsmurf
There's really no reason for this. I doubt he's posting these to Youtube for the world to see.
|
That's not for youtube, It's for sharing with other people without going youtube route, It's as ready as it can be to be displayed on modern flat panels especially the ones that lack good de-interlacing and upscaling qualities, Unless he can share $100GB files and can be played the way they are.
|
The following users thank latreche34 for this useful post:
DG1965 (06-02-2022)
|
06-02-2022, 03:18 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 13,509
Thanked 2,449 Times in 2,081 Posts
|
|
I see no reason to upscale "watching copies to share" to 1440x1080.
H.264 is about more than just resolution. If you make 1080p files, and select the wrong settings (too long a GOP, etc), then the playback device will choke and stutter. At least with lower resolutions, hence lower data rates, chokes and sputters are far less common. It's also harder to easily share huge files in private, unless you want to mail thumb drives or hard drives.
HDTVs almost all scale decently, the issue has always been the deinterlacer. Even then, the deinterlacer can be fine, depends on the exact HDTV. Given how many people are "fine" with average Youtube quality, the deinterlacer in an HDTV is "fine" as well.
For local watching, high bitrate (15bps+) interlaced MPEG-2 is far preferable. Ideally, 4:2:2, but 4:2:0 is passably decent, not any different from DVDs.
|
06-02-2022, 03:54 PM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
Quote:
... and I would be grateful for any advice
|
Quite nice captures. The black are a little bit crushed and the whites a little bit blown out. Try to play with Pinnacle procamp to reduce this problem.
hist.jpg
With some basic restoration you can improve a little bit the overall look: https://imgsli.com/MTEwNzA3
Filtering used:
Code:
video_org=AviSource("family holiday 2004 3.avi")
# cropping
crop_left=10
crop_top=8
crop_right=16
crop_bottom=10
video_org_crop=video_org.crop(crop_left,crop_top,-crop_right,-crop_bottom)
# plugins directory
plugins_dir="<AviSynth plugin directory>"
# QTGMC
Import(plugins_dir + "QTGMC.avsi")
# Zs_RF_Shared
Import(plugins_dir + "Zs_RF_Shared.avsi")
# Nnedi3
loadPlugin(plugins_dir + "NNEDI3_v0_9_4_55\x86\Release_W7\nnedi3.dll")
# TemporalDegrain2
Import(plugins_dir + "TemporalDegrain-v2.2.1_modGMa.avsi")
# RgTools
loadPlugin(plugins_dir + "RgTools-v1.0\x86\RgTools.dll")
# MaskTools2
loadPlugin(plugins_dir + "masktools2-v2.2.23\x86\masktools2.dll")
# MVTools
loadPlugin(plugins_dir + "mvtools-2.7.41-with-depans20200430\x86\mvtools2.dll")
# FFT3DFilter
loadPlugin(plugins_dir + "FFT3dFilter-v2.6\x86\fft3dfilter.dll")
# FFTW
loadPlugin(plugins_dir + "LoadDll\LoadDll.dll")
loadDll(plugins_dir + "fftw-3.3.5-dll32\libfftw3f-3.dll")
# LSFmod
Import(plugins_dir + "LSFmod.v1.9.avsi")
### de-interlacing
deinterlaced=video_org_crop.AssumeTFF().QTGMC(preset="slow", matchpreset="slow", matchpreset2="slow", sourcematch=3, tr1=2, tr2=1, NoiseTR=2, sharpness=0.1)
### convert to YV16
deinterlaced_yv16=deinterlaced.convertToYV16()
### denoising
denoised_yv16=deinterlaced_yv16.TemporalDegrain2(degrainTR=3)
### convert to YUY2
denoised=denoised_yv16.convertToYUY2()
### convert to YV12
denoised_yv12=denoised.convertToYV12()
### sharpening
sharpened_yv12=denoised_yv12.LSFmod(defaults="slow")
### convert to YUY2 with chroma from YUY2 color space
sharpened=sharpened_yv12.convertToYUY2().MergeChroma(denoised)
### add borders
video_restored=sharpened.addborders(crop_left,crop_top,crop_right,crop_bottom)
return(video_restored)
/*
stackhorizontal(\
subtitle(video_org.SelectEvery(1,0,0),"video_org",size=20,align=2),\
subtitle(video_restored,"video_restored",size=20,align=2)\
)
*/
|
The following users thank lollo2 for this useful post:
DG1965 (06-02-2022)
|
06-02-2022, 04:36 PM
|
|
Free Member
|
|
Join Date: Dec 2017
Posts: 95
Thanked 5 Times in 5 Posts
|
|
Quote:
Originally Posted by lordsmurf
For local watching, high bitrate (15bps+) interlaced MPEG-2 is far preferable. Ideally, 4:2:2, but 4:2:0 is passably decent, not any different from DVDs.
|
LS I must ask, why do you prefer MPEG-2 over AVC based encoding? A Standard Definition Blu-Ray looks better than a DVD (if the source is the same) because you aren't dealing with the blocky compression MPEG-2 provides.
|
06-02-2022, 04:54 PM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Is this the expected quality of captures from video8 tapes? I can tell they are better than the poor quality dvds I made about 18 years ago. As a novice I don't have a benchmark. Just getting to this point has been daunting, those scripts strike the fear of god into me!
|
06-02-2022, 05:22 PM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
Why daunting? Be happy, your captures are not bad!
AviSynth restoration is not that difficult. Install it, download the dlls that are in the script, load the script in VirtualDub and voilà! If any doubt, just ask
A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
|
The following users thank lollo2 for this useful post:
DG1965 (06-03-2022)
|
06-02-2022, 09:00 PM
|
|
Free Member
|
|
Join Date: Dec 2015
Location: USA
Posts: 3,257
Thanked 537 Times in 497 Posts
|
|
Quote:
Originally Posted by thestarswitcher
LS I must ask, why do you prefer MPEG-2 over AVC based encoding? A Standard Definition Blu-Ray looks better than a DVD (if the source is the same) because you aren't dealing with the blocky compression MPEG-2 provides.
|
LS is still living the dream of DVD.
|
The following users thank latreche34 for this useful post:
DG1965 (06-03-2022)
|
06-03-2022, 03:13 AM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
What should I do with the pinnacle procamp settings to offset the crushed blacks and blown whites. Is there a histogram graph that I should use in the pinnacle settings? I'm guessing it's always better to do this before the capture with the pinnacle settings rather than post capture with avisynth. I will download avisynth today. Thank you Lollo2 for the restoration photo, I must have missed it yesterday it looks much improved.
|
06-03-2022, 05:35 AM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
Quote:
What should I do with the pinnacle procamp settings to offset the crushed blacks and blown whites.
|
There are several guides and posts in the forum. Search for them, here one from Hushpower (I did not check it, but I trust him) http://www.digitalfaq.com/forum/vide...html#post84742
Quote:
I will download avisynth today.
|
All for 32-bit version
create this script with a text editor:
Code:
video_org=AviSource("family holiday 2004 3.avi")
# cropping
crop_left=10
crop_top=8
crop_right=16
crop_bottom=10
video_org_crop=video_org.crop(crop_left,crop_top,-crop_right,-crop_bottom)
# plugins directory
plugins_dir="AviSynth_plugin_dir\"
# QTGMC
Import(plugins_dir + "QTGMC.avsi")
# Zs_RF_Shared
Import(plugins_dir + "Zs_RF_Shared.avsi")
# Nnedi3
loadPlugin(plugins_dir + "NNEDI3_v0_9_4_60\x86\Release_W7\nnedi3.dll")
# TemporalDegrain2
Import(plugins_dir + "TemporalDegrain-v2.2.1_modGMa.avsi")
# RgTools
loadPlugin(plugins_dir + "RgTools-v1.2\x86\RgTools.dll")
# MaskTools2
loadPlugin(plugins_dir + "masktools2_v2.2.30\x86\masktools2.dll")
# MVTools
loadPlugin(plugins_dir + "mvtools-2.7.45-with-depans20210608\x86\mvtools2.dll")
# FFT3DFilter
loadPlugin(plugins_dir + "FFT3dFilter-v2.10\x86\fft3dfilter.dll")
# FFTW
loadPlugin(plugins_dir + "LoadDLL10\LoadDLL\LoadDLL32.dll")
loadDll(plugins_dir + "fftw-3.3.5-dll32\libfftw3f-3.dll")
# LSFmod
Import(plugins_dir + "LSFmod.v1.9.avsi")
### de-interlacing
deinterlaced=video_org_crop.AssumeTFF().QTGMC(preset="slow", matchpreset="slow", matchpreset2="slow", sourcematch=3, tr1=2, tr2=1, NoiseTR=2, sharpness=0.1)
### convert to YV16
deinterlaced_yv16=deinterlaced.convertToYV16()
### denoising
denoised_yv16=deinterlaced_yv16.TemporalDegrain2(degrainTR=3)
### convert to YUY2
denoised=denoised_yv16.convertToYUY2()
### convert to YV12
denoised_yv12=denoised.convertToYV12()
### sharpening
sharpened_yv12=denoised_yv12.LSFmod(defaults="slow")
### convert to YUY2 with chroma from YUY2 color space
sharpened=sharpened_yv12.convertToYUY2().MergeChroma(denoised)
### add borders
video_restored=sharpened.addborders(crop_left,crop_top,crop_right,crop_bottom)
return(video_restored)
/*
stackhorizontal(\
subtitle(video_org.SelectEvery(1,0,0),"video_org",size=20,align=2),\
subtitle(video_restored,"video_restored",size=20,align=2)\
)
*/
Open the script in VirtualDub and save it with "Fast compress" HufYUV, or feed ffmpeg with the avs script to create a h264/aac compressed file in a mp4 container:
Code:
ffmpeg.exe -i input.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k output.mp4
The plugins will evolve during time, so if needed upgrade to last version of them once available
Of course this is just a basic/quick restoration, playing with the filters and their parameters the result can be improved a lot!
Enjoy!
Edit: if it helps, here you can find the complete AviSynth_plugin_dir, but is better if you download and get familiar with the plugins by downloading them yourself: https://drive.google.com/file/d/1vB2...ew?usp=sharing
|
06-03-2022, 06:16 AM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Thank you for the detailed downloads. I've just downloaded the Avisynth 2.60.exe. and will do the plugins now. Once this script is added in virtualdub will it be activated on all subsequent captures I do, or is this script specific to just this capture.
|
06-03-2022, 06:36 AM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
It is just a generic and basic deinterlacing/denoising/sharpening script. Does not take into account the input/output levels, color correction, specific defects related to each segment, personal taste for the outcomes and so on. Theoretically every video and every shot needs its own filtering.
If you enter in AviSynth/VapourSynth world you'll find many many options.
A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
|
The following users thank lollo2 for this useful post:
DG1965 (06-03-2022)
|
06-03-2022, 07:33 AM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Ok thank you. I noticed the cropping part in the script. This script is post capture I'm guessing? Is there a avisynth filter that deals with the crushed blacks blown whites during the capture. I couldn't find a way to adjust the Pinnacle 710 procamp how would I access that? Sorry for all the questions I know I've got a lot more reading to do. Thanks.
|
06-03-2022, 08:29 AM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
|
The following users thank lollo2 for this useful post:
DG1965 (06-03-2022)
|
06-03-2022, 09:23 AM
|
|
Free Member
|
|
Join Date: Mar 2019
Location: Coventry England
Posts: 72
Thanked 4 Times in 4 Posts
|
|
Thank you. I'm using virtualdub. I've looked at video levels on sanlyn's guide so many times and didn't realise that it's for the proc amp settings even though it's so very clearly states "proc amp settings" I'm so sorry for asking you so many times. Thank you for your patience.
I've also been looking at sanlyn's cropping "set capture clipping" to temporarily remove black borders. I assume what figure is removed from the side has to removed on the top to maintain the aspect ratio but I need to read more about this.
|
06-03-2022, 12:08 PM
|
|
Free Member
|
|
Join Date: Mar 2013
Location: Italy
Posts: 673
Thanked 189 Times in 163 Posts
|
|
Quote:
I assume what figure is removed from the side has to removed on the top to maintain the aspect ratio but I need to read more about this.
|
While configuring the procamp all black borders must be removed to do not alter the Histogram, without taking care of the aspect ratio.
When you capture, you do not crop anything, and capture the whole 720x756 frame.
When you post-process, you remove all black borders and head switching noise for proper filtering operations.
Once done you add the black borders of the same quantity you removed, or, better, to fill the frame to a 704x576 frame rather than a 720x576 frame, to respect the aspect ratio with higher accuracy. Example:
Code:
# cropping
crop_left=8
crop_top=2 # | 720-(8+20)x576-(2+10)=692x564
crop_right=20
crop_bottom=10
crop(crop_left,crop_top,-crop_right,-crop_bottom)\
addborders((crop_left+crop_right)/2-8,(crop_top+crop_bottom)/2,(crop_left+crop_right)/2-8,(crop_top+crop_bottom)/2)
edit: the addborders() command above in addition also centers the active area
A channel on S-VHS / VHS capture and AviSynth restoration https://bit.ly/3mHWbkN
Last edited by lollo2; 06-03-2022 at 12:37 PM.
|
Similar Threads
|
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
Need advice on equipment for video capture, TBCs
|
Chickensalad39 |
Capture, Record, Transfer |
24 |
04-09-2018 12:42 PM |
Advice on my proposed video capture setup? (MPEG vs DV?)
|
flexlight |
Capture, Record, Transfer |
35 |
06-04-2013 05:23 AM |
Advice on Olympus LS20m HD video/audio recorder vs DSLR video ?
|
rocko |
Videography: Cameras, TVs and Players |
1 |
12-28-2011 05:44 AM |
Advice on VHS capture setup (capture device, proc-amp, recommended connections)
|
Simon76 |
Capture, Record, Transfer |
12 |
12-23-2010 03:46 AM |
All times are GMT -5. The time now is 08:09 AM
|