Requesting some demystification...

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

Requesting some demystification...

Postby Gaelstrom » Tue May 04, 2010 11:48 pm

I'm sorry, but this is really getting me a confused. I'm attempting to rip the GITS Movie special edition, got the footage ripped, have the VOBs, tried them in DGIndex to deinterlace or whatever, demuxed the audio and video and have them as separate sources now. AVISynth is where everything always becomes complete gibberish to me as the guide has me do something that seems to make sense, but AVISynth scripts have never ever worked for me ever and I just don't understand why.

Something doesn't feel right with this, but am I supposed to take the VOBs though DGIndex then to VirtualDub and encode them before I'm able to give them a script? I just want to de-interlace the stupid thing, but all the thought of this does is fill me extreme amounts of dread because I waste more time on this than it will take me to do the damn video.

When do I attempt to bring in the video to AvsP, as the demuxed video file doesn't respond.

I really wish I had a mind for coding, but I don't, I honestly just have to admit that this stuff needs to be spelled out for me.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: Requesting some demystification...

Postby Athena » Wed May 05, 2010 3:04 am

No. You take the .AVS file that DGIndex produces, put your commands in that, and then see how the commands worked by opening up the .AVS file in Vdub. If it looks good, export out a lossless copy. Place in editor. ??? Profit.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Mister Hatt » Wed May 05, 2010 3:29 am

DGIndex doesn't create an avs file kio, it creates a modified version of the avi2dvd file. The file basically lists a line for each frame with the quantizer used and how it relates it's fields to itself and others. It also has some other info about GOPs and such.

@Gaelstrom: Basically, to get reliable seeking and processing of a VOB file, you need to create an index of every frame. That is what DGIndex does (I use dvd2avi myself though), it outputs a d2v file. In avisynth, you can use a source plugin made for your d2v file (should be dgdecode_mpeg2source() for you) to load your video into the frameserver. You can then do various things with it, such as IVTC, deinterlacing, or post process filtering and cleanup, quite a lot really. Paste the script here if you want specific help for it.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Requesting some demystification...

Postby Athena » Wed May 05, 2010 3:34 am

<Kionon> Yes it does O_o
<godix> bill nye did songs? I was never a bill nye watcher really
<Hatt> hence the name, Donald Graft's Indexer
<Kionon> it makes a .d2v file.
<Hatt> you wrote avs
<Hatt> just sayin'
<Coderjoe> yeah. not bill himself, but on his show. they were usually spoofs of pop songs.
<Kionon> which also makes a .avs
<Coderjoe> oh, and square one?
<Kionon> It always did for me.
<Kionon> which is why you have template.avs
<Hatt> no kio, you import the d2v file into avs
<Hatt> oh people use that function?
<Hatt> LOL
<Kionon> It does that automatically
<godix> I should revive that idea for a MEP one of these days
<Hatt> my indexer doesnt output avs because it's fucking dumb imo
<Kionon> So Hatt, now who is wrong?
<Hatt> also I use YATTA which does it for me anyway at a much higher level
<Kionon> :O
<Coderjoe> http://www.youtube.com/watch?v=RCmaxzH6JhI
<Hatt> Kionon: well to be fair, dgindex outputs d2v, and it has the option to output a derived avs, but it isn't default
<Kionon> DGIndex has always outputted a .avs, a .d2v, and a .ac3 file
<Hatt> how strange
<Hatt> I have it set to only do d2v
<Kionon> IIn the AmvApp versions, they are auto enabled.
<Hatt> and by default it will only do d2v and demux all audio tracks, which I don't need anyway
<Kionon> Have been since A D wrote the damn thing in like
<Kionon> I dunno
<Kionon> 2005?
<Hatt> ah, must be a custom ini file then
<Coderjoe> I have never had dvd2avi or dgindex output an AVS file
<Coderjoe> only d2v and wav/ac3 (if enabled)
* Hatt uses a SUGOI version of dvd2avi ^^
<Kionon> O.o
<godix> coderjoe: Interesting. I'll have to look this stuff up sometime
<godix> right now, I think I'm heading to bed
<Kionon> The only time I had to tell it to make one was initially, like two days ago, when I upgraded to the newest that was not included in AmvApp.
<Kionon> But for years, it always auto made one for me without me doing anything
<Coderjoe> I've always made the avs file manually
<Coderjoe> but then I think I am still using an ancient version
<Kionon> I never do. Unless I am not working with DVDs.
<Kionon> Which I prefer not to.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Zarxrax » Wed May 05, 2010 7:38 am

When you say it doesn't work, what doesn't work? Is there an error message?

You simply have to load the .d2v file that dgindex outputs through avs, with this command.
MPEG2Source("your filename here.d2v")

As kionon said, dgindex might automatically generate that avs file for you. But maybe not.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: Requesting some demystification...

Postby Athena » Wed May 05, 2010 8:23 am

Make sure to have the entire destination in the parentheses, just in case your .avs file is not in the same place as your d2v, and check it for typos. This is a fairly common mistake, and you will get a syntax error:

Code: Select all
mpeg2source("C:\windows\profiles\crossover\Desktop\My Mac Desktop\AMV stuff\kewp\kewp.d2v")
ConvertToYV12()
TComb()
TDecimate()
KernelBob(order=1,sharp=true,threshold=8)
BlendBob(badFrames=0)
SDDeRainbow()
deen("a3d",4)
aWarpSharp()
Crop(32,16,-32,-16)
LanczosResize(640,480)


As an example, old filters are old.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Mister Hatt » Wed May 05, 2010 9:29 am

Even if the d2v and avs files are in the same directory they require the quotes and parentheses, it's how avisynth's parser recognises strings from variables. You do not need the full path however, both DGDecode/Mpeg2Dec3 and avisynth work perfectly well with relative paths, so if it's all in the same folder you can just use the file name, no need for the rest of it.

@Kio: I felt ill after reading that travesty :/
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Re: Requesting some demystification...

Postby Gaelstrom » Wed May 05, 2010 6:57 pm

None of the source calls work at all. Each one gets a different problem.

I noticed quotations around the file above, so I added in quotations around the file path, but that didn't do anything either.

Here's what I get:
MPEG2Source("C:\Movies Temp\VTS_01_3.demuxed.d2v")
Script Error: No function named MPEG2Source (which leads me to believe I'm missing something...)

dgdecode_mpeg2source("C:\Movies Temp\VTS_01_3.demuxed.d2v")
Same as above.

Tried the others, for $***s and giggles, but I figured they were pointless.

Since I've got a previous version of AMVApp apparently, something is probably missing. What could that be though, I thought this was relatively standalone? I only installed AvsP, I do have the others ready though. Should I just go ahead and nix the old AMVApp? I remember the guide warning against it, but I don't think that really applies to me. What should I look for that could be making these codes hate me?
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: Requesting some demystification...

Postby Athena » Wed May 05, 2010 7:30 pm

You're missing the DGDecode.dll, sounds like. Open your plugins folder and make sure you have it.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Gaelstrom » Thu May 06, 2010 2:31 am

All right, it looks like I have that, but I get the feeling I'm doing something wrong. How does AvsP and AVISynth work with one another because all I do is open AvsP. The dll you mentioned is in the AVISynth folder, but I have AVISynth 2.5 which I guess is from the previous AMVApp. I'm not sure really how AVISynth interacts with AvsP if at all. Would someone be willing to briefly explain what I should do to get the plugins in and working with AvsP or whatever? Should I got ahead and uninstall this version of AVISynth and install the new version or...

Sorry, don't mean to make this difficult, this type of stuff really is a blind spot for me.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: Requesting some demystification...

Postby Athena » Thu May 06, 2010 2:36 am

For the moment, put AvsP aside. Let's just make sure AviSynth is working properly. Try opening your .avs file in VirtualDub and see if it works. Then we'll go from there.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Gaelstrom » Thu May 06, 2010 3:56 am

That does seem to be working, the colorbars.avs from the guide at least. That's the only avs file I've got right now.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: Requesting some demystification...

Postby Athena » Thu May 06, 2010 4:18 am

*facepalm*

Use the .AVS file that DGIndex made. If it did NOT make one, follow Hatt's and Zarxrax's directions and create one with a path to your source .d2v. Then try that inside VDub.
Image
User avatar
Athena
I ♥ the 80's
 
Joined: 02 Mar 2001
Location: Japan
Status: Sad Girl on Mac

Re: Requesting some demystification...

Postby Gaelstrom » Thu May 06, 2010 4:23 am

Umm... I did, and above I wrote what was happening. It wasn't working. That's why I was asking what I was missing.

I'm not a stupid person, but my mind just tends to shut off with programming, even simpler stuff like this. Would you be kind enough to explain how AviSynth and AvsP are supposed to... I don't know, communicate, use one another, I don't quite know what their relationship is to one another. It's that aspect that seems to be causing a misunderstanding. DGIndex doesn't spit out a .avs file, and if it's supposed to I don't understand why it wouldn't.
ImageImageImage
User avatar
Gaelstrom
 
Joined: 10 Aug 2003
Status: Sending enemies to the next dimension

Re: Requesting some demystification...

Postby Mister Hatt » Thu May 06, 2010 4:30 am

AvsP is a standalone avisynth script editor with basic syntax highlighting capabilities. It doesn't use avisynth, and avisynth doesn't communicate with it in any way. If you have DGIndex, you should have DGDecode too, although if you installed it manually you might not have copied the dgdecode.dll file to your avs plugins folder.

Above you said you have Avisynth 2.5, there is nothing wrong with that, the latest stable version is 2.5.8, and although it might seem strange, the 2.6 alpha also uses the 2.5 plugins directory. Autoloading plugins is generally a bad idea IMO, only source plugins should really autoload, and other broken plugins in your folder could cause all kinda of issues with things they don't interact with in any way.
Mister Hatt
 
Joined: 25 Dec 2007
Status: better than you

Next

Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest