Hi all, I am new to video encoding, but I have read a lot about it.
However, I find it difficult to remove the ghost effect from the dvb-t captures of my tv-tuner card....
Here is a screenshot:
I have tried several deinterlacers and programs to solve this but none seems to do the trick
I prefer using MeGui, but any other software that works is welcome
Here is a video part in case someone wants to experiment on it:
TVmario.ts
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
Have your tried sRestore and the typical Fieldblending and Frameblending removal-filters?
sRestore(23.976) looks like a good start,...
additionally I would crop to:
Crop(24,0,678,570)
than resize to:
Spline16Resize(704,504)
and encode with an NTSC 4:3 PAR
Cu Selur
Ps.: Your content is flagged top field first, but is really progressive.Last edited by Selur; 9th Jan 2013 at 12:14.
-
Thanks for your reply Selur!
You really gave me great food for thought and experiment. So this originally was an ntsc video that was transformed into a pal video and the change in framerate created double frames (with a little help from the deinterlace filter that was used in this transcoding I suppose...)
But what if I want to keep it a pal video? Then I am stuck with this ghost - double frame effect?
And another question: How does someone install avisynth filters in megui? You just put them in the avisynth tools folder? -
But what if I want to keep it a pal video? Then I am stuck with this ghost - double frame effect?
can stuff them in whatever folder you like as look as you load them through (LoadPlugin/Import/...) in the Avisynth script MeGui uses. -
The video is already 720x576. It looks originally progressive+telecine improperly re-encoded as interlaced. Not certain, though, because so many people are finding more creative ways to screw up video. The .ts was encoded at a miserly 2300 bitrate and mp2 audio (if you want this to go NTSC, mp2 won't work). Looks like this was part of a project that tried to stuff 4 hours of bad data-starved video onto 1 disc.
Last edited by sanlyn; 25th Mar 2014 at 02:13.
-
If it was originally NTSC, it would have been film-based, 23.97 fps progressive with 3:2 pulldown for 29.97 fps playback, not interlaced. The 3:2 pulldown was not removed, so you have a field blend at regular cycles. Open the video in VirtualDub and move it one frame at a time, you'll see the blend cycle in frames where objects move.
Last edited by sanlyn; 25th Mar 2014 at 02:13.
-
if you want to stay with 25fps and don't mind a few duplicates:
srestore(omode=3)
is probably a good choice (or another omode < 6) -
Well... I've tried both your recommendations Selur but still I get videos with duplicates...
In the first case the script looked like this:
ColorMatrix(hints=true, threads=0)
srestore(23.976)
#deinterlace
crop(28, 0, -22, -8)
Spline16Resize(704,504) # Spline16 (Neutral)
FluxSmoothST(7,7) # Medium Noise
on the second:
ColorMatrix(hints=true, threads=0)
srestore(omode=3)
#deinterlace
crop(28, 0, -22, -8)
FluxSmoothST(7,7) # Medium Noise -
What sRestore does is:
a. replace blended frames with neighboring frame (this causes duplicates)
and
b. if omode is 6 (the default), decimate the frame and frame count to whatever is specified.
so srestore(omode=3) will create duplicates (that's why I wrote: 'if you want to stay with 25fps and don't mind a few duplicates')
srestore(23.976) will create duplicates and than decimate the frame rate and count to 23.976, but if your source does not have 23.976 real frames you will still end up with duplicates.
-> Only proper way to end up without duplicates and blended frames would be to 1st replace the blended frame by neighboring frames and 2nd remove the duplicates. This requires you to either configure sRestore to decimate to a specific frame rate that is low enough or create a vfr stream. Especially old cartoons were often not created with 25 or 24 frames per second in mind (17 or 18 fps are not uncommon), so they often simply don't have enough frames to create a duplicate free stream with 25 or 24 frames per second.
Cu Selur -
well, I realise that I simply don't have the knowledge to remove the duplicates through srestore... But let me note this: Even newer cartoons/anime coming from my dvb-t captures have the same problem, so I really don't think it's the cartoon's age.
Moreover, I see no difference in the number/frequency of duplicate frames after I use srestore It's like it has done nothing!
Why don't you have a try on the file I posted to see if you can at least decrease the number of duplicates? -
Leaving sRestore aside, have you counted roughly how many of 25 frames are blended or duplicates in your source and therefore how many frames you want removed?
I attached a sample where I lowered the frame rate (frame count accordingly to 12.5fps) for general amusement.
-> it might be a good idea to first denoise, deblock, etc. the source so sRestore and other tools can work more reliable on the materialLast edited by Selur; 10th Jan 2013 at 10:46.
-
where there is movement, I'd say 1/3 of the frames are duplicated. But duplicates appearance doesn't follow a pattern. I mean, it's not good-good-duplicate-good-good-duplicate... etc
I tested with media player classic -
where there is movement, I'd say 1/3 of the frames are duplicated.
But duplicates appearance doesn't follow a pattern.
If you got the drive to really dive into the whole Avisynth filtering you probably could first create an intermediate file in which you do a lot of work to denoise/deblock/clean etc. the source and later feed this clip to sRestore to decimate the amount of frames and assuming.
If sRestore still couldn't produce a good file, you probably could use it to replace most of the blended frames with duplicates of a neighbor and later use dedub or a similar filter to a. remove the duplicates and b. create a timecode file which is needed to create vfr output file.
(No, I will not try to do this, since it is far more work than I'm willing to send on such a source. )
Cu Selur -
Thanks for everything Selur, I guess this is really a hard problem as I thought it to be. Unfortunately all my dvb captures of anime/cartoon are like that, so this means that they are broadcasting screwed up video...
Similar Threads
-
How to add ".ass" subtitles to a ..."h264" file?
By Tatsubon in forum SubtitleReplies: 3Last Post: 20th Apr 2012, 18:35 -
"Live" picture effect - pictures end up "filmized"
By ANOther1676 in forum Software PlayingReplies: 10Last Post: 14th Oct 2011, 11:59 -
Set "Output filename" As Default Global "File/segment title" In MkvMerge?
By LouieChuckyMerry in forum Video ConversionReplies: 0Last Post: 9th Jul 2011, 01:52 -
DVD from .mts file with "combing" effect.
By HF20_user in forum Newbie / General discussionsReplies: 5Last Post: 7th Dec 2009, 14:28 -
how to create "thinking" effect(when someones voice plays in head
By bojadada in forum AudioReplies: 3Last Post: 20th Dec 2008, 12:23