Hi everyone!
I'm trying to improve the recording I have of a concert. And it has this dented look when in motion with very very thin lines moving around all the time.
I've already tried standard deinterlacing methods, but I can't seem to get rid of it.
This is a clip of the source video (also attached): https://www.mediafire.com/file/wu0xskfa3tnuev4/Copenhagen01-001-CLIP.mp4/file
I have Hybrid as software. Therefore I'd really appreciate your guidance of a method that is compatible with Hybrid or another free tool.
Thanks!
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 13 of 13
Thread
-
-
An interlaced PAL source was resampled (upscaled) progressively while still in fields. This causes artifacts that you see
25fps to 29.97fps was done by introducing duplicates
You can try reversing the process by decimating the duplicates and reversing the upsampling using a reverse kernel
Code:LSmashVideoSource("Copenhagen01-001-CLIP.mp4") TDecimate(cycler=1, cycle=6) DeBilinearResizeMT(720,576, accuracy=2) AssumeTFF().QTGMC(preset="faster", border=true, sharpness=0.25)
-
-
This is your source?
1. It has a really uncommon resolution 1258x720 and a 1:1 PAR (I suspect the source par should be 10:11).
2. the file is encoded progressive, but clearly was interlaced and got resized without deinterlacing
What you could do is:
1. separate the fields, throw vinverse at it to get rid of some of the artifacts
2. resize the height to 576, before deinterlacing
3. add some denoise and sharpen to get some details back
but the result would still contain ghosting and not be really nice.
=> I would strongly suggest to look for a better source that hasn't been mangled that much
(script: https://pastebin.com/NUrN0iZ5)
Cu Selur
Ps.: poisondeathray was faster.users currently on my ignore list: deadrats, Stears555 -
-
And would there be a way to do this without reducing the resolution - keeping it 720 (960x720 with corrected aspect ratio )?users currently on my ignore list: deadrats, Stears555
-
Thank you guys, I'm understanding now that this was more about a wrong method of upscaling (done by somebody else on the original capture and I need to fix it).
I really wanted to check your sample @Selur but the file attached gives me an unplayable error. -
Thanks! I'm understanding now the issue was caused by some upscaling done by the person who captured it (I'm trying to fix it).
Selur, I wanted to check your sample but it's unplayable (?)
Also, where to find/set decimation and vinverse parameters in Hybrid?
I apologize but I'm quite new at using it. -
Selur, I wanted to check your sample but it's unplayable (?)
Also, where to find/set decimation and vinverse parameters in Hybrid?
Hybrid doesn't have TDecimate as an option on it's own, you would need to add a custom section, load the filter, apply the filter and let Hybrid know that you changed the frame count and frame rate. (I used Filtering->Vapoursynth->Frame->Reduction->sRestore in my example)
Cu Selur
Ps.: To recreate the script I used you will also need to change the filter order under Filtering->Vapoursynth->Misc->Filter Order/Queue.Last edited by Selur; 6th Jan 2024 at 14:21.
users currently on my ignore list: deadrats, Stears555 -
@poisondeathray: Did you do more things to it? I noticed that your sample has the frame rate doubled too which makes it smooth.
And for some reason, this sample, even while having a lower resolution, has more definition that Selur's sample hehe.
I hope you can share a few more tricks
In the meantime, I'll try to learn how to use the script, as I'm getting nowhere with Hybrid on its own (I'm probably missing a step too).
Thank you guys both. -
Yes, it's in the script - QTGMC is a deinterlacer . In double rate mode, each field becomes a frame
If you had the original interlaced PAL source, it would be 25 fields/sec interlaced, and if you double rate deinterlaced it (or just watched it on a regular HDTV, which would do that for you), it would show 50 frames per second.
I think some other GUI's like staxrip might have all those filters bundled too, not sure . Gathering all the dependencies for various filters /plugins can be a hassle . If some GUI bundles everything it can save you time -
@poisendeathray:
Looking at:
Code:LSmashVideoSource("Copenhagen01-001-CLIP.mp4") TDecimate(cycler=1, cycle=6) DeBilinearResizeMT(720,576, accuracy=2) AssumeTFF().QTGMC(preset="faster", border=true, sharpness=0.25)
'TDecimate(cycler=1, cycle=6)' changing the frame rate from 29.97 to 24.975 (29.97*5/6)
and
'QTGMC(preset="faster", border=true, sharpness=0.25)' doubling the frame rate to 49.95fps.
Cu SelurLast edited by Selur; 7th Jan 2024 at 04:52. Reason: , => .
users currently on my ignore list: deadrats, Stears555 -
The correct math for 1 in 6 decimation .
But because of NTSC drop frame timecode (It's 30000/1001 , not 30000/1000 or 30/1) , every 1000 frames would have a duplicate 1 in 7 pattern for some types of PAL => NTSC conversions. So "fixed" 1 in 6 decimation will miss a duplicate every 1001 frames, or drop the incorrect "good" frame
=> A way around that would be Tdecimate(mode=7, rate=25)
But there are slight differences in how PAL<=>NTSC format conversions are done, and you'd need to check a longer sample, and also sync. For example, did the prior conversion use 30000/1001 , or 30/1 ? It's common for mistakes to be make for "internet" files and to have multiple generation errors
A common method is a ChangeFPS type conversion, where you (mostly) get every 1 in 6 frame duplicated, except for every 1001 frames, and the pattern is broken . tdecimate(mode=7, rate=25) solves this type of pattern and results in 25/1 fps, whereas tdecimate(cycler=1, cycle=6) drops a wrong frame
You can check this "synthetically":
Code:blankclip(30000, pixel_type="YV12").killaudio() showframenumber().assumefps(25) #display original, original source PAL frame numbering changefps(30000,1001) #tdecimate(mode=7, rate=25) #tdecimate(cycler=1, cycle=6)
Similar Threads
-
Interlacing question
By steveb52 in forum Newbie / General discussionsReplies: 3Last Post: 15th Mar 2022, 13:54 -
Issue with interlacing
By grinchmas in forum Authoring (DVD)Replies: 14Last Post: 26th Apr 2021, 14:49 -
Capturing analog Betacam..Interlacing issue
By Joey Bagodonuts in forum CapturingReplies: 5Last Post: 24th Feb 2021, 12:48 -
KM Player latest version issue. How to solve the issue? Please help me
By jobsp90 in forum Software PlayingReplies: 0Last Post: 18th May 2020, 04:48 -
What's Going On with the Interlacing Here?
By koberulz in forum Newbie / General discussionsReplies: 13Last Post: 12th Jan 2020, 17:10