PDA

View Full Version : Anyone encoded series from DVD like buffy, xena...?


DvdKhl
30th August 2003, 16:33
I'm encoding Buffy but there is a wired thing with interlaceing

If I just load the vob file.
It looks interlaced
but when I put in it
--------------
assumefieldbased()
separatefields()
weave()
--------------
the movie is progressive
and then I noticed that the 1&2, 3&4 ... horizontal lines are the same

so I changed the script like this
--------------
assumefieldbased()
separatefields().selecteven()
--------------

can somebody tell me why they do this (doubling the height)?
is there a better way to make the movie progressive?

cweb
31st August 2003, 11:50
I check what the type is, by using DVD2AVI.

Edit: Sometimes Field operation has to be set to "forced film"(NTSC only), and in other cases you need to deinterlace with decomb.

There are many guides on this on this site etc.

Try also searching the forums.

Si
31st August 2003, 21:46
I don' t thinkAssumeFieldBased doesn't do what you might think it does :( (At least I think it doesn't)

AFAIK it tells Avisynth internally that the clip is a series of fields with 1 field in each frame (a bottom field then a top field then a bottom field then a top field etc)

It doesn't tell Avisynth that the source is interlaced or contains fields :confused:

It makes Avisynth think that a 2 field/frame video has had a SeparateFields() done to it.

So if you do SeparateFields() again Avisynth might/does get confused.

regards
Simon
All the above based on theory/memory so a possible a large fall from a great height is waiting to happen :p

DvdKhl
31st August 2003, 22:52
I don' t thinkAssumeFieldBased doesn't do what you might think it does (At least I think it doesn't)


he he no I don't know what it does but it solves my problem :D

here some pictures
------------------------------------------------------------
MPEG2Source("C:\Dokumente und Einstellungen\DvdKhl\Eigene Dateien\Encoding Stuff\1.d2v",cpu2="oooooo",idct=6,iPP=false)
http://hometown.aol.de/WebHDD/interlaced.jpg

-------------------------------------------------------------
MPEG2Source("C:\Dokumente und Einstellungen\DvdKhl\Eigene Dateien\Encoding Stuff\1.d2v",cpu2="oooooo",idct=6,iPP=false)
assumefieldbased()
separatefields()
weave()
http://hometown.aol.de/WebHDD/Progressive.jpg

-------------------------------------------------------------
MPEG2Source("C:\Dokumente und Einstellungen\DvdKhl\Eigene Dateien\Encoding Stuff\1.d2v",cpu2="oooooo",idct=6,iPP=false)
separatefields()
weave()
http://hometown.aol.de/WebHDD/interlaced2.jpg
-------------------------------------------------------------

without assumefieldbased() the commands separatefields(),weave()
in the script do nothing but with it like in the 2. example it makes the frames it progressive. But if you zoom the (progressive) picture so you can see the pixels you can notice that the 1&2, 3&4 ... horizontal lines are the same

I just wanted to upload a little vob file but my webspace doesn't let me upload file bigger than 500kb :/.

-----------------------------------------------
There are many guides on this on this site etc.
Try also searching the forums.
-----------------------------------------------
I already did. But they always say to deinterlace, but I think I get the best result with my script.
I just want to know if there's a better method, and I want to know the reason why they "interlace" that way and doubling the height.

Si
31st August 2003, 23:09
he he no I don't know what it does but it solves my problem :D


is not equal to


But if you zoom the (progressive) picture so you can see the pixels you can notice that the 1&2, 3&4 ... horizontal lines are the same


IT DOES NOT SOLVE YOUR PROBLEM :rolleyes: :)

Use KernelDeInt() - http://neuron2.net/kerneldeint/kerneldeint.html - it will :)

Video isn't simple and is difficult to understand for beginners :(
regards
Simon

DvdKhl
31st August 2003, 23:33
ok I'm not the pro in video enc especially not in deinterlacing
but I can't say I'm a beginner... ;D

ok I tried what you suggested here are the results
(and yes I choose the correct field order)
-------------------
(resized them by 2 to see it better)
KernelDeIn
http://hometown.aol.de/WebHDD/KernelDeIn.jpg
-------------------
assumefieldbased()
separatefields()
weave()
http://hometown.aol.de/WebHDD/SelectEven.jpg
-------------------

DvdKhl
31st August 2003, 23:43
another question
why does
assumefieldbased()
separatefields()
weave()

result a progressive picture?
or does it anyhow copy the lines?

neuron2
1st September 2003, 07:14
There is a bug in SeparateFields. The way it is supposed to work according to the documentation is:

"This filter has no effect if the clip is already field-based."

But by experiment you can see that after AssumeFieldBased(), it does a separate and returns undefined fields. I could not find a predictable pattern for what it returns. Some clips behaved like yours, some had changing dominance as the clip progressed, etc.

I've duplicated your observation, so you are not imagining things.

Bottom line: doing SeparateFields() on a field-based clip is not a valid operation.

Anyway, there are better (legal) ways to achieve field discarding/duplication. But field discarding is not the best way to deinterlace. KernelDeint() and others are much better.

DvdKhl
1st September 2003, 12:03
But field discarding is not the best way to deinterlace....

thx thats what I just want to know, that if I use my script that I would lose a field.

I'm going to try some deinterlacers and hope I'll find some good parameters for it