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 > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2011, 23:54   #1  |  Link
kpic
Registered User
 
Join Date: Oct 2001
Posts: 101
Cannot force subtitle stream

In BDEdit 0.39b I have thought I set everything correctly to set my subtitle #1 (only sub present) to come on auto - unfortunately I am having issues making the guides I found to work.

Now in the pic it says "grp" but when I set it it was at "imm" - not sure why it does that? I have it set to "49153" which is supposed to be the first stream (my only stream). Also disregard where it is located, this was my most recent try at position #8 (I tried position #1 & 2 as well).

I tried it these ways with both a mounted image & in my stand-alone player (neither will autostart the subtitle).

The only thing I can think of is my title that I ripped has a intro & then a top menu that loads first (to choose between playing the movie directly and going into another menu with further choices) so not sure if that is hanging up the "setstream command".

http://forum.doom9.org/attachment.ph...0&d=1304203634
Attached Images
 

Last edited by kpic; 1st May 2011 at 02:09. Reason: Added pic
kpic is offline   Reply With Quote
Old 1st May 2011, 00:50   #2  |  Link
rik1138
Registered User
 
Join Date: Mar 2008
Location: LA
Posts: 621
Can't see your JPG yet (pending approval, if you can see the image, just post the exact path to the image in your message), so I'm not 100% sure how you are doing it... But, if you are setting the subtitles to 'on', and then playing a piece of video with no subtitles (intro/menu), the player will set the subtitles to 'off' (since none exist), and that's the state it will be in when the movie starts.

Try either adding a dummy subtitle stream to the Intro and Top Menu video, or executing the setstream command at the head of the feature.

(Even studio titles have this problem, they are frequently built with dummy aud/sub streams on the menu video to avoid this problem.)
rik1138 is offline   Reply With Quote
Old 1st May 2011, 02:23   #3  |  Link
kpic
Registered User
 
Join Date: Oct 2001
Posts: 101
Ok, I have provided the link. So it is not like DVD then, where you can set an overall command to the structure telling it to auto start the subtitle stream when that "title" is played? Hmm, that could be a problem then - what I should try is just the main movie and I would bet that would work ok.

There is a short video intro - then to the short video menu that gives two buttons "main movie" or " additional features" - I thought I could set that command just prior to the main title when that main movie button is set? If it does not work that way and it has to be set prior to the first intro even being played then I guess there would be no other way other than to add an empty SUP to both the intro and the menu. Although the guides I saw floating around did not specify that this could not be done to a "full" disc and a "main movie" only. BTW the disc is BD-J btw (not sure if that matters).
kpic is offline   Reply With Quote
Old 1st May 2011, 02:27   #4  |  Link
kpic
Registered User
 
Join Date: Oct 2001
Posts: 101
Sorry to add, just thought of this - on the "movieobject" side do those commands refer to groups of titles? So if I could find out where my "main movie" is (I already tried at 0001 & 0002) and set that command prior to it would it work?
kpic is offline   Reply With Quote
Old 2nd May 2011, 09:34   #5  |  Link
rik1138
Registered User
 
Join Date: Mar 2008
Location: LA
Posts: 621
If the disc BDJ, then all the subtitle commands have to be handled in the Java code itself. The Java code _is_ the title, and it plays PlayLists through programming. Any commands added at the title level are ignored once the Java is run. You can set GPRs and read those in the Java, but if you set a subtitle stream at the HDMV level, then jump to a Java title, those streams will be reset according to the programming of the Java code.

In the Java code, you can program the subtitles to come on anytime a certain PlayList is playing...
rik1138 is offline   Reply With Quote
Old 2nd May 2011, 23:25   #6  |  Link
kpic
Registered User
 
Join Date: Oct 2001
Posts: 101
Ahh, ok now that makes sense as to why it does not work. So I have BDJO files that I assume would be edited in a Hex editor but I would have no idea of what goes where or what they (BDJO) files do. I also have a JAR folder where I have looks like the menu & button structures.

Would I be editing the BDJO or the .xml files in the JAR folder? If it is the .xml files I think I found kind of what I would need;

Here is the "MainMenu.xml" in there I can see the reference to play "title1";
http://forum.doom9.org/attachment.ph...1&d=1304374927

Here is the "MainTM.xml" (this is the menu that comes up after the intro & has two buttons; a button to the "mainmenu" and a button to play "title1");
http://forum.doom9.org/attachment.ph...1&d=1304374927

Here is the "SetM.xml" this then tells me that that the subtitle streams that are set in here;
http://forum.doom9.org/attachment.ph...1&d=1304374927

So, if that would need to be done I would need to know the exact code to use (I guess something like - streamNum="1" and place that after - titleID="1") on both my main menu & title menu? If that's the case the only question I would then wonder is both audio & subtitle are referenced as "streamNum="1" how would it know that I want the "subtitle" stream1 and not the "audio" stream1?

Sorry if this is too complicated and it seems more trouble than it's worth I guess but at this point I just want to learn about it and actually see if I can make it work.
Attached Images
   
kpic is offline   Reply With Quote
Old 3rd May 2011, 00:33   #7  |  Link
rik1138
Registered User
 
Join Date: Mar 2008
Location: LA
Posts: 621
You don't want the BDJOs, there's no code in there. It'd be in the JAR folder somewhere. You might be able to edit the XMLs to do what you want, or you may have to get into the actual java programming itself (which would be in the .JAR files).

What title are you working on? I assume it's a studio title you are trying to modify? Some studio's code are easier to mess with than others...
rik1138 is offline   Reply With Quote
Old 4th May 2011, 00:34   #8  |  Link
kpic
Registered User
 
Join Date: Oct 2001
Posts: 101
Thanks rik1138 for all of your help, I've learned a lot here and one of those things is that after opening up those executable .JAR files and it seems as though it would be looking for a needle buried in there somewhere. This is a foreign disc with foreign subs, I was able to replace those subs with english subs fine but I wanted to keep all of the menus to it and prompt the subs to start on their own. In reality it seems much easier to not be so lazy and just use the remote button to turn on the subs!

Anyway I'm learning that these Blu-Rays are much different (and more difficult) to edit than DVDs.
kpic is offline   Reply With Quote
Old 4th May 2011, 02:24   #9  |  Link
rik1138
Registered User
 
Join Date: Mar 2008
Location: LA
Posts: 621
Yeah, it can definitely be tricky... There could be an XML file somewhere that declares the default state of the disc, you'd just have to look through them... I'd need to know what studio released the disc to see if it's something I know how to modify.

But, yeah, you can just surf on the subs manually...
rik1138 is offline   Reply With Quote
Old 31st January 2025, 17:48   #10  |  Link
rickwj324
Registered User
 
Join Date: Nov 2007
Posts: 21
Quote:
Originally Posted by kpic View Post
In BDEdit 0.39b I have thought I set everything correctly to set my subtitle #1 (only sub present) to come on auto - unfortunately I am having issues making the guides I found to work.

Now in the pic it says "grp" but when I set it it was at "imm" - not sure why it does that? I have it set to "49153" which is supposed to be the first stream (my only stream). Also disregard where it is located, this was my most recent try at position #8 (I tried position #1 & 2 as well).

I tried it these ways with both a mounted image & in my stand-alone player (neither will autostart the subtitle).

The only thing I can think of is my title that I ripped has a intro & then a top menu that loads first (to choose between playing the movie directly and going into another menu with further choices) so not sure if that is hanging up the "setstream command".

http://forum.doom9.org/attachment.ph...0&d=1304203634
I've managed to do this procedure you show for a couple of blu-rays and it worked fine. I'm now trying to do the same for a 4k UHD rip and can't get it to work. I'm assuming the "49153" isn't a valid option for 4k discs?! The disc I'm doing this on is the 4k UHD for PULSE. It only has 1 subtitle stream (English) and it's off by default. I also have the blu-ray of the film and this procedure worked fine for it. I just need to know how to do it for the 4k disc. Any ideas?
rickwj324 is offline   Reply With Quote
Old 31st January 2025, 23:21   #11  |  Link
ocean
Registered User
 
Join Date: Mar 2016
Posts: 156
Hi rickwj324, to force English subtitles C001:

ocean is offline   Reply With Quote
Old 1st February 2025, 18:17   #12  |  Link
rickwj324
Registered User
 
Join Date: Nov 2007
Posts: 21
Quote:
Originally Posted by ocean View Post
Hi rickwj324, to force English subtitles C001:

Thank you! I will try it later today. You guys rock!!
rickwj324 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 22:22.


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