Log in

View Full Version : Fieldblended hard telecine plus hardsubs


ChibiBoi
30th April 2013, 03:10
Hi everyone,

I'm having a few problems with my VHS rips, because you see the video footage was hard telecined from 23.976 to 29.970 with blended fields, and AnimeIVTC at mode=2 works great at getting rid of them, but it seems that it makes the hard subtitles really wiggly. The wiggles don't seem to be apparently when I use QTGMC at default plus srestore to 23.976.

However, the reason I don't use QTGMC with srestore is because it seems less effective at removing the blending and also causes some jerky footage. QTGMC takes a lot more processing power than AnimeIVTC and also I've read QTGMC shouldn't be used on anime.

Does anyone have any ideas on how to fix the blended fields as well as keep the subtitles looking good?

setmtmode(2)
AVISource("C:\Users\Public\Recorded TV\test.avi", audio=false).AssumeFPS(30000,1001)
assumetff()
converttoyv12(interlaced=true)
animeivtc(mode=2)
fastdegrain()
lanczos4resize(640,480)

setmtmode(2)
AVISource("C:\Users\Public\Recorded TV\test clip.avi", audio=false).AssumeFPS(30000,1001)
assumetff()
converttoyv12(interlaced=true)
animeivtc(mode=2,bbob=4)
lanczos4resize(640,480)

setmtmode(2)
AVISource("C:\Users\Public\Recorded TV\test.avi", audio=false).AssumeFPS(30000,1001)
assumetff()
converttoyv12(interlaced=true)
qtgmc(fpsdivisor=2)
srestore(frate=23.976)
lanczos4resize(640,480)

setmtmode(2)
AVISource("C:\Users\Public\Recorded TV\test.avi", audio=false).AssumeFPS(30000,1001)
assumetff()
converttoyv12(interlaced=true)
animeivtc(mode=2)
qtgmc(inputtype=1)
lanczos4resize(640,480)

Here are two encoded samples and the raw .avi captured footage:
capture http://www.mediafire.com/?dvnjozw7npck27n
animeivtc http://www.mediafire.com/?12b9kmdyh83bm9k
animeivtc bbob=4 http://www.mediafire.com/?h577ow7zhat2uq5
qtgmc+srestore http://www.mediafire.com/?78moq7cdbblc9zz
animeivtc + qtgmc http://www.mediafire.com/?smo5csw4dusup2z

EDIT:
I tested out bbob=4 setting in AnimeIVTC which utilizes TGMC and this seems to make the subtitles really stable, like QTGMC.srestore, but since it's built into AnimeIVTC's functions, it seems to prevent jerkiness in the footage. However, one downside to both of these is that more blended frames are left in the video, and also the bob makes the subtitles look funky at times during high motion.

I guess now it comes down to choosing the lesser of the two evils: less stable video and subtitles vs more blended frames and slower encoding time. Does anyone have any opinions on this?

EDIT:
I think I've finally got the best of both worlds! Since AnimeIVTC(mode=2) at its default settings got rid of blended frames much better than QTGMC, but QTGMC stabilizes the video better, I decided to use both filters since QTGMC offers a progressive input parameter which gets rid of deinterlace shimmering.

manono
1st May 2013, 00:59
However, the reason I don't use QTGMC with srestore is because it seems less effective at removing the blending and also causes some jerky footage.
That's because you're using QTGMC as a single-rate deinterlacer. Remove that FPSDivisor line from the script.

There are still a lot of blends remaining. Your blacks are dark grey and your whites are blown out. I think you should have made some better adjustments before capping. And why didn't you cap in YV12 to begin with?

ChibiBoi
1st May 2013, 02:08
That's because you're using QTGMC as a single-rate deinterlacer. Remove that FPSDivisor line from the script.

There are still a lot of blends remaining. Your blacks are dark grey and your whites are blown out. I think you should have made some better adjustments before capping. And why didn't you cap in YV12 to begin with?

I read from this post (http://forum.videohelp.com/threads/329388-Capturing-YUY2-or-YV12-interlaced?p=2040243&viewfull=1#post2040243) before I ever started capturing anything. So I figured I'll just leave it at YUY2 and then convert it to YV12 using AVISynth since I trust it more than whatever my capture card does and I didn't want to have any issues later on.

As for the color, I left everything at its default settings because my primary concern isn't the color. It's just bothersome when I use AnimeIVTC and makes the whole video shimmer.

Anyway, you're suggesting that I remove FPSDivisor=2 from QTGMC? And keep Srestore frate=23.976 right? And that should make the video smoother?

I quite liked AnimeIVTC mode=2 at its default settings because it did such a good job at removing the blended frames, much better than QTGMC. I recently just tried AnimeIVTC mode=2 paired with QTGMC in progressive mode and got some really nice results, but I just noticed a new problem: new blended frames show up. I think this has something to do with QTGMC's motion analysis, but I'm not quite sure which parameters to change in order to fix it. Here are some comparison screencaps:
AnimeIVTC (http://i39.tinypic.com/63r70o.png)
AnimeIVTC + QTGMC (http://i44.tinypic.com/2w7ogo8.png)

manono
1st May 2013, 05:55
I read from this post (http://forum.videohelp.com/threads/329388-Capturing-YUY2-or-YV12-interlaced?p=2040243&viewfull=1#post2040243) before I ever started capturing anything.
OK, if jagabo said it then I won't contradict him.
Anyway, you're suggesting that I remove FPSDivisor=2 from QTGMC? And keep Srestore frate=23.976 right? And that should make the video smoother?
The correct framerate is 23.976fps, yes. By removing FPSDivisor=2 you use SRestore as it was intended (by applying a bobber before its use). It will definitely make it play smoother. It should also remove more blends but, as I said, there are still many remaining. Maybe AnimeIVTC is the way to go with this one. I don't know.

ChibiBoi
1st May 2013, 06:04
OK, if jagabo said it then I won't contradict him.

The correct framerate is 23.976fps, yes. By removing FPSDivisor=2 you use SRestore as it was intended (by applying a bobber before its use). It will definitely make it play smoother. It should also remove more blends but, as I said, there are still many remaining. Maybe AnimeIVTC is the way to go with this one. I don't know.

You were right about leaving out FPSDivisor and then letting SRestore do it's work. It's definitely a lot smoother and a lot more blended frames gone.

I also tried AnimeIVTC with QTGMC progressive mode which made the subtitles look a lot better than just using QTGMC+Srestore, but for whatever reason, QTGMC brings back some blended frames that aren't there when I use just AnimeIVTC :-/ But I really need QTGMC to stabilize the shimmering, and I don't know what settings to use.