I'm wondering if there's a way to remove the horizontal lines in a video like this
I've been searching the web to find options to use with AviSynth, but haven't had much luck.
I've tried many functions like the following:
DeStripe
TFM
Yadifmod2
and several others.
I only have a basic understanding of video so my experience is very limited. I am a little familiar with AviSynth scripts though.
Any help is appreciated.
+ Reply to Thread
Results 1 to 18 of 18
-
-
Not easy. This seems to be a mix of telecine and blending to me. If you watch the result of AssumeBFF().Bob() you will notice both a 3:2 pattern and averages of two moments of time. I guess this is pretty messed up (and low-quality on top, quantization artifacts everywhere), so I doubt it's worth the efforts to try advanced restoration with SRestore or similar tools.
-
@jagabo:
I never used AviSynth. What software do I need to learn Avisynth. Is there a GUI for preview the filters? I know, that it is not easy to learn, but I am in video suff for many years now, I think I can learn this, and if it takes years and years - I don't care, it is my hobby. I will learn a lot.
But only downloading Avisynth is not all. What else do I need? -
I would use stronger deblocking, but bobbing and sRestore afterwards is the way to go here.
users currently on my ignore list: deadrats, Stears555 -
Yeah, it is a bad clip, but unfortunately finding a lot of the older Country music videos is pretty difficult, so you take what you can get.
I can't find what this is:
Code:deblock_qed_i()
I've found:
Code:deblock_qed()
I was thing of just somehow deleting the horizontal lines, if that's possible, and see what that looks like. I know there will be tradeoffs like loss of resolution, but compromises with have to be made somewhere anyway.Last edited by ziggy1971; 25th Jan 2021 at 18:36.
-
You can find it here: https://forum.videohelp.com/threads/399925-DVD-Inverse-Telecine#post2604110
You'll have to supply a sample. Music videos are often a mix of different frames rates as sources are slowed or sped up to match the music.
If you "delete the lines" what are you going to put in their place? Many options you can try:
Code:Mpeg2Source("Clip1.d2v", Info=3) SeparateFields() nnedi3(dh=true)
Code:Mpeg2Source("Clip1.d2v", Info=3) QTGMC()
Code:Mpeg2Source("Clip1.d2v", Info=3) vInverse()
-
what horizontal lines? played with vlc.
[Attachment 56999 - Click to enlarge]--
"a lot of people are better dead" - prisoner KSC2-303 -
-
-
You are wrong. Good deinterlacing algorithms use both fields in areas where there is no motion -- so you get a full 480 lines of resolution (filters like Yadif and QTGMC do this). In areas of motion they vary depending on the algorithms used. It can be anywhere from 240 to 480. Or at least, the 240 lines can be more smoothly interpolated, better approximating the missing field. Compare Bob() on the left to nnedi3(field=-2) on the right:
[Attachment 57001 - Click to enlarge]
Be sure to view the image full size. Note the near horizontal bar near the right edge of the frame. nnedi3 delivers a more realistic estimation of the missing field -- the bar is smooth rather than aliased. -
[QUOTE=ziggy1971;2608716] OK, that was a gross exaggeration; not as intended. Generally speaking, a 480i is 2 240p clips weaved together, right?
But then again, I've seen telecined clips and some of those frames are full 480p.
I'm still curious how it would look by removing the horizontal lines by deleting the lines of pixels. -
part of the problem is that it was badly cropped/resized with black bars. the actual video is only like 660x430.
but yes interlaced vid is 2 half sized fields shown every other line.
[Attachment 57006 - Click to enlarge]--
"a lot of people are better dead" - prisoner KSC2-303 -
Again, what are you going to replace them with? You can simply remove them with:
Code:Separatefields()
Code:Separatefields() Spline36Resize(320, 240) # or 640,480
All those methods are visually unappealing. That's why there are so many deinterlacing filters that attempt to do better.
And none of that will address the problem of field blending in your video. -
I don't want to replace them with anything. You're assuming I want to keep the same frame size, 720x480.
All I wanted to know was whether there was some way to remove/delete the horizontal lines, which means deleting every other line and moving the remaining lines up as you go (probably not the best explanation) So, in effect, you'd end up with a 720x240 frame size. No interpolation, field blending or anything else, just essentially deleting the horizontal lines.
I've been experimenting with DeScratch & DeStripe to see what they'll do -
To talk about "removing" the combing, you first need to understand the reason why you see it: Because you see on a PC monitor at the same time what you would see on a Cathode Ray Tube (vintage) TV screen with a delay of time. First one half of all the video lines, "slowly" fading out, before the other half of the video lines lights up. That used to happen in the phosphors of a CRT TV set. But PC monitors and modern flat screen TV sets, especially with LCD screens, work in a different way. They show you everything at the same time, both pairs of video lines next to each other, and they don't fade out to blend their contents into each other.
-
Then just use SeparateFields(). That turns each frame into its two separate half height images. If you want to keep only one of the two images use SelectEven() or SelectOdd() right after. But your video will continue to have blending artifacts because the fields have blending from the way the video was made.
They won't work for interlace comb artifacts or field blending. -
To get full height interpolations of the fields, use Bob() instead of SeparateFields().
Similar Threads
-
Horizontal Lines from VHS
By Pougan in forum Capturing and VCRReplies: 11Last Post: 25th Sep 2020, 01:16 -
VHS horizontal lines
By VHS_Hunter in forum RestorationReplies: 5Last Post: 27th Apr 2020, 00:45 -
Scrolling horizontal interference lines
By Chief Mouse in forum RestorationReplies: 5Last Post: 28th Jul 2018, 16:16 -
White Horizontal Lines in Hi8 Captures
By dellsam34 in forum Capturing and VCRReplies: 5Last Post: 17th Jan 2018, 04:32 -
Horizontal lines on DVD rips
By Dead Towel in forum DVD RippingReplies: 41Last Post: 16th Oct 2016, 09:38