View Full Version : Problem with muxman and subpictures
tigrilito
27th March 2005, 19:36
Hi,
I want to modify a still menu and am running into a problem.
After extracting the background (simple screen shot) and audio (pgcdemux) I used subrip to extract the subpicture to BMP and saved the .sst file.
First problem is that if the Directory name in the .sst contains spaces then muxman is unable to find the .bmp files. This is not a big deal as I can just use a name without spaces ;-) Much more annoying is that when I mux the background BMP, ac3 audio and .sst file all back together the final VOB does not contain the subpictures. They do not display in media player and when I run subrip on the VOB it does not find them either.
Any ideas what I did wrong ? Or maybe someone can point me to a guide explaining how to modify a still menu including changing subpics.
TIA.
buzzqw
27th March 2005, 20:01
i got the same problem
watch here
http://forum.doom9.org/showthread.php?s=&postid=630417#post630417
and here
http://forum.doom9.org/showthread.php?s=&postid=630804#post630804
you must edit in your sst file this section (or similar)
PA (0 0 255 === )
E1 (255 0 0 === )
E2 (0 0 0 === )
BG (255 255 255 === )
and change === to = = =
look at space between =
I hope for a solution from D3s7 and a workaround from MpuCoder !
BHH
buzzqw
27th March 2005, 21:02
D3s7 had worked to resolve the bug
http://forum.doom9.org/showthread.php?s=&postid=630851#post630851
BHH
mpucoder
27th March 2005, 21:29
I had just enough time to fix the directory path to use the rest of the line (same as file names) before starting the final tests for 0.13
So spaces in the Directory path will work with 0.13, to be released Monday
mpucoder
27th March 2005, 21:52
I just noticed that tigrilito said he used SubRip - in that case see the note in the readme file that comes with Muxman. SubRip has a number of errors in the sst file, but they can be corrected if you add the proper "generator" statement to the sst file.
Big thanks to D3s7, now there's at least one syntactically correct sst generator.
D3s7
27th March 2005, 23:31
seems to me there was something else that needed fixing too but i can't find my notes on what
tigrilito
28th March 2005, 03:47
Thanks all for the hints.
I saw the Muxman readme file and added the Generator line.
Also added the spaces as buzzqw said but still no joy....
This is my sst file :
st_format 2
Generator SubRip1.17.1 10970
Display_Start non_forced
TV_Type NTSC
Tape_Type DROP
Pixel_Area (0 477)
Display_Area (0 2 719 479)
E2 (255 0 0 = = =)
E1 (0 0 0 = = =)
PA (0 0 255 = = =)
BG (255 255 255 = = =)
Directory G:\Name_Of_The_Rose\2
#
# Palette entries:
#
# 01 : RGB(250,255, 35)
# 02 : RGB(255,255,255)
# 03 : RGB(130,130,130)
# 04 : RGB(130,130,130)
# 05 : RGB(130,130,130)
# 06 : RGB(130,130,130)
# 07 : RGB(130,130,130)
# 08 : RGB(130,130,130)
# 09 : RGB(130,130,130)
# 10 : RGB(130,130,130)
# 11 : RGB(130,130,130)
# 12 : RGB(130,130,130)
# 13 : RGB(130,130,130)
# 14 : RGB(130,130,130)
# 15 : RGB(130,130,130)
# 16 : RGB(130,130,130)
#
#########################################################
SP_NUMBER START END FILE_NAME
Color (1 1 1 1)
Contrast (0 0 0 0)
1 00:00:00:04 00:00:02:19 nor.1.bmp
and the muxman log :
MuxMan version 0.12e
Accepted image G:\Name_Of_The_Rose\2\nor_main2.bmp
Accepted audio G:\Name_Of_The_Rose\2\AudioFile_80.ac3
Opened sub 1 file G:\Name_Of_The_Rose\2\nor.sst.
21:18:00 Begin multiplex.
Maximum audio duration 1798 fields.
new graphics buffer size 414720.
21:18:00 starting video file number 1.
graphics buffer size 1244160.
SeqEnd at 1D835.
Bytes remaining in buffer = 0.
21:18:00 End multiplex.
Bitrate - avg: 261081, min: 196411 (lba 192), max: 2160527 (lba 0).
Shortest GOP has 2 fields, longest GOP has 2 fields.
Fields: 1798, Still fields: 1796, VOBU: 59, Sectors: 478.
When I use the generated VTS_01_1.VOB with DVDRemake to replace the cell in the original menu none of the buttons are highlighted.
I do not insist in using SubRip ;-), I'd even use the .sup files produced by pgcdemux if I only knew how to edit them (btw pgcdemux gives me 2 .sup files while SubRip only produces one bmp is that normal ?)
mpucoder
28th March 2005, 04:08
If you use SubRip do not edit the file other than to add the generator statement. Editing the file just makes it impossible for Muxman to undo the syntax errors, since there is now a different syntax.
As for the rest of it, I've never used DVDReMake, so I'm not sure which program is expected to put the highlight information in. Muxman does not do highlight information yet.
tigrilito
28th March 2005, 16:23
Oh I did that as well but it did not make a difference.
What's the highlight information you mention ? I thought the subpictures and the color scheme do that...
I have the feeling that I'm missing an important piece of the puzzle. Maybe it would be easier if I just ask the question which all started it : once I changed a menu background and moved buttons around how do I edit the subpicture info to get the highlights to appear in the correct place ?
Possibly using SubRip is not the best method...
D3s7
28th March 2005, 16:25
highlight info for Buttons is in the NAV packets in the VOB files.
The subpackets in reality have no knowledge that they are suppose to be Buttons.
Speaking of which
MPUCoder: I added into vsrip the creation of a .bov / .bdx file that matches the NAV packets w/ type 1 or 2 highlight information. It's a raw extraction of the NAV packet much like the .sub/.idx info is for sub packets.
I would be happy to work with you and come up w/ a common format much like the .sst which could be used for highlight/button creation when you reach that stage (Zeul and myself use these files to extract BoV information for NuMenu and Scenaid) and could be added as a format conversion to vsconv
mpucoder
28th March 2005, 16:34
@D3s7 - I'll start a new thread for this.
@tigrilito - there are 2 layers in addition to the background video. The subpicture provides the graphic information for buttons in their unpressed state, while highlight information tells the player where the buttons are, what command to execute when pressed, what colors to use for selected and pressed, etc. If you move buttons you have to change both. But there are programs which can do most of this, I'm just not familiar with them (too much into developing Muxman)
tigrilito
28th March 2005, 20:30
Ok, I follow you now.
I have no problems with the highlight information, I can do this in pgcedit and it works fine. Since SubRip produces a BMP for the subpicture it's also fairly easy to change this information. The only trouble I have is to get the changed subpicture layer back into the VOB, is Muxman supposed to be able to do this or does it currently only support 'normal' subtitles ?
I probably could use a full blown authoring tool to change the menu but it looked like an overkill when all I need is to write back this one BMP. I'll start a new thread to see if anybody has an easy way to do this.
Thanks for all the info you and D3s7 provided.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.