Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th June 2021, 21:34   #1  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 880
VSfilter/vobsub: avisynth version vs. Virtualdub version

.sub and .idx files can include multiple subtitle tracks. Gabest's VSfilter/Vobsub for Virtualdub is designed to let you select from among these tracks when it loads a .sub or .idx file. However, no such feature is documented for VSfilter/Vobsub for Avisynth. In addition, there are a couple of forks of VSfilter, such as Cyberbeing and pinterf's Xy-VSfilter and z0rc's VSfilterMod, but these don't seem to add the track-selection feature either. What's the deal with that?

It seems that if I want to hardsub a non-AVI file with a subtitle track other than Track 00, I first have to load everything into Virtualdub, export a losslessly compressed or uncompressed AVI file, and then load that file into some other program (like Tsunami MPEG Encoder) to get it to the format that I actually want. This wastes a lot of time and hard drive space, so alternative solutions (other than softsubs) would be appreciated.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 17th June 2021, 21:52   #2  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,146
Just use Subtitle Edit to pick the track you want and/or convert the sub. It's much easier than going lossless through virtual dub.

About the feature, I can't say, I always have .ass when I hardsub, so... you know... I don't really use it
FranceBB is offline   Reply With Quote
Old 18th June 2021, 00:55   #3  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,121
You just need to open the idx or sub (I don't remember, sorry) with Notepad. On the first lines there's a default selected track (1 by default) that you can change to have that stream as new default.
mp3dom is offline   Reply With Quote
Old 20th June 2021, 14:52   #4  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,612
Quote:
Originally Posted by mp3dom View Post
You just need to open the idx or sub (I don't remember, sorry) with Notepad. On the first lines there's a default selected track (1 by default) that you can change to have that stream as new default.
You can learn something new every day....
I had no idea it was that easy.

Mind you DVD subtitles generally don't look that great, so I usually convert them to text with Subtitle Edit first anyway, even though it can be tedious.

MeGUI's Vobsubber will also extract individual subtitle streams from idx/sub files and save them in the same format.
hello_hello is offline   Reply With Quote
Old 21st June 2021, 02:06   #5  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 880
Quote:
Originally Posted by mp3dom View Post
You just need to open the idx or sub (I don't remember, sorry) with Notepad. On the first lines there's a default selected track (1 by default) that you can change to have that stream as new default.
I thought idx/sub files were sequences of bitmaps, not text files?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 21st June 2021, 06:06   #6  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,405
Quote:
Originally Posted by Katie Boundary View Post
I thought idx/sub files were sequences of bitmaps, not text files?
The IDX is a text file you can open in Notepad.
manono is offline   Reply With Quote
Old 25th June 2021, 08:58   #7  |  Link
Katie Boundary
Registered User
 
Katie Boundary's Avatar
 
Join Date: Jan 2015
Posts: 880
Quote:
Originally Posted by manono View Post
The IDX is a text file you can open in Notepad.
Neat. And the bitmaps themselves are in the .sub file?

Which line do I alter? langidx?
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers.
Katie Boundary is offline   Reply With Quote
Old 26th June 2021, 06:21   #8  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,405
Quote:
Originally Posted by Katie Boundary View Post
And the bitmaps themselves are in the .sub file?
Yes. I don't have any VobSubs around to have a look so either follow what mp3dom said or maybe wait for him or someone else to answer your second question.
manono is offline   Reply With Quote
Old 26th June 2021, 12:22   #9  |  Link
mp3dom
Registered User
 
Join Date: Jul 2003
Location: Italy
Posts: 1,121
Yes, it's exactly the langidx line.
mp3dom is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.