Help with DVD script
-
Ninjafox
- Joined: Mon Nov 10, 2003 3:49 am
- Location: Australia, NSW
Help with DVD script
mpeg2source("C:\Documents and Settings\User\Desktop\ghost in the shell.d2v")
ConvertToRGB32(Interlaced=true)
SmoothDeinterlace(tff=true, doublerate=false)
LanczosResize(1024,576)
ConvertToYUY2(interlaced=true)
Telecide(order=1, guide=2)
This is my first time trying to use dvd footage so please bare with me lol. This is probably stupid of me asking but is their anything else i should add? Also whenever i type "Telecide(order=1, guide=2)" above any other command i get this error:
"Avisynth open failure: Telecide YUV2 or YV12 data only
(file path, line what ever)"
but if i leave last it works lol..
ConvertToRGB32(Interlaced=true)
SmoothDeinterlace(tff=true, doublerate=false)
LanczosResize(1024,576)
ConvertToYUY2(interlaced=true)
Telecide(order=1, guide=2)
This is my first time trying to use dvd footage so please bare with me lol. This is probably stupid of me asking but is their anything else i should add? Also whenever i type "Telecide(order=1, guide=2)" above any other command i get this error:
"Avisynth open failure: Telecide YUV2 or YV12 data only
(file path, line what ever)"
but if i leave last it works lol..
- Kariudo
- Twilight prince
- Joined: Fri Jul 15, 2005 11:08 pm
- Status: 1924 bots banned and counting!
- Location: Los taquitos unidos
- Contact:
you should probably leave the footage alone (no colorspace conversions for now)
also. SmoothDeinterlace and Telecide do the same thing. (at least I'm pretty sure they do)
when you say you put it above any other command, do you put it above mpeg2source?
you might want to add a sharpener such as msharpen(), vmtoon(), or fastlinedarken() and also use a temporal smoother like Deen()
don't forget to crop the edges of your video (to get rid of those little black borders on the sides) with crop(int left side, int top, int right side, int bottom)
IVTC-ing my footage has always gotten rid of interlacing (minus a bit of mouth movement, but that can be taken care of too) and made the footgage progressive (progressive footage is more predictable when synching)
the old way is to use Telecide() followed by Decimate(), but there are newer ways to do this (Like TVITC, a pack of functions that IVTC and a few other things) which can be found here
also. SmoothDeinterlace and Telecide do the same thing. (at least I'm pretty sure they do)
when you say you put it above any other command, do you put it above mpeg2source?
you might want to add a sharpener such as msharpen(), vmtoon(), or fastlinedarken() and also use a temporal smoother like Deen()
don't forget to crop the edges of your video (to get rid of those little black borders on the sides) with crop(int left side, int top, int right side, int bottom)
IVTC-ing my footage has always gotten rid of interlacing (minus a bit of mouth movement, but that can be taken care of too) and made the footgage progressive (progressive footage is more predictable when synching)
the old way is to use Telecide() followed by Decimate(), but there are newer ways to do this (Like TVITC, a pack of functions that IVTC and a few other things) which can be found here
-
trythil
- is
- Joined: Tue Jul 23, 2002 5:54 am
- Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
- Location: N????????????????
No. Wrong.Kariudo wrote:you should probably leave the footage alone (no colorspace conversions for now)
also. SmoothDeinterlace and Telecide do the same thing. (at least I'm pretty sure they do)
Please search before spreading misinformation. The documentation for these filters is widely available.
I hope you're intimately familiar with Ghost in the Shell. Otherwise, please refrain from offering filtering suggestions. Ham-fisted application of filters is often worse than not filtering anything at all.you might want to add a sharpener such as msharpen(), vmtoon(), or fastlinedarken() and also use a temporal smoother like Deen()
Telecide expects YUV2 / YV12 data. If you are putting it anywhere after ConvertToRGB32, it will break."Avisynth open failure: Telecide YUV2 or YV12 data only
(file path, line what ever)"
but if i leave last it works lol..
If MPEG2Source is not returning data in the latter colorspace, please provide the names and versions of the tools you are working with.
- Keeper of Hellfire
- Joined: Sun Jan 09, 2005 6:13 am
- Location: Germany
While SmoothDeinterlace and Telecide have different approaches, both do deinterlacing, resulting in progressive footage. Theres no need to use 2 deinterlacers. Since you are using PAL footage, the order=1 in the telecide command is wrong. It must be 0 (bff). And the tff=true in the SmoothDeinterlace is wrong eihter.
Since SmoothDeinterlace already produces progressive footage, the line is wrong. And if you put the telecide at the right position, the colorspace conversion is unnecessary at all.
The conversion into RGB colorspace should be the last one.
The place where to put the deinterlacing depends on the filters you use. Some are supposed to work with interlaced material, so you should place them before the deintelacer.
Since SmoothDeinterlace already produces progressive footage, the line
Code: Select all
ConvertToYUY2(interlaced=true)The conversion into RGB colorspace should be the last one.
The place where to put the deinterlacing depends on the filters you use. Some are supposed to work with interlaced material, so you should place them before the deintelacer.
- Melanchthon
- Joined: Thu Sep 02, 2004 11:12 am
- Minion
- Joined: Sat May 22, 2004 10:16 pm
- Location: orlando
- Contact:
this is what i use for the majority of my footage
loadplugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("yourfilename.d2v")
Telecide(order=1,post=2,blend=false,vthresh=30,back=1)
Decimate(cycle=5,mode=3,quality=3)
ColorYUV(gain_u=15)
loadplugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
mpeg2source("yourfilename.d2v")
Telecide(order=1,post=2,blend=false,vthresh=30,back=1)
Decimate(cycle=5,mode=3,quality=3)
ColorYUV(gain_u=15)
KioAtWork: I'm so bored. I don't have class again for another half hour.
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:
Wrong, telecide does Inverse Telecine, not deinterlacing. True, they both result in progressive footage (very DIFFERENT progressive footage), but they do not both do deinterlacing. (well technically, telecide can do deinterlacing, but it is not it's primary function).Keeper of Hellfire wrote:While SmoothDeinterlace and Telecide have different approaches, both do deinterlacing, resulting in progressive footage.
@Ninjafox:
It looks like you are working from a PAL version of the disc, which probably has the fields and stuff all screwed up to begin with.
I would recommend restructuring your script in this way:
Code: Select all
mpeg2source("C:\Documents and Settings\User\Desktop\ghost in the shell.d2v")
SmoothDeinterlace(tff=true, doublerate=false)
LanczosResize(1024,576)
ConvertToRGB32()
@Minion:
I can assure you that the vast majority of footage does not need its u_gain tweaked by 15.
- Melanchthon
- Joined: Thu Sep 02, 2004 11:12 am
No part of the tech guide is as often misread as that one. All gain_u=15 does is make the video more blue and less yellow. If the footage is slightly yellow to begin with, it gets corrected. If it isn't, it gets tinted blue.Zarxrax wrote:@Minion:
I can assure you that the vast majority of footage does not need its u_gain tweaked by 15.
- Minion
- Joined: Sat May 22, 2004 10:16 pm
- Location: orlando
- Contact:
what would you suggest i drop it down to?
i havn't noticed any blue tinting, but of course that doesn't mean its not there. i could just be used to looking at it :/
i havn't noticed any blue tinting, but of course that doesn't mean its not there. i could just be used to looking at it :/
KioAtWork: I'm so bored. I don't have class again for another half hour.
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes
Minion: masturbate into someones desk and giggle about it for the remaining 28 minutes
- Zarxrax
- Joined: Sun Apr 01, 2001 6:37 pm
- Contact:


