digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   virtualdub/avisynth - how do I get an idx file? (http://www.digitalfaq.com/archives/encode/7837-virtualdub-avisynth-how.html)

andybno1 01-21-2004 07:20 PM

virtualdub/avisynth - how do I get an idx file?
 
well I'm back again still ahvin probs with LOTR encode.

my script:
Code:

###Ver. November 21, 2003 @07:45 GMT ###
##DLL Section ##
#
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\asharp.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\unfilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\undot.dll")

#
####
##Main section and static filters ###
#
Mpeg2Source("D:\LOTR_SEE_D1\LOTR-FOTR.d2v")
#
undot()
Limiter()
asharp(2.5,4)
GripCrop(720, 576)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

##Linear Motion Adaptive Filtering ##
#
#( Portions from AviSynth's manual )
#This will apply variable temporalsoften
#and variable blur.
#Both filters are active at all times, and work inversely proportional to the
#activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100))).TemporalSoften( fmin( round(2/nf), 6), round(1/nf), round(3/nf), 1, 1) ")

#
#
#
VobSub("D:\LOTR_SEE_D1\VIDEO_TS\vts_01_0.idx")
GripBorders()
#LetterBox( Your_Values_Here )#Depends on situation. Use MovieStacker!
Limiter()

#
#
##Functions ###

function fmin( int f1, int f2){
  return ( f1<f2 )? f1 : f2
}
ConverttoRGB24()

#
####

I ran this in vdub to preview it and well got this
http://www.digitalfaq.com/archives/error.gif

how do I get an idx file??

rds_correia 01-21-2004 07:33 PM

Hi Andy,
I believe you cannot use the file's extension with VobSub.
Try it without extension like: Vobsub("D:\....\vts_01_1")
Cheers

Dialhot 01-21-2004 07:34 PM

I do not see any loadplugin line for "VSFilter.dll" (the vobsub plugin). Where did you put this plugin on your disc ? Did you put it in avisynth plugin directory ?
If yes, why don't you put ALL other dll in that directory and remove these ugly loadplugin lines ?

If not : you must add that line !

note :
Code:

asharp(2.5,4)
2.5 ? It's very big. No ?
Your CQ will suffer I fear.

Dialhot 01-21-2004 07:35 PM

Quote:

Originally Posted by rds_correia
Hi Andy,
I believe you cannot use the file's extension with VobSub.
Try it without extension like: Vobsub("D:\....\vts_01_1")
Cheers

No, you can use either .idx or .sub

rds_correia 01-21-2004 07:44 PM

Hmm,
Seams like I haven't been using hardcoded subs for a while now :oops: ...
I completely agree with your post on the VSFilter.dll, Phil.
C ya

andybno1 01-22-2004 02:49 AM

I had a look for VSFilter.dll and can't seem to find the dll file, I've just found it on the net and bung it in the plugin folder to save on the loadplugin lines.

Thanx

andybno1 01-22-2004 02:58 AM

dll was put in the plugin folder and everythin is the same in script, I put it in vdub and vdub closed straight away after openin the sctript so I loaded it in tmpgenc and got "The application has failed to start because vsub32.dll was not found please re-install the program" wel I;ve done this still gettin that msg and I've done a search for vsub32.dll on the net and nothin came up.

Dialhot 01-22-2004 04:19 AM

I didn't know because I have it already installed on my PC but it's possible that the avisynth plugin VSFilter rely on the installation on Vobsub 2.23 !

Go DL and install it (see at doom9.org).

andybno1 01-22-2004 01:37 PM

well this is really annoyin, I think this will be my first and last go with subs I think :lol: I've downloaded and installed vobsub 2.23 and I'm still gettin the same dll error. I also got a msg in tmpgenc video preview window sayin "Script Error. Expected a , or ) (C:\LOTR-FOTR-D1.avs, Line 32, Column 9)"

rds_correia 01-22-2004 02:56 PM

Quote:

Originally Posted by Dialhot
I didn't know because I have it already installed on my PC but it's possible that the avisynth plugin VSFilter rely on the installation on Vobsub 2.23 !

Go DL and install it (see at doom9.org).

I'm affraid I've never had VobSub 2.23 installed on my PC and still can use the VSFilter.dll.
Here is what I use:
VobSub Ripper http://prdownloads.sourceforge.net/g...0.zip?download to Rip the subs from your VOBs.
VobSub Filter http://prdownloads.sourceforge.net/g...8.zip?download to use with Avisynth 2.5x.
Have a go with the original VobSub 2.23 package or with these, Andy.
EDIT: Also be carefull enough of removing any vsub23.dll you may have on your avisynth\plugins directory because I believe that is a 2.0x plugin and you are running avisynth 2.5x, ok?
C ya

andybno1 01-22-2004 03:04 PM

I have the vsfilter.dll file already so I'll get the vsrip too see if that helps but I already ripped the subs from the vob file with subrip to a .sub file.

rds_correia 01-22-2004 03:16 PM

Re: I just don't seem to be gettin anywere
 
Quote:

Originally Posted by andybno1
I ran this in vdub to preview it and well got this
http://www.digitalfaq.com/archives/error.gif

how do I get an idx file??

Man,
Now I got it :idea: :!:
You have the wrong kind of sub :!:
You have to use VobSub Configure to rip the subs or use VSRip as I told you on previous email.
Maybe VSRip is more straight forward that vobsub configure because noon ever seems to find the right button as in CQMatic noone seems to find Save TMPG project text.tpr or something.
Keep me updated if you don't make it.
C ya

andybno1 01-22-2004 03:25 PM

well I downloaded the vsrip I said where to save the idx file but after it done whatever it does there was no idx file but a .chunk file appeared.

rds_correia 01-22-2004 03:32 PM

What do u mean? A file with an extension *.chunck?
That's just crazy :!:
You should have an *.idx and a big *.sub file.
Friend, uninstall vobsub and VSRip, restart ur PC, check to see if old vobsub's folder is
still in c:\program files\vobsub, if so erase it.
Reinstall VSRip and try it again. If u still only get a chunck file try it with a different movie.
Keep me updated.
Cheers

andybno1 01-22-2004 03:44 PM

well done that uninstalled restarted ran vsrip, didn;t work tried it with different vobs same thing happend its just not producin the idx file.

Dialhot 01-22-2004 03:45 PM

And with vobsub configure ?

andybno1 01-22-2004 03:48 PM

u have to configure vsrip for vobsub? how do I do that

rds_correia 01-22-2004 03:52 PM

Andy,
You loaded the IFO file that comes with the VOBs when u rip the movie, right?
By then u choose the file location where VSRip will put your idx/sub files, right?
Now do you see some problem on the panel below or it just says it parsed it right?
From this point forward u only check or uncheck a language because everything is already for you to start ripping the subs.
And let me tell u it takes a good while in my PC.
Are u proceding this way?
Because it never failed me yet...
Cheers

andybno1 01-22-2004 03:56 PM

well I'm confused its now creatin idx files oh well never mind I shall carrty on now (hopefully) lol

rds_correia 01-22-2004 03:57 PM

No.
Wait a minute: either u use vobsub configure from vobsub 2.23 package or u use VSRip that I showed you where to look for.
Keep with VSRip because it's more updated than vobsub 2.23!
Now I also get a .chunk file if I look at VSRip panel below the progression bar.
But when I go to the output directory I now have an idx and an sub files.
How about u?

rds_correia 01-22-2004 03:58 PM

Looking at your latest post I see you are on the right path.
I was just too quick after your previous post :cry:

rds_correia 01-22-2004 03:59 PM

How about VDub and TMPGEnc???
Still the same old "Line 41 Col 9" problem?
C ya

andybno1 01-22-2004 04:00 PM

ur alright, ur just doin ur best to help me which I appreciate alot, but anyway I've got me idx file now and when I load the script into tmpgenc I still get vsub32.dll error. and I still get that line 32 colum 9 error but that I think is down to the vsub32.dll prob.

rds_correia 01-22-2004 04:01 PM

Andy post your current script.
Either something wrong with it or you still have vsub32.dll in your plugins directory.
C ya

rds_correia 01-22-2004 04:04 PM

Geez
My wife is calling me for dinner for about 15min now.
I better go and I'll be back in 30min.
C ya

andybno1 01-22-2004 04:04 PM

Code:

###Ver. November 21, 2003 @07:45 GMT ###
#
####
##Main section and static filters ###
#
Mpeg2Source("D:\LOTR_SEE_D1\LOTR-FOTR.d2v")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(720, 576)
GripSize(resizer="BicubicResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
#
#

##Linear Motion Adaptive Filtering ##
#
#( Portions from AviSynth's manual )
#This will apply variable temporalsoften
#and variable blur.
#Both filters are active at all times, and work inversely proportional to the
#activity, measured from current frame to next frame.

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100))).TemporalSoften( fmin( round(2/nf), 6), round(1/nf), round(3/nf), 1, 1) ")

#
#
#

vobsub(D:\LOTR_SEE_D1\VIDEO_TS\lotr-fotr-d1.idx)
Code:

GripBorders()
#LetterBox( Your_Values_Here )#Depends on situation. Use MovieStacker!
Limiter()

#
#
##Functions ###

function fmin( int f1, int f2){
  return ( f1<f2 )? f1 : f2
}
ConverttoRGB24()

#
####

the bold line is where its saying "Script Error: expected a , or ) (C:\LOTR-FOTR-D1.avs), line 32, colum 9"

rds_correia 01-22-2004 04:38 PM

Hi,
I'm back from dinner :P
Code:

...
vobsub(D:\LOTR_SEE_D1\VIDEO_TS\lotr-fotr-d1.idx)
...

It should be vobsub("D:\LOTR_SEE_D1\VIDEO_TS\lotr-fotr-d1")
You missed the " signs on the begining and end of the path and you can drop the .idx at the end of it.

Code:

...
ConverttoRGB24()
...

Do you really need this one?? You should be ok without it although it has nothing to do with your sub problem.

andybno1 01-22-2004 05:03 PM

well I put in the "s and took .idx out it still sayin about vsub32.dll and now tempgenc closes.

rds_correia 01-22-2004 05:12 PM

Man, ur computer is making me very angry. :evil:
Just be sure to advise it that I'm not in the mood to travel to the uk today!
Although I'll be going there next month for training during a week or so! :twisted:
Then if it doesn't cooperate he will be sorry soon :twisted:
Ok just search your harddisks for vsub32.dll
Make sure to erase them all from existance :arrow: check if it still shows u the same message.
I'll be waiting till u sort it out.
Cheers

Dialhot 01-22-2004 05:14 PM

:idea: are you under other thing than winXP ?

rds_correia 01-22-2004 05:21 PM

:?: :?: :?:

Dialhot 01-22-2004 05:39 PM

I am under winXP and I have no trace of vsub32.dll on my PC. So I wonder if this DLL is for an other OS than XP. In this case that can explain that I do not find it (and I have to say than vsfilter works perfectly on my PC).

If you are under winXP, you can rename this dll to other thing, and try without it.

andybno1 01-22-2004 05:44 PM

rds: me compy read what ya said :lol: and well its now scared of u comin over here.

Dialhot: I only have WinXP installed in this computer.

ok now its all working fine (guess ur talk done something to me compy vds :lol:) just now it says in the video preview window "Vobsub: Can't Open "D:\LOTR_SEE_D1\VIDEO_TS\lotr-fotr-d1" (C:\LOTR-FOTR-D1.avs, Line 32)

excuse me while I just let out some anger :lol:

FFS GDMFPOSTCFT of a prog :lol: if u can make sense of that then u have too much time on ya hands :lol:

right sorted the vsub32.dll error out copied vsfilter renamed it and bunged it in system32 folder but its still sayin it can't open the idx file.

rds_correia 01-22-2004 06:06 PM

Oh man...
Put back the .idx thing on your vobsub line...
should look like: vobsub("D:\LOTR_SEE_D1\VIDEO_TS\lotr-fotr-d1.idx")
Besides this I have no idea as to why u cannot open the subs...
You know I live in a country where we have no tradition on translating the movies audio to Portuguese.
We just sub them.
I've done more than a dozen movies to KVCD using this software and the method
I have been telling u to follow.
Never had a problem besides the 1st or 2nd time I tried it maybe.
So far what I can ask is: are u aiming for KDVD on this movie?
If so why hardencode the subs :?:
Take tmpgenc to compress the video in 704x576 and encode the audio to MP2 CBR 192 or maybe 224.
Or maybe leave it as AC3 xxxKbits.
Download IfoEdit, VobEdit and ImgTool Classic in doom9.org.
With VobEdit extract the subs to SUP format.
With IfoEdit author ur KDVD with the MPEG2 video and audio plus the SUP subs.
Load the authored/compressed new VOB files in ImgTool and burn it to DVD.
Watch it nice and cosy by the fire with your family.
Cheers

andybno1 01-23-2004 02:49 AM

right then so u suggest I just go ahead and encode the audio and video then mux them to gether and then run the output through ifo and mux subs to the mpg?

if thats trhe case I'll need help when I come to doin the subs bit.

andybno1 01-23-2004 03:06 AM

well I extracted the subs, I know have 6 sup files and I'm after the subs u see in LOTR where there is elvish talk would it be the smallest sized sup file?

Dialhot 01-23-2004 04:06 AM

There is no way to know that except to run the DVD in a player on your PC and go in the subtitle menu of the player. All the subtitles in the menu are in the same order than there are in the vob. Select them one by one and if the good one is for instance the 4th one, then the subtitle you need will be the 4th one also (probably numbered #23 as the first subtitle stream is generally #20).

You can also open the subtitle one by one under subrip and start to convert them into text. You will see quickly if the lines that are generated correspond to what you want.

Note: chance a big tht you need the smallest subtitle file because all other one should be the audio commentary done by actors and tech. But that's not sure. So you must test it.

andybno1 01-23-2004 12:33 PM

all I can say to you two is thank you soooo much together u both helped me come to some way of sortin this problem out. So at mo I got part two encodin to m2v disc 1 is a total of 1.34gb with original ac3 file :D just waitin for disc 2 to finish encodin to the m2v file.

andybno1 01-23-2004 02:40 PM

well I done a mux of the audio and video for disc 1 and the picture was squashed into the centre of the picture, I found out I had it set to full screen (keep aspect ratio) anyway I'm gonna be re-encodin the video so its not squashed but in the mean time how do I add my sup file to the movie via IFOedit?

rds_correia 01-23-2004 03:02 PM

Hi Andy,
Did you start your IfoEdit already?
You don't use BBMpeg to mux KDVD. You use IfoEdit 8)
Ok, just go down the menu to "DVD Author" > "Author new DVD".
A new windows will open up "DVD Author / Multiplex".
On the right margin of the new window you will see some small square button with a minus sign inside.
Each of these buttons relates to "Video", "Audio", "Subpicture", "Scene change/Chapter"
and "Output stream destination" as you can see on the left margin of the window.
This should be very straight forward. You don't need to specify any "Scene change/Chapter" for
your movie but you can if you want.
That's the part I can't help you because I don't use it and I don't know how to do it.
You will, though, find lots of help on the doom9.org forum.
Now for the tricky part: after you select your movie files you can see their path on the
"DVD Author / Multiplex" window. Click on the AC3/MP2 path and you can select it's language
using the combo box on the left.
Do the same for your Subpicture path and be careful as there are 2 combo boxes on the left.
The 1st is for Audio and the 2nd for subpictures.
Be a sports and tell us your results :D
C ya


All times are GMT -5. The time now is 02:39 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.