PDA

View Full Version : deInterlace - XviD and Cartoon ... (again)


Syntech
23rd October 2003, 14:20
Hi!

I'm trying to get rid of the interlaced lines in Futurama Boxes when I'm doing an Xvid, but with no success...

Well, I can get rid of the lines, but there is a 'blend' effect that
looks like the 2 frames have been merged together. Also on scene changes there is a blend effect...

I have searched and read the forum for about a day about the deInterlace topics, tried different user homemade functions in AVS,
used the deInterlace options in Gordian Knot etc... but nothing seems to work. The blend/blur effect is still there ...

And when I deInterlace the parts which were interlaced, they seem to play a bit choppy (not the whole frames, just the interlaced
parts...(a moving car for example))

I have noticed the same effect with my StarTrek and X-Files boxes.
Is this a common problem for TV-Serie (in 4:3) boxes ?
Other interlaced movies seems to work fine (or at least with some minor glitches).

Is there a good solution for this or do I have to stick with it ?

I would love to post a screenshot, but It say I may not post attachments in this forum ... :(

The source is 4:3, 25fps, Interlaced (Region 2)

Cheers

Anders Kallander

Teegedeck
23rd October 2003, 22:36
Hi Anders (Syntech),

your post doesn't really concern XviD, as it only comes into play AFTER the deinterlacing process which is giving you trouble. I'll move this thread to the Avisynth Usage forum which seems a good place for the discussion of your problem.

Greets,

Tee

Ejoc
23rd October 2003, 22:46
did you try decomb's telecide()?

Syntech
23rd October 2003, 23:08
Oh...

Sorry for the post in the wrong forum ;)

No, I haven't tried decomb's telecide() since I thought
it was used to transcode 29.97 fps into 23.976 fps (NTSC).

Would it apply to PAL 25 fps too ?

Ejoc
24th October 2003, 00:16
Decimate() is the function that changes the frame rate.

Lots of time you use both telecide() and decimate(), but you can use telecide() by itself.

Asrial
24th October 2003, 07:39
What ep of Futurama are you working on? I'm doing Futurama also and I've found that this segment of code works REALLY good at de-interlacing:

LoadPlugin("C:\DSounds\Filters\decomb500.dll")
LoadPlugin("C:\DSounds\Filters\mpeg2dec3.dll")
LoadPlugin("C:\DSounds\Filters\KernelDeint140.dll")
MPEG2SOURCE("PROJECT -- 1x2.d2v")

Telecide(order=1,guide=0,post=1,hints=true,vthresh=60)
KernelDeint(order=1)

Decimate(cycle=5,quality=3)

That is VERY basic but it's enough to produce a moderate quality encode that can be considered 'viewable'. Don't worry about any filtering really because the Futurama source is really really clean and stick to '2nd pass 1st pass' encodes unless you're shooting for file sizes wayyyy below 200mb.

There's ALOT of room for improvement on the quality you can pop out and I've found that I've learned alot of little tricks trying to perfect my encode. Ep 2 is a great start because it has a little bit of everything.

manono
24th October 2003, 11:00
Hi-

He's PAL, so he won't be Decimating. The rest of it looks worth trying, though.

Syntech
24th October 2003, 11:27
I will try it right away :)

Just tried ep 1 & 2 in the first box ...
I will apply your source and test it now ...

Syntech
24th October 2003, 11:58
Well... I just tried it on Season 1 Ep. 1 ...
and the blend (shadow) images are still there.
In the pizza delivery scene (first minute of ep.1),
the bicycle ride plays choppy (just the bicycle),
and yes, I don't use Decimate(). I actually tried
it but it did produce a very choppy video since
this is no NTSC box..

I tried it on Startrek to, just to test a
non-cartoon movie, but the blend is still there.

If I load the encoded video in to VirtualDub,
and move frame by frame, the blending shows up
pretty good. Just like a ghost image from the
previous frame.

:(

Kika
24th October 2003, 12:30
Those Vids are Converted from 29.97 to 25 FpS by using Field-Blending.
There is no chance to deinterlace them a perfect way. Whatever you try, you will get blendet Frames and/or choppy Motion.

Try deinterlacing without Telecide, maybe the Motion will become a bit smoother.

Duncan_07
24th October 2003, 12:44
It's a zone2 PAL DVD so you only have to make a field deinterlace.
Thoses types of DVD have been converted from 30fps to 25fps like pig. (no telecide/decimate in facte).
The ghost effect and other bad things are part of your video and you could not do enything to correct it.
I have this probleme with the X-TV box.

To have the proof, open you DVD with DVD2avi and watch bad parts. You will see the ghost is in the video and not cause of your deinterlasing.

Some French DVD edditing sociaties makes a very disgusting job... :mad:

Syntech
24th October 2003, 13:21
Ok ... So it has nothing to do about me beeing a newbie
(sort of) at encoding then... It's about how they mastered
the dvd's in the first place ?

Well, I did FieldDeinterlace() and FieldDeinterlace(blend=false)
at my first tests of encoding this box, and that's about the best
quality I can get then I guess.

I can live with that, now that I know about the 29.97 -> 25 fps
convertion. (I still have the original box :) to watch)

BTW: Do you have any tips about bitrate, resolution etc ?

I have made the episodes 300Mb (about 21 minutes each), with a
bitrate around 1900 and I have tried resolutions like 512x384,
640x480 with AC3 sound and Lanczos resize (since I have a high
bitrate...) That way I can fit all episodes from one box on a
dvd.

No filters otherwise since the image looks quite clear on the
original.

My AVS:

LoadPlugin("C:\PROGRA~1\INSTAL~1\Video\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\INSTAL~1\Video\GORDIA~1\undot.dll")
LoadPlugin("C:\PROGRA~1\INSTAL~1\Video\GORDIA~1\decomb.dll")

mpeg2source("D:\FUTURAMA DVD RIP\BOX 1\Test\Test.d2v")
crop(12,0,696,572)
FieldDeinterlace()
LanczosResize(640,480)
Undot()

Any suggestions ?

Cheers

Anders Kallander

Ejoc
24th October 2003, 16:30
640x480 and you're putting it on DVD? I'd go either 352x480 or possibly 720x480

Asrial
24th October 2003, 20:41
I'd also crop AFTER fielddeinterlace.

Syntech
24th October 2003, 21:05
Well ... I'm not making a DVD compatible mpeg.
I encode XviD and put all episodes in first box
on one DVD, and then play them through my Xbox,
since it can read DivX, Xvid etc...

Oh ... the Crop part was a typo ... did cut and
paste from different AVS scripts ... but thanx anyway :)