View Full Version : VSfilter and ac3source
TEB
18th November 2003, 12:25
Hi this a newb question.
Im transcoding a DVD - > mpeg2 but i need subs perm. encoded.
I cant seem to find the syntax for vsfilter.dll. There are no readme on the sourceforge place and the homepage is down..
Can it read .sub files directly from dvddecryptor? if not what do i do?
How can i input the .ac3 files from the dvd the best possible way in avisynth? Use ac3source? or the new audio support in 2.53? (ive got windvd installed=ac3 decode)
i hope any can help
best regards teb
edit: i think i found it:
v = Mpeg2Source("e:\movie.d2v")
a = DirectShowSource("e:\Temp\Test2\test.ac3")
AudioDub(v,a)
#If they are in idx/sub format then you can just do
#LoadPlugin("path\to\vsfilter.dll")
#VobSub("path\to\subtitle")
Wilbert
18th November 2003, 13:40
1) You have to convert the subtitles to ssa and import it with Textsub (from the same vobsub plugin).
2) Don't use AC3source, it downmixes incorrectly.
3) If you want to downmix the ac3, have a look at http://www.avisynth.org/index.php?page=DirectShowSource (Of course, you can also use Besweet for this.)
TEB
18th November 2003, 13:49
ok thx..
ac3 works
but how can i convert .sub to .ssa? And i thought vsfilter supported .subs directly ??
My workflow is Dvddecryptor -> .sub -> vobsub(x:\subtiles.sub)
doesnt work it says..
Yuuhi
18th November 2003, 17:35
Originally posted by TEB
My workflow is Dvddecryptor -> .sub -> vobsub(x:\subtiles.sub)
doesnt work it says..
I didn't remember all the format supported by VSFilter but use the textsub(sub_path) command to add the subs in your script
Wilbert
18th November 2003, 18:10
You need to install vobsub 2.23 (or whatever the latest version is). With one of the components of vobsub you can convert sub to ssa.
TEB
18th November 2003, 22:08
The problem is that i added vobsub 2.23 first and i copied the 2.30 vsfilter.dll directly into the avisynth plugin dir, referred to it in the script and so on...
Doesnt like the .sub files that dvddecryptor produces..
Wilbert
19th November 2003, 10:54
http://forum.doom9.org/showthread.php?s=&threadid=64645
Prettz
20th November 2003, 02:15
I might be wrong but I think he wants to use the subs from a DVD and not text-based subs. If that's the case, then what you want to do is use VobSub's configure utility to create a VobSub-compatible .sub and .idx file from the DVD's files, then add this to your script:
LoadPlugin("C:\Program Files\Avisynth 2.5\plugins\vsfilter.dll")
VobSub("C:\Metropolis\subs\vts_01_0.sub")
If this isn't what he meant then excuse me :)
TEB
20th November 2003, 09:07
yupp what i meant!
problem is that i cant get vobsub to read any of the stuff dvddecrypter outputs so that i again can convert it to something vsfilter eats...
Anyone that can give me a description on how to do it? workflow?
best teb
Caspar
20th November 2003, 10:16
http://www.doom9.org/dvobsub.htm
Leak
20th November 2003, 19:18
Originally posted by TEB
Anyone that can give me a description on how to do it? workflow?
Well, I just tell DVD decrypter to demux the audio and video but leave the subtitles in the VOB (via Direct Stream copy), then I rip them from what little remains of the VOB using VobSub's configure dialog (okay, I actually scripted all this, but it works the same way).
np: Stewart Walker - Slowness (Stabiles)
TEB
20th November 2003, 22:17
thx, yea i found out i could do this today also... i skipped subripper alltogether and used the configure thingy in vobsub.. it sorta worked for some titles... but but as i was testing later on today,vobsu wouldnt find our language even if it was on the dvd... if found norwegian in the ifo parsing but after u click ok, it was gone, and avisynth never displayed any subs on the screen... so i gave up :)....
best teb
Prettz
21st November 2003, 01:03
Originally posted by TEB
thx, yea i found out i could do this today also... i skipped subripper alltogether and used the configure thingy in vobsub.. it sorta worked for some titles... but but as i was testing later on today,vobsu wouldnt find our language even if it was on the dvd... if found norwegian in the ifo parsing but after u click ok, it was gone, and avisynth never displayed any subs on the screen... so i gave up :)....
best teb
Going the subripper route is completely and totally different from using VobSub with a .sub file. Subripper uses OCR to turn the subtitles into a text script, while VobSub simply pastes the subtitle pictures over your video.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.