There is not any need at all to use multiple filters like in your crazy coding
Staying within the narrowest possible range is the simplest and stupidest method to generate rounding errors using multiple filters.
No sir, it is. Sorry, but I thinik you are not a AviSynth expert, just a young playing with conversion and high number of bits non useful.Math isn't your strong suit, is it?
+ Reply to Thread
Results 31 to 60 of 88
-
-
Any color other than gray indicates your lack of knowledge about HBD.
And there are very few edges here anyway; most are solid surfaces.
You could test it on grass or leaves.
Maybe the edges will be bluer, or maybe pinker? I don't know, check.
ColorBars.KillAudio.AssumeFPS(50).BilinearResize(8 0,480)
StackHorizontal(last,last,last,last,last,last,last ,last) # simulate more edges than in test picture
ConvertToYUV420(bits=8,quality=true)
SeparateFields().SelectEvery(4, 0, 3).Weave().AssumeTFF()
org=last
#ConvertToYUV444(bits=16,quality=true)
QTGMC(preset="slow")
Lanczos4Resize(1920,1080)
Lsfplus(preset="slow")
#ConvertToYUV420(bits=8,quality=true)
bad=last
org
ConvertToYUV444(bits=16,quality=true)
QTGMC(preset="slow")
Lanczos4Resize(1920,1080)
Lsfplus(preset="slow")
ConvertToYUV420(bits=8,quality=true)
#showdiff(last,org)
Overlay(bad,last,mode="difference")Last edited by rgr; 6th Aug 2026 at 05:30.
-
I confirm, useless crazy. Original question is "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects.
ColorBars code??? All results in the crazy code do not see in real life and "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects".
Sir, you must be really fool, sorry. Use original 4:2:0 and ColorMatrix("Rec.601->Rec.709") and receive a video better compared than video with "crazy code" -
Every video needs to be well processed and denoised before being uploaded to YT, otherwise YT will do it. Of course you can do it poorly, no one is defending.
Can you imagine that a real capture has more edges than ColorBars or not so much? Are you just filming walls?ColorBars code??? All results in the crazy code do not see in real life and "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects".
You even got the topic wrong because we're talking about HBD. And we can see your "better video" in the previous screenshot.Sir, you must be really fool, sorry. Use original 4:2:0 and ColorMatrix("Rec.601->Rec.709") and receive a video better compared than video with "crazy code"
What's crazy is that someone filters a video with many filters, in YUV420P8, and produces such crap. -
processed not useless processed. denoise is not always needed for HDV, maybe more anti mosquito and anti blocks, and in AviSynth is easy to well denoise withou crazy code. Sir, you never worked with HDV files.Every video needs to be well processed and denoised before being uploaded to YT, otherwise YT will do it. Of course you can do it poorly, no one is defending.
YT will processes and encode always.
no edges like color bars in real HDV. do you film color bars with the camera?Can you imagine that a real capture has more edges than ColorBars or not so much? Are you just filming walls?
Sorry, I think we talking about "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects".You even got the topic wrong because we're talking about HBD. And we can see your "better video" in the previous screenshot.
I attached no screenshot, if the screenshot is colorbars is science fiction not reality.
No crap produced for "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects" with 4:2:0 and Rec.601->Rec.709. Crap is crazy code.What's crazy is that someone filters a video with many filters, in YUV420P8, and produces such crap. -
I guess you've never dealt with files like this after all. There are no anti-block filters needed, QTGMC+denoiser are absolutely sufficient. Possibly TemporalDegrain2/Neat Video if someone feels the need.
What are you waiting for? Show me there's no difference before I prove something different to you again.no edges like color bars in real HDV. do you film color bars with the camera?Can you imagine that a real capture has more edges than ColorBars or not so much? Are you just filming walls?
You keep barking the same thing...No crap produced for "HDV files to put on YT", 4:2:0 MPEG2 compressed, then defects" with 4:2:0 and Rec.601->Rec.709. Crap is crazy code.What's crazy is that someone filters a video with many filters, in YUV420P8, and produces such crap. -
-
@rgr: Of course there exist "differences" in your comparison of post#32. But it is YOU who declared the 4:2:0 as "bad", and assumed your up-/downscaled version as "better". That's no proof or evidence of anything.
-
You need to do a sharp logic trick to prove that working with higher accuracy (and lower rounding errors) is worse than working with lower accuracy (higher rounding errors).
You can try to simulate an even lower input resolution. Then you won't even have to look closely to draw conclusions. -
you do not guess well. I use many types of real tapes (no color bars) and many avisynth filters. your crazy code is useless.I guess you've never dealt with files like this after all. There are no anti-block filters needed, QTGMC+denoiser are absolutely sufficient. Possibly TemporalDegrain2/Neat Video if someone feels the need.
I do not have to show. Ask dellsam to use the crazy code and upload to youtube, then ask dellsam to use my code and upload to youtube, then we download the youtube video and compare.What are you waiting for? Show me there's no difference before I prove something different to you again.
because you are not intelligent to understand, so need to repeat, sorry about that.You keep barking the same thing... -
And you still don't know anything. You still live in an 8-bit world.
You can't do it yourself?I do not have to show. Ask dellsam to use the crazy code and upload to youtube, then ask dellsam to use my code and upload to youtube, then we download the youtube video and compare.What are you waiting for? Show me there's no difference before I prove something different to you again.
Evidence of your stupid posts above, and you're still barking, Doctor Associate Theoretician.because you are not intelligent to understand, so need to repeat, sorry about that.You keep barking the same thing... -
I live in what is appropriate. 8-bit, 16-bit, 32-bit, 64-bit, excetera
And you still don't know anything. You still live in an 8-bit world.
You use useless world.
Yes I can, sorry. dear dellsam, could you please upload in YT the HDV video after the crazy code (i know is a fool request, sorry about that) and please upload in YT the HDV video after the simple code? We can after download the two videos, compare and decide who is wrong and who is okYou can't do it yourself?
Sorry, I do not understand the Doctor. My posts are not stupid, your crazy code is stupid.Evidence of your stupid posts above, and you're still barking, Doctor Associate Theoretician. -
Look and learn. Maybe someday you will succeed, Mr. Troll with a fake account (lollo, its you?
)
https://forum.videohelp.com/attachments/93298-1786017189/u231kt4.png -
My point was that one cannot "undo" the defects of a given digital source of a given resolution and given color subsampling format by just upsampling the chroma and increase the bitdepth. One has a least to apply some dithering (~adding "noise") or interpolation at some stage of the process, otherwise the extra bits have no effect. 5 is the same as 5.0 or 5.000000000.... What is lost in the source is lost, and any additions are 'artificial' in the sense of not existing in the source.
Similar, one cannot improve the true resolution (aka details) of a given video by just upscaling it to a larger frame size.Last edited by Sharc; 6th Aug 2026 at 11:26.
-
You just eliminated all upscaling algorithms (better or worse).
Now divide your number 5 by 2, multiply by 3, then divide by 3 again and multiply by 2.
Let me know what results you got in the integer space and what in the float space.
You won't have a better number 5, but at least it will still be 5.Last edited by rgr; 6th Aug 2026 at 11:51.
-
Agreed. The rounding error/round trip error persists as long as one sticks to integer (finite bitdepth) maths. The chroma up/downsampling has its fixed (few) patterns though (4:4:4, 4:2:2, 4:2:0, 4:1:1) and the bitdepth is (visually) less relevant IMO for converting between these formats (not talking about the formerly notorious CUE, chroma uspampling error).
Last edited by Sharc; 6th Aug 2026 at 13:39.
-
Here is a sample of the HDV file:
Last edited by dellsam34; 6th Aug 2026 at 15:12.
-
I still have a problem with AVSPmod, While LWLibavVideoSource option worked for importing mpeg-2, it does not carry over audio, just video, Back to the drawing board.
-
You need to add the sourcefilter for audio as well
Edit: And take a look at the histogram / waveform monitor. I would lower the darks and brights a bit, something simple would beCode:video=LWLibavVideoSource("Tilden Park.mpg") audio=LWLibavAudioSource("Tilden Park.mpg") audiodub(video,audio) assumeTFF() QTGMC(preset="slow") spline36resize(1920,1080) #or an upscaler of your choice # other filters of your choice here ...
Code:levels(26,1.0,255,16,235,coring=false)
Last edited by Sharc; 6th Aug 2026 at 16:00.
-
->32-bit floating-point processing back and forth is really not necessary for posting HDV video on youtube1. Create an AVS script:
BSsource("input.mpeg2")
ConverttoYUV422(bits=10, quality=true, interlaced=true)
QTGMC(preset="slow")
Lanczos4Resize(1920,1080)
Lsfplus(preset="slow")
PropSet("_SARNum", 1). PropSet("_SARDen", 1)
ConverttoRGB(quality=true).ConverttoYUV420(bits=8, matrix="709:l", quality=true)
Prefetch
2. Check the AVS script in VDub.
3. Compress the AVS file using FFmpeg:
ffmpeg.exe -AviSynth_flags all -i input.avs your_settings output.mp4
For better quality you can use Converttoyuv444 instead of YUV422.
->heck, even using QTGMC slow is overkill
we can use bwdif also for high definitions
->did someone actually said that 10bit is waste of time because everything is mapped as 16bits to memory internally
->real time footage is really not colorbars, I would really agree on that one
->fix levels, as Sharp suggests, is way up in the priority as oppose to floating point calculations, which might not cut levels, but it also does not fix them
I would really did a test as video_fan suggests. Just years back, I would actually even do it myself for this forum
...
And after doing so, please, lets do not elaborate on some 100x100 pixel blow ups to check some border, suggesting it looks a bit better, after blowing 10x more time obtaining that footage in a PC.
I like topics regarding levels, custom made luts, custom *.cube files, that fix always a particular camera, even within editor software while editing footage, (they differ from camera to camera), rather than using full blown 32 floating point calculations back and forth.
op needs to say what camcorder he uses/used, if BT709 is correct or notLast edited by _Al_; 6th Aug 2026 at 17:04.
-
MediaInfo reports his uploaded HDV file of post#47 as BT.709. So no matrix conversion is needed. Not even extra flagging is needed as players will assume 709 for HD (>720 vertical) per default. Of course flagging correctly does no harm either.
Last edited by Sharc; 6th Aug 2026 at 17:17.
-
Interlaced 1080i has roughly the same spacial resolution as progressive 720p, although if the frame rates are the same 1080i has a higher temporal resolution.
Therefore you can generally deinterlace 1080i to double the frame rate and downscale to 720p and not lose any detail (ie 1080i at 29.97fps to 720p at 54.9fps).
I don't upload video to YouTube so I've no idea how their re-encoding works, but assuming 2k and 4k are re-encoded the same way by YouTube, there's probably no need to resize 1440x1080i to higher resolution than 1920x1080p after de-interlacing, especially if it's de-interlaced to double the frame rate. Of course if higher resolutions are encoded at a higher quality by YouTube, then upscaling might be worthwhile.Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
--
"a lot of people are better dead" - prisoner KSC2-303 -
correct, it should be m2t, so camera model or original file done by HDV capture should be evaluated
-
-
-
Compromise between blurring, sharpness vs ringing (halos)
Lanczos4 is sharper but has more ringing. Differences are subtle.
Here you can select various kernels and visualize their response for comparison.
https://web.archive.org/web/20170327075350/http:/svn.int64.org/viewvc/int64/resamplehq...c/kernels.htmlLast edited by Sharc; 7th Aug 2026 at 02:13.
-
4 shades of red!Originally Posted by Sharc

Which is the "red red" one? Blackman3 or Spline64? -
-
Similar Threads
-
interlace or progressive?
By marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 29th Jan 2025, 13:41 -
HDV Split will not recognize HDV footage but WinDV does...
By genkuzak1995 in forum Capturing and VCRReplies: 10Last Post: 12th Feb 2024, 02:20 -
HDV Split software
By Tonyd520 in forum Newbie / General discussionsReplies: 13Last Post: 21st Jan 2024, 06:50 -
TBC advice for HDV tapes + HDV tape deck?
By dterranova in forum Capturing and VCRReplies: 34Last Post: 3rd Feb 2023, 23:22 -
Not recongized HVR-M15AN HDV
By Ferggue in forum Capturing and VCRReplies: 15Last Post: 1st Dec 2021, 14:45



Quote