Captured VHS to AVI HuffYUV, next steps?
I set up VirtualDub using the settings guide on this site.
I've managed to capture my graduation tape, 1 hour 20 minutes long, with no frame drops or inserts :D Now I need to crop the borders, resize to 4:3 aspect ratio (since it looks horizontally stretched capturing at 720x480), and deinterlace..and maybe anti-alias to get rid of jaggies? What's the preferred way (and order) to go about these tasks? Sample in reply below |
sample
2 Attachment(s)
sample video created with VLC's record function
screenshot attached of VirtualDub info |
3 Attachment(s)
Here is your sample de-interlaced, cropped and resized named GraduationDCR shortened to fit the 99MB file size limit followed by another file encoded to h.264 named GraduationE.
I used Avspmod for the first file using the following script sequence: Code:
AviSource("C:\Users\User\Desktop\graduation.avi") Code:
ffmpeg -i GraduationDCR.avi -vf setsar=sar=1/1 -c:v libx264 -crf 18 -x264opts colorprim=bt709:transfer=bt709:colormatrix=bt709:force-cfr -c:a aac -b:a 192k -movflags +faststart GraduationE.mp4 http://www.digitalfaq.com/forum/atta...1&d=1651981857 |
The blacks are crushed. Needs a new capture with levels set correctly for a good histogram.
|
Holy crap dude, those look amazing! Nah that aint Cuomo...just some smart kid.
What's the difference between DCR and h.264? which one should I use? |
@traal, How can I do that? I used the default "Capture filter" settings. I didn't adjust anything in that menu.
|
Quote:
H264 would be your final output - the compressed video after all filtering is done. H264/x264 is the most commonly used for video compression currently. MeGUI can be used to convert to x264 with an avisynth script performing all the filtering prior to compression, or you can produce a lossless avi first and then compress to x264 using your software of choice (megui, handbrake, vidcoder or ffmpeg as shown in the previous reply example) |
Yes DCR is still in lossless state although de-interlacing is not a lossless process, From the DCR file you can either upload to youtube directly for sharing or encode for offline viewing/sharing. You would still have to keep the master files in case you want to go back and change something if storage space is not an object.
|
Here is how it looks like if you would upload it to youtube, Don't worry it's an unlisted video and will be deleted later. Uploading from lossless could take hours for a full tape, It is better scheduled overnight.
How did you dub the audio track to the tape? Is this a second gen dub? |
Quote:
|
That wasn't my question, How that song got into the tape, I don't hear the microphone's sound from the camcorder? Was it a second gen dub or the audio has been dubbed straight to tape, but from its quality this isn't a linear audio dub, it sounds HiFi, so it has to be a second gen dub, Consumer camcorders didn't have the option to feed the audio while shooting live.
|
Quote:
|
It really depends on how much upload speed someone has, For me it would take the same amount of time the computer has to be on to encode at 5fps or just upload it to Youtube as is skipping an unnecessary encode. And if someone wants a copy he would just dump the encoded Youtube stream to his hard drive taking advantage of free iCloud, But I always keep the high quality lossless SD masters in case someone wants to do some editing later.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
4 Attachment(s)
My contribution as well:
- the capture has crushed black, as reported by traal and msgohan: Attachment 15161 - compared to (already excellent) latreche34 approach I added some denoise and light sharpening (and a different cropping approach to keep the same original proportions, but with a black border at the bottom): Attachment 15162 image comparison: https://imgsli.com/MTA3MDc4 The used AviSynth script: Code:
video_org=AviSource("vlc-record-2022-05-07-22h02m13s-graduation.avi-.avi") Code:
fmpeg.exe -i input.avs -c:v libx264 -crf 17 -preset slow -aspect 4:3 -c:a aac -b:a 128k output.mp4 Edit: your original capture has halos, disable any sharpening in the player and in the capture card: Attachment 15163 |
In regards to crushed black, I read this post regarding the ATI 600 USB at https://forum.videohelp.com/threads/...needs-cleaning
"The ATI 600 USB clips blacks before the signal reaches VirtualDub. VDub's hook into the 600's proc amp won't fix it. You need an external proc amp to adjust black levels before they enter the 600. You can fix the highlights with the Levels() filter, much of the brights can be recovered. See the Levels() entries in the above scripts, which calm the highlights and contract output highs to y=235. It's too late for the blacks; they're crushed before the capture software sees them. It's a pain with the ATI 600 USB and the Hauppauge Live-2 USB." Regarding the halos, ATI 600 defaults to 2 for sharpness. Dropping it to 0 I still see the halos. Must just be the tape. |
Quote:
|
1 Attachment(s)
Quote:
The video is indeed Public, but it cant be monetized Attachment 15165 |
Don't upload the SD version, Youtube algorithm will hit you with harsh compression, They don't want any content below 1080p on their platform or else it will be shrunk to death to save bandwidth for other high quality contents.
|
Thanks. I'm watching videos on how to set up Avisynth and avspmod but man is it complicated. Is this a good video to watch? https://www.youtube.com/watch?v=C4PyyQoz6eo
The script you created seems relatively simple, i like the results and would like to use it for my video, i just dont understand the workflow. |
The hard part of scripting is getting all the dependencies in your computer and get them to work, after that it's a matter of few clicks. Open up a new thread, there are members here or at videohelp.com who can help get you setup.
|
1 Attachment(s)
I followed the setup video I posted earlier and set up everything exactly as described, but I cant seem to preview the script. I get an error about missing a decompressor. Google yields absolutely no results on "fourcc UYFH"
Attachment 15166 Very odd considering I'm using the same sample file posted earlier. EDIT: I got past this by installing the 64 bit huffyuv dll. the video im following is strictly using 64 bit software |
2 Attachment(s)
Got Avisynth up and running! Even got the second very long script running which had a ton of dependencies. Pretty happy with myself right now lol
currently testing both scripts given to me by you kind gentlemen Attachment 15167 The only part I couldn't figure out is how to load those ffmpeg scripts you guys provided. Am I missing an ffmpeg plugin that allows custom command lines? Just for testing I'm using the x264 8 bit plugin Attachment 15168 |
ffmpeg encoder runs on a command line level, It could also run using some of the GUI utilities, I can't help you further on this as OS platforms are very different and takes a computer wiz to sort them out but I'm pretty sure there are members who can help on this.
|
Quote:
AvsPmod is just a text editor for AviSynth. I never used. But for beginners it can be very helpful to play with the parameters of the different basic functions with a slider, if you build the script in the appropriate way (unfortunately it does not work with the complex plugin/functions). About ffmpeg it is better to do not use any GUI, in order to have full control of its parameters. Run it through a command line in a "command prompt" shell. If you prefere a GUI there are several avalable (MeGUI, clever FFmpeg-GUI, ...) |
Quote:
|
Quote:
|
So even though you guys split your scripts into two code boxes for the examples, theyre really all entered in the same window at the same time?
|
The reason I do de-interlace-crop-resize in one step and encode in a separate step is because I don't need to encode all the time. It can be done though but not in avspmod as far as I know.
|
Final product using your script, latreche34
https://www.youtube.com/watch?v=5TMySwwzi_M I think it looks great! |
Looks pretty good, you haven't addressed the black level issue but it gives it some dynamic look, Not a lot of people will notice it anyway.
|
I wasn't sure what to do with what you guys said was crushed blacks. Apparently the ATI 600 USB crushes them internally, and there's no way to stop it without introducing a piece of hardware between the VCR and the 600. I'm not really up for buying more equipment at the moment. I've tried using the capture filter controls (which I read was futile anyway) in conjunction with the histogram, but not having a live histogram in virtualdub while trying to adjust levels makes it nearly impossible to fine tune a result. If there's an easier way to go about doing that, I'm all ears.
|
Quote:
https://drive.google.com/file/d/1Tk9...ew?usp=sharing |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.