What are those lines?

This forum is for video and audio help and discussion.

What are those lines?

Postby kearlywi » Sun Apr 13, 2003 1:41 am

I just wrote the script to use avisynth for my dvd2avi files (.d2v and .wav)
and it does work, but now that i see the final product i have these nasty horizontal lines that become more and more of a nuisance when the action speeds up. Im sure all of you know what Im talking about and fixing it is probably as ez as changing a preference, so if anybody could drop me a hint that would be great.
User avatar
kearlywi
 
Joined: 23 Mar 2003
Location: University of Colorado, Colorado Springs (Recording Arts Major)

Postby Zarxrax » Sun Apr 13, 2003 1:44 am

Thats called comb artifacts or interlacing. You can learn more about it in Ermac and AbsoluteDestiny's Guide to All things Video, linked from the guides section of this site...
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Postby kearlywi » Sun Apr 13, 2003 3:39 am

EADFAG is a truly awesome guide. Ive seen my share of ripping guides and EADFAG is the best hands down. Nicest thing about it is that if something in the guide doesnt make sense I can post my question here. All noobs reading this I recommend a read thru or EADFAG.

Ill run thru the guide a second time (the avisynth and compression sections are a little weighty 8) ) and see if I can get things straighted out. Once I solve it I'll post what I did here. Of course If its a short answer plz dont hesitate to edumakate~ me!
User avatar
kearlywi
 
Joined: 23 Mar 2003
Location: University of Colorado, Colorado Springs (Recording Arts Major)

Postby kearlywi » Sun Apr 13, 2003 4:52 am

EADFAG wrote: Decomb works in two steps. First you must Telecide the video stream - which essentially turns it into a progressive stream by reconstructing each of the frames that suffer from deinterlacing into their original frames. Then you Decimate the stream, or you remove the duplicate frames created by Telecide. This leaves you with a progressive stream without duplicate frames - thus you've Inverse Telecined the video.


Are both of these steps done with virtual dub filters or AVISynth filters? If its done with AVISynth (ive downloaded the AVISynth decomb pack, couldnt find a virtual dub decomb option [i have AMVapp as well]) then do they activate naturally or do I have to enter a command? If there is a AVISynth command for this what is it?
User avatar
kearlywi
 
Joined: 23 Mar 2003
Location: University of Colorado, Colorado Springs (Recording Arts Major)

Postby kearlywi » Sun Apr 13, 2003 5:03 am

Telecide()
Decimate()

Simple enough (these are for AVISynth)
User avatar
kearlywi
 
Joined: 23 Mar 2003
Location: University of Colorado, Colorado Springs (Recording Arts Major)

Postby the Black Monarch » Sun Apr 13, 2003 9:22 pm

I thought you had to specify Decimate(5)...
The only .org member to donate $1,500 and still have a donation status of "total leech"
User avatar
the Black Monarch
 
Joined: 09 Jul 2002
Location: The Stellar Converter on Meklon IV

Postby NicholasDWolfwood » Sun Apr 13, 2003 10:07 pm

MPEG2Source("C:\File.d2v")
Telecide(chroma=true,blend=false,post=false)
Decimate(mode=2)
AssumeFPS(24)

That's what your script should look like. Replace C:\File.d2v with the correct file name and path. You don't need audio from the DVD to edit an AMV.
Image
User avatar
NicholasDWolfwood
 
Joined: 30 Jun 2002
Location: New Jersey, US

Postby Ashyukun » Mon Apr 14, 2003 7:17 am

NicholasDWolfwood wrote:Telecide(chroma=true,blend=false,post=false)
Decimate(mode=2)


OK, that's a whole lot more in the way of options and/or different ones than I'm used to seeing/using. Are all the telecide options really necessary? And if so, what do they do? And what is the difference between the decimate 'mode=2' in this script and the '5' recommended in the guides?
Bob 'Ash' Babcock
Electric Leech Productions
User avatar
Ashyukun
Medicinal Leech
 
Joined: 04 Sep 2002
Location: KY

Postby AbsoluteDestiny » Mon Apr 14, 2003 7:26 am

5 is the default frame decimation and if you dont specify 5 it will presume it.

Mode=2 is different, it's about which frames it gets rid of:

"[with] mode=2, Decimate() deletes a frame from the longest run of duplicates. This mode is the most reliable with anime and other material where the motion may occur only in every second, third, or fourth (etc.) frames. If you use mode=0 on such clips, there is a danger that incorrect decimation may occur, causing jerkiness. Clips such as those described usually derive from 8fps or 12fps animation, as well as normal 24fps animation where slow motion results in repeated duplicates. Mode=2 is able to delete the correct duplicates in all these cases."

So, yes, it is best with real telecinied anime. It's also a little slower during random seeking and the advantages aren't huge. I left it out essentially because I couldn't be bothered to describe the different modes to people as it makes little difference and just gets people confused.
User avatar
AbsoluteDestiny
 
Joined: 15 Aug 2001
Location: Oxford, UK

Postby Ashyukun » Mon Apr 14, 2003 7:55 am

Interesting. I'll have to switch my scripts for the next project to use mode=2 instead of the 5 (don't want to on my current one in case it changes something as a result, and the video is 95% done). Thanks!
Bob 'Ash' Babcock
Electric Leech Productions
User avatar
Ashyukun
Medicinal Leech
 
Joined: 04 Sep 2002
Location: KY

Postby NicholasDWolfwood » Mon Apr 14, 2003 8:35 pm

Chroma=true : Turn's chroma on
Blend=false : Don't know what it does, I believe it stops colour blending
Post=false : Turns off the Decomb postprocessing (Speeds up Teleciding)
Image
User avatar
NicholasDWolfwood
 
Joined: 30 Jun 2002
Location: New Jersey, US

Postby the Black Monarch » Wed Apr 16, 2003 1:17 am

NicholasDWolfwood wrote:Chroma=true : Turn's chroma on)


LOL. That was helpful :)

NicholasDWolfwood wrote:Blend=false : Don't know what it does


BWA HA HA HA that was REALLY helpful.

NicholasDWolfwood wrote:Post=false : Turns off the Decomb postprocessing (Speeds up Teleciding)


And Decomb postprocessing does what exactly...?
The only .org member to donate $1,500 and still have a donation status of "total leech"
User avatar
the Black Monarch
 
Joined: 09 Jul 2002
Location: The Stellar Converter on Meklon IV

Postby AbsoluteDestiny » Wed Apr 16, 2003 2:46 am

the Black Monarch wrote:
NicholasDWolfwood wrote:Chroma=true : Turn's chroma on)


LOL. That was helpful :)


It improves detection of combed frames by looking at both the luma AND chroma aspects of the video.

the Black Monarch wrote:
NicholasDWolfwood wrote:Blend=false : Don't know what it does


BWA HA HA HA that was REALLY helpful.


If a frame needs deinterlacing because a FILM frame can't be recovered then it can use either blending or interpolation to reconstruct the frame. Interpolation can be better but in most circumstances blend will be less ugly.

the Black Monarch wrote:
NicholasDWolfwood wrote:Post=false : Turns off the Decomb postprocessing (Speeds up Teleciding)


And Decomb postprocessing does what exactly...?


Decomb looks for FILM frames... if there isn't one to be found for this set of fields then the frame needs deinterlacing. Postprocessing does this. If you turn it off there is a chance that you will still get interlaced frames. It can be turned off on sources with a very very clean telecine but it's not advisable to do it anywhere else.
User avatar
AbsoluteDestiny
 
Joined: 15 Aug 2001
Location: Oxford, UK

Postby RadicalEd0 » Wed Apr 16, 2003 2:58 am

you could also try
decimate(mode=2,quality=3)
to up the quality of the frame decimation and sacrifice some speed
NMEAMV: PENIS
NMEAMV: IN
NMEAMV: YO
NMEAMV: MIXED
NMEAMV: DRINK
User avatar
RadicalEd0
 
Joined: 24 Jun 2002

Postby the Black Monarch » Wed Apr 16, 2003 12:11 pm

AD, if I understand you correctly, then you can tell AVIsynth "if you can IVTC, do it; otherwise, deinterlace." I don't suppose that kind of command structure would deinterlace the Evangelion series DVDs...
The only .org member to donate $1,500 and still have a donation status of "total leech"
User avatar
the Black Monarch
 
Joined: 09 Jul 2002
Location: The Stellar Converter on Meklon IV

Next

Return to Video & Audio Help

Who is online

Users browsing this forum: No registered users and 3 guests