Hello,
I am new to VHS capturing and I own a Happauge USB Live 2.0 because I read you can capture lossless with this capture card and it is a good budget option.
I am capturing Pal-B format Vhs and my current workflow is the following:
Blaupunkt RTV 966 with svhs cable conneted to Panasonic DMR-EH575 ad passthrough for tbcish function conneted via svhs to my happauge live 2.0.
I tried capturing with huffyuv activated in vdub VirtualDub 1.9.11 but I always get compression ratio 2.6:1 which is not really lossless and I am confused why that might be the case. (see picture)
+ Reply to Thread
Results 1 to 30 of 30
-
-
[Attachment 75618 - Click to enlarge]yes but why is my video compressing if I use huffyuv?
is there something wrong with the configuration perhaps?
If I use the built in uncompressed codec I get no compressionLast edited by hauko; 19th Dec 2023 at 10:54.
-
Nothing wrong with your settings.
Our 'friend' is not helpful inasmuch that huffyuv DOES compress as opposed to a fully uncompressed (no codec used) capture. Lossless refers to the retention of information when you edit/resave that capture using the same codec whereas a lossy codec such as mpeg2 or DV will lose information. -
Simply speaking there are 2 types of video compression:
a) Lossless compression (Huffyuv, Lagarith, ff1, MagicYUV...)
The file gets smaller, but nothing is lost. The original can be perfectly restored. Similar as *.zip, *.rar etc.
b) Lossy compression (by lossy encoders like HCenc, x264, x265 .... mpeg2, mpeg4, divx formats)
The file becomes even smaller (usually much smaller), but now at the expense of some losses like loss of fine picture details, creating certain artifacts etc. The original can no longer be perfectly restored. What is lost is lost. The compromise is how much losses/compression artifacts one is willing to tolerate.
It's a bit of an oversimplification, but it may answer your question -
Your "friend" (are you talking in royal plural?) was under an impression that anyone who has used a ZIP file knows what compressing data losslessly means.
Your "friend" may have not realized that ZIP files seem to all but have seized to be a part of a computer usage routine. With most data formats already compressed, what's the point? OTOH, tarballs are still usually distributed zipped. -
And while you are there with your losseless capture, do not use hacked HuffYUV codec, but the original one!
-
-
-
I used the one from the digitalfaq website isn't that the original?
-
Last edited by hauko; 19th Dec 2023 at 15:02.
-
1- unzip huffyuv-2.1.1.zip to C:\
2- Copy huffyuv.dll and huffyuv.inf in C:\Windows\SysWOW64
3- Open up a command prompt (DOS box) as administrator
4- In the command prompt (DOS box) go to C:\Windows\SysWOW64
5- Type: rundll32.exe C:\Windows\SysWOW64\setupapi.dll,InstallHinfSectio n DefaultInstall 0 C:\huffyuv.inf -
I still get following error
[Attachment 75626 - Click to enlarge]Last edited by hauko; 20th Dec 2023 at 07:20.
-
Then 'safest' approach is to formally uninstall ALL instances of the huffyuv codec >> if your OS is like mine you go to Programs & Features from Control Panel. Scroll down to huffyuv > right-click uninstall/remove.
Then install the approved version following the instructions as displayed from the zip. -
-
Or you could use Lagarith lossless codec or UT Video codec, both of which are lossless. Lagarith should work fine with Win7, and if the latest version of UT Video isn't Win7 compatible then there are certainly fairly recent versions that are. (I used both with my USB Live2 when I was still running Win7 x64 Home). Also, do look at using AmarecTV v3.10 (or lower. DO NOT USE ANY LATER VERSIONS!!!) to capture if you have audio sync issues with VDub.
Good Luck!"Well, my days of not taking you seriously are certainly coming to a middle." - Captain Malcolm Reynolds -
so I did some quick test captures with lagarith and huffyuv in vdub 19.11
https://we.tl/t-s9bFYtvCIR
can any of those be consideres lossless? -
Last edited by Sharc; 20th Dec 2023 at 13:30.
-
One thing I will comment on with the huffy sample is that the vid is 25% larger than it needs to be - I posted a sample a while back 32 secs = 185mb. Do look carefully at the various options.
-
There is no such size rule IMO. Even the lossless compressibility depends on the source material (and on the codec). But yes, Huffy has settings which affect the efficiency of the lossless compression. Anyway, most important is "lossless" and YUV 4:2:2 which is fine with both captures.
-
I'll concede on the first point. The sample I posted, I think you commented on it, had minimal movement and quite a dark setting. The one significant variation though is the Bits/(Pixel*Frame) which was 4.421 compared with 6.658 in the OP's sample.
I am mentioning this should the OP, sometime down the line, be concerned with file size on longer recordings. -
Does huff capture YUY2 by default or do have to something during set up?
I have settings on (best) is this the correct setting?
Lagrith codec produces smaller files is it better to capture in huff then use Lagrith as intermediary codec?
Can too much transcoding cause quality loss even if it's lossless?
What about de interlacing that's a problem with lagrith it doesn't flag as interlaced on any software always progressive
Huff does flag correctly on tests? -
Should progressive video be deinterlaced? What if the codec is wrongly flagging interlaced as progressive lagrith lossless codec always does, huff goes flag correctly but colorspace shows RGB0 when it should be YUV2.
How does the person know he has set up the codec correctly?
The output virtualdub settings are 4:2:2 YUY.
Then the video goes into editor for grading clean then
encoded with yuy template.
Is this the correct way of doing it?
What options should be chosen when outputting from moviestudio
Upper field first if lagrith is showing as progressive?
What about reduce interlace flicker? If this option is not chosen you will get ghosting on fast moving scenes after de-interacing on my tests, if chosen the de-interlaced video file plays fine no ghosting.
Does reduce interlace flicker have anty negative effects on the video file? I read online that it blends fields
Any help would be much appreciated- I did not want to start a new topic tgis topic is also taking about capture and set up so it's best suited here 😊 -
Your capture is nice. As Sharc already said, the source is "progressive", meaning the 2 fields are coming from the same moment in time, and the levels are well centered:
no need for deep restoration, a simple denoise+sharpen is enough:
Code:video_org=FFmpegSource2("asej.avi", atrack=-1) # trimming trim_start=360 trim_end=738 video_org_trim=video_org.trim(trim_start,trim_end) # cropping crop_left=14 # | rimozione esatta delle bande nere sinistra, sopra, destra e del disturbo sotto crop_top=4 # | 720-(14+10)x576-(4+8)=696x564 crop_right=10 crop_bottom=8 video_org_trim_crop=video_org_trim.crop(crop_left,crop_top,-crop_right,-crop_bottom,align=true) ### convert to YV16 video_org_trim_crop_yv16=video_org_trim_crop.convertToYV16() ### denoising denoised_yv16=video_org_trim_crop_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 sharpened_borders=sharpened.addborders((crop_left+crop_right)/2-8,(crop_top+crop_bottom)/2,(crop_left+crop_right)/2-8,(crop_top+crop_bottom)/2) return(sharpened_borders)
Comparison side by side
Comparison with slider: https://imgsli.com/MjI3NTg1
Maybe some bad frames like 336 showing line errors can be replaced with interpolated frames .
[Attachment 75638 - Click to enlarge]Last edited by lollo; 20th Dec 2023 at 17:13. Reason: uploaded correct restored video file (was original capture earlier:()
-
Originally Posted by VHSVideocapture
You can still do so: simply edit your above posts by cutting out all those questions and posting them in your other topic.
It's hard enough to keep track of the subjects of topics here as it is without each topic descending into a general waffle-on about everything-video.Last edited by Alwyn; 21st Dec 2023 at 14:46.
-
-
Is the code you posted for avisynth or how do I usw that?
Similar Threads
-
Tevion USB capture card not recognized (shows USB 2861 Video)
By retractOffer in forum Capturing and VCRReplies: 3Last Post: 4th Mar 2023, 11:38 -
Elgato Video Capture vs. Hauppauge 610 USB-Live 2 - Raw Comparison
By CZbwoi in forum Capturing and VCRReplies: 40Last Post: 6th Dec 2022, 13:40 -
Best Lossless USB SD Capture Card?
By BlueTech in forum Capturing and VCRReplies: 10Last Post: 20th May 2021, 14:04 -
I can't capture with Hauppauge USB Live 2
By Lucky Klonoa in forum Capturing and VCRReplies: 6Last Post: 17th Apr 2021, 15:21 -
Capture: VHS-C camera, live, via USB device OR Sony PD150
By tigerdate in forum Capturing and VCRReplies: 2Last Post: 18th Mar 2021, 18:38