PDA

View Full Version : Muxman 0.15 woes :(


Matthew
3rd February 2006, 00:18
I'm experiencing some weird results.

For a mxp which contains 3 VTSs + a title menu (no root menus), if I include no subs in any of the VTSs I get this error:

SPU error, H:\MUXTEXT\menu\subpic_ffffff_0000ff_000000_info.bmp, encoded line exceeds 1440 bits.
SPU error, H:\MUXTEXT\menu\subpic_ffffff_0000ff_000000_info.bmp, encoded line exceeds 1440 bits.

If I do include a subtitle stream in VTS01, the project muxes without error - and the menu is okay, but it stalls during playback of a VTS, and the Philips verification tool reports a lot of errors (and the video is only 5 seconds) on the VTS vobs.

Resaving the script in MuxMan does not help.

Here is the script that does mux without error, but badly:

Section=Settings
{
Destination Folder=E:\DVD\VIDEO_TS
Item=Palette
{
Name=MenuPalette
Color 0=0, 0, 255
Color 1=255, 0, 0
Color 2=0, 0, 0
Color 3=255, 255, 255
Color 4=0, 255, 0
Color 5=255, 0, 255
Color 6=255, 255, 0
Color 7=0, 125, 125
Color 8=125, 125, 125
Color 9=225, 225, 225
Color 10=125, 0, 0
Color 11=0, 125, 0
Color 12=0, 0, 125
Color 13=222, 0, 255
Color 14=222, 125, 0
Color 15=125, 0, 125
}
Item=Palette
{
Name=VTS01Palette
Color 0=0, 0, 255
Color 1=255, 0, 0
Color 2=0, 0, 0
Color 3=255, 255, 255
Color 4=0, 255, 0
Color 5=255, 0, 255
Color 6=255, 255, 0
Color 7=0, 125, 125
Color 8=125, 125, 125
Color 9=225, 225, 225
Color 10=125, 0, 0
Color 11=0, 125, 0
Color 12=0, 0, 125
Color 13=222, 0, 255
Color 14=222, 125, 0
Color 15=125, 0, 125
}
Item=Palette
{
Name=VTS02Palette
Color 0=0, 0, 0
Color 1=0, 0, 0
Color 2=0, 0, 0
Color 3=0, 0, 0
Color 4=0, 0, 0
Color 5=0, 0, 0
Color 6=0, 0, 0
Color 7=0, 0, 0
Color 8=0, 0, 0
Color 9=0, 0, 0
Color 10=0, 0, 0
Color 11=0, 0, 0
Color 12=0, 0, 0
Color 13=0, 0, 0
Color 14=0, 0, 0
Color 15=0, 0, 0
}
Item=Palette
{
Name=VTS03Palette
Color 0=255, 255, 255
Color 1=255, 255, 255
Color 2=255, 255, 255
Color 3=255, 255, 255
Color 4=255, 255, 255
Color 5=255, 255, 255
Color 6=255, 255, 255
Color 7=255, 255, 255
Color 8=255, 255, 255
Color 9=255, 255, 255
Color 10=255, 255, 255
Color 11=255, 255, 255
Color 12=255, 255, 255
Color 13=255, 255, 255
Color 14=255, 255, 255
Color 15=255, 255, 255
}
}
Section=Content
{
Item=Segment
{
Name=Segment_VTS01_TIT01
Display Mode=Only Letterbox
Item=Video Stream
{
Coding Mode=Mpeg-2
Standard=PAL
CC Field 1=No
CC Field 2=No
Item=Video Play
{
File=H:\MUXTEXT\VTS01_TIT01\P_OL_info.m2v
Duration=Actual
}
}
Item=Audio Stream
{
Stream Number=1
Language=en
Language Extension=1
Delay=0
Item=Audio Play
{
File=H:\MUXTEXT\VTS01_TIT01\TRA01_en_0_info.ac3
}
}
Item=Sub-Picture Stream
{
Stream Number=1
Language=da
Language Extension=1
Display Mode=Wide/Letter
File=H:\MUXTEXT\VTS01_TIT01\TRA01_da_xWL_0_junk.sup
}
Item=Scene List
{
Item=Scene
{
Name=Segment_VTS01_TIT01_scn1
Scene Time=00:00:00:00
Uop=00000000
}
}
}
Item=Segment
{
Name=Segment_VTS02_TIT01
Display Mode=Only Letterbox
Item=Video Stream
{
Coding Mode=Mpeg-2
Standard=PAL
CC Field 1=No
CC Field 2=No
Item=Video Play
{
File=H:\MUXTEXT\VTS02_TIT01\P_OL_info.m2v
Duration=Actual
}
}
Item=Audio Stream
{
Stream Number=1
Language=en
Language Extension=1
Delay=0
Item=Audio Play
{
File=H:\MUXTEXT\VTS02_TIT01\TRA01_en_0_info.ac3
}
}
Item=Scene List
{
Item=Scene
{
Name=Segment_VTS02_TIT01_scn1
Scene Time=00:00:00:00
Uop=00000000
}
}
}
Item=Segment
{
Name=Segment_VTS03_TIT01
Display Mode=Only Letterbox
Item=Video Stream
{
Coding Mode=Mpeg-2
Standard=PAL
CC Field 1=No
CC Field 2=No
Item=Video Play
{
File=H:\MUXTEXT\VTS03_TIT01\P_OL_info.m2v
Duration=Actual
}
}
Item=Audio Stream
{
Stream Number=1
Language=en
Language Extension=1
Delay=0
Item=Audio Play
{
File=H:\MUXTEXT\VTS03_TIT01\TRA01_en_0_info.ac3
}
}
Item=Scene List
{
Item=Scene
{
Name=Segment_VTS03_TIT01_scn1
Scene Time=00:00:00:00
Uop=00000000
}
}
}
Item=Segment
{
Name=Segment_Menu
Display Mode=4:3
Item=Video Stream
{
Coding Mode=Mpeg-2
Standard=PAL
CC Field 1=No
CC Field 2=No
Item=Video Play
{
File=H:\MUXTEXT\menu\menu_43_en_info.bmp
Duration=00:00:00:01
}
}
Item=Sub-Picture Stream
{
Stream Number=1
Language=en
Language Extension=1
Display Mode=Letter
Item=Sub-Picture Play
{
File=H:\MUXTEXT\menu\subpic_ffffff_0000ff_000000_info.bmp
Start=00:00:00:00 (0)
Forced Start=Yes
Time Code=PAL
Duration=00:00:00:00
Origin=0,0
Display Area=0,0,720,576
Color 1(Pa)=ffffff = = =
Color 2(E1)=0000ff = = =
Color 3(E2)=000000 = = =
Color=1 2 3 4
Contr=0 0 0 0
}
}
Item=Highlight Stream
{
Item=Highlight Play
{
Start=00:00:00:00
Duration=00:00:00:01
Select End Time=00:00:00:00
Button Mode 1=Normal
Button Mode 2=Normal
Button Mode 3=Normal
Offset=0
Numeric Selected Buttons=2
Forced Selected Button=Button1
Forced Activated Button=Nonexistent
Item=Button Color 1
{
Selection Color=1 2 3 4
Selection Contr=15 15 15 0
Action Color=1 2 3 4
Action Contr=15 15 15 0
}
Item=Button Color 2
{
Selection Color=1 2 3 4
Selection Contr=15 15 15 0
Action Color=1 2 3 4
Action Contr=15 15 15 0
}
Item=Button Color 3
{
Selection Color=1 2 3 4
Selection Contr=15 15 15 0
Action Color=1 2 3 4
Action Contr=15 15 15 0
}
Item=Button
{
Name=Button1
Color Index=1
Auto Action Mode=No
Area 1=200, 40, 520, 80
Left Button=Button1
Right Button=Button1
Up Button=Button1
Down Button=Button2
}
Item=Button
{
Name=Button2
Color Index=1
Auto Action Mode=No
Area 1=200, 100, 520, 300
Left Button=Button2
Right Button=Button2
Up Button=Button1
Down Button=Button3
}
Item=Button
{
Name=Button3
Color Index=1
Auto Action Mode=No
Area 1=200, 350, 520, 450
Left Button=Button3
Right Button=Button3
Up Button=Button2
Down Button=Button3
}

}
}
Item=Scene List
{
Item=Scene
{
Name=Segment_Menu_scn1
Scene Time=00:00:00:00
Uop=00000000
}
}
}
}
Section=Navigation
{
Item=First PGC
{
Name=FP
Menu ID=No Menu
Uop=00000000
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=MenuPalette
Item=Pre Commands
{
JumpSS TitleMenu
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
}
}
Item=VMG
{
Item=Language
{
Name=Unspecified_0
Language=unspecified
Item=PGC
{
Name=Unspecified_title
Menu ID=Title Menu
Uop=00000000
Next PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=MenuPalette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
Item=Program
{
Name=MENU_PG1
Item=Cell
{
Name=MENU_cell1
Linked Scene=Segment_Menu_scn1
Item=Menu
{
JumpTT VTS01_TIT01
JumpTT VTS02_TIT01
JumpTT VTS03_TIT01
}
Command=
Cell Still Time=255
Access Restriction Flag=Permitted
}
}
}
}
}
}
Item=VTS01
{
Item=Language
{
Name=VMG_PGC1
Language=unspecified
Item=PGC
{
Name=Unspecified_root
Menu ID=Root Menu
Uop=00000000
Next PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS01Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
}
}
}
Item=Title
{
Name=VTS01_TIT01
Uop=0
Item=PGC
{
Name=VTS01_TIT01_PGC1
Menu ID=Title Entry
Uop=00000000
Next PGC=
Prev PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS01Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
Item=Program
{
Name=VTS01_TIT01_PG1
Item=Cell
{
Name=VTS01_TIT01_cell1
Linked Scene=Segment_VTS01_TIT01_scn1
Command=
Cell Still Time=0
Access Restriction Flag=Permitted
}
}
}
}
Item=Part Of Title List
{
Item=VTS01_TIT01_PG1
}
}
}
Item=VTS02
{
Item=Language
{
Name=VMG_PGC1
Language=unspecified
Item=PGC
{
Name=Unspecified_root
Menu ID=Root Menu
Uop=00000000
Next PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS02Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
}
}
}
Item=Title
{
Name=VTS02_TIT01
Uop=0
Item=PGC
{
Name=VTS02_TIT01_PGC1
Menu ID=Title Entry
Uop=00000000
Next PGC=
Prev PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS02Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
Item=Program
{
Name=VTS02_TIT01_PG1
Item=Cell
{
Name=VTS02_TIT01_cell1
Linked Scene=Segment_VTS02_TIT01_scn1
Command=
Cell Still Time=0
Access Restriction Flag=Permitted
}
}
}
}
Item=Part Of Title List
{
Item=VTS02_TIT01_PG1
}
}
}
Item=VTS03
{
Item=Language
{
Name=VMG_PGC1
Language=unspecified
Item=PGC
{
Name=Unspecified_root
Menu ID=Root Menu
Uop=00000000
Next PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS03Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
}
}
}
Item=Title
{
Name=VTS03_TIT01
Uop=0
Item=PGC
{
Name=VTS03_TIT01_PGC1
Menu ID=Title Entry
Uop=00000000
Next PGC=
Prev PGC=
GoUp PGC=
PG Playback Mode=Sequential Playback
Repeat Times=0
PGC Still Time=0
Palette=VTS03Palette
Item=Pre Commands
{
}
Item=Post Commands
{
}
Item=Cell Commands
{
}
Item=Program List
{
Item=Program
{
Name=VTS03_TIT01_PG1
Item=Cell
{
Name=VTS03_TIT01_cell1
Linked Scene=Segment_VTS03_TIT01_scn1
Command=
Cell Still Time=0
Access Restriction Flag=Permitted
}
}
}
}
Item=Part Of Title List
{
Item=VTS03_TIT01_PG1
}
}
}
}


And here is the log:
MuxMan version 0.15M
Opened script file dvdproject.mxp
Accepted video H:\MUXTEXT\VTS01_TIT01\P_OL_info.m2v size = 2779601
Accepted audio H:\MUXTEXT\VTS01_TIT01\TRA01_en_0_info.ac3
Opened sub 1 file H:\MUXTEXT\VTS01_TIT01\TRA01_da_xWL_0_junk.sup.
Accepted video H:\MUXTEXT\VTS02_TIT01\P_OL_info.m2v size = 2779601
Accepted audio H:\MUXTEXT\VTS02_TIT01\TRA01_en_0_info.ac3
Accepted video H:\MUXTEXT\VTS03_TIT01\P_OL_info.m2v size = 2779601
Accepted audio H:\MUXTEXT\VTS03_TIT01\TRA01_en_0_info.ac3
Accepted image H:\MUXTEXT\menu\menu_43_en_info.bmp
No useable audio found for PGC "Unspecified_title"

10:15:57 Begin multiplex VTS01.
Title Segment List
Segment_VTS01_TIT01
Encoded stream 20 is script stream 1.
Maximum audio duration 32 fields.
Starting scene Segment_VTS01_TIT01_scn1 at 00:00:00:00
SeqEnd at 2A69C9.
PgmEnd at 2A69CD.
End of video file
Bytes remaining in buffer = 0.
Bitrate - avg: 4122520, min: 0 (lba 1397), max: 4471466 (lba 457).
Shortest GOP has 18 fields, longest GOP has 24 fields.
Fields: 278, VOBU: 12, Sectors: 1399.

10:15:58 Begin multiplex VTS02.
Title Segment List
Segment_VTS02_TIT01
Maximum audio duration 32 fields.
Starting scene Segment_VTS02_TIT01_scn1 at 00:00:00:00
SeqEnd at 2A69C9.
PgmEnd at 2A69CD.
End of video file
Bytes remaining in buffer = 0.
Bitrate - avg: 4122520, min: 0 (lba 1397), max: 4471466 (lba 457).
Shortest GOP has 18 fields, longest GOP has 24 fields.
Fields: 278, VOBU: 12, Sectors: 1399.

10:15:58 Begin multiplex VTS03.
Title Segment List
Segment_VTS03_TIT01
Maximum audio duration 32 fields.
Starting scene Segment_VTS03_TIT01_scn1 at 00:00:00:00
SeqEnd at 2A69C9.
PgmEnd at 2A69CD.
End of video file
Bytes remaining in buffer = 0.
Bitrate - avg: 4122520, min: 0 (lba 1397), max: 4471466 (lba 457).
Shortest GOP has 18 fields, longest GOP has 24 fields.
Fields: 278, VOBU: 12, Sectors: 1399.

10:15:58 Begin multiplex VMG.
Menu Segment List
Segment_Menu
Encoded stream 20 is script stream 1.
Maximum audio duration 0 fields.
new graphics buffer size 414720.
graphics buffer size 1244160.
Starting scene Segment_Menu_scn1 at 00:00:00:00
SeqEnd at 1026D.
Bytes remaining in buffer = 0.
Bitrate - avg: 1228800, min: 1228800 (lba 0), max: 1228800 (lba 0).
Shortest GOP has 2 fields, longest GOP has 2 fields.
Fields: 24, Still fields: 22, VOBU: 1, Sectors: 36.
10:15:59 End multiplex.

mpucoder
3rd February 2006, 02:21
Can you send H:\MUXTEXT\menu\subpic_ffffff_0000ff_000000_info.bmp to muxman at mpucoder dot com - I need to first determine if the error message is real and getting lost or not.

Matthew
3rd February 2006, 03:16
I emailed it off.

With no subs:
If I flag segment_menu as 4:3, then I get that error.
If I flag segment_menu as Only Letterbox, then I don't get that error. [edit: but the subpicture doesn't appear to get muxed in, I checked with SubRip]

I still get the other problem though. I should note that the VOB plays fine on its own in PowerDVD, but not when it's played in PowerDVD as a DVD.

mpucoder
6th February 2006, 14:29
The problem is the display area, for PAL it should be no larger than 573 lines, and start on line 2. So 0,0,720,576 should be 0,2,719,574. Neither the mxp parser or the encoder check this, although the sst parser does. In this case the number of lines, 577, exceeds the number of lines in the bmp, and the encoder attempts to encode random memory values.
Also the bmps may not give you the desired subs as they use all 16 colors, appear to be anti-aliased, and one of them has no pure red, blue, or black.

Matthew
7th February 2006, 00:23
Thanks for clearing that issue up, it was very slack on my part.

I'll fix the bmps, they go through some resizing, adding borders etc so I I'm not surprised that they are buggered up.

The sample vob still stalls during playback, and throws up lots of errors, but a longer m2v doesn't, so presumably the video is dodgy.

Matthew
7th February 2006, 06:37
Rather than starting a new thread, I'll post this question in here.

Everything seems fine now (hurruh), except I'm unsure about how the buttons fit in with the 2 different modes of the menu (wide/letter). They are fine in PowerDVD (a little hand denotes that the button areas are a tad larger than the subpicture areas), but I don't know of any way to test the buttons in each mode.

So how do the button areas fit into the wide/letter context? Here is the subpicture/highlight info for the menu segment. The button area coordinates are calculated using the wide subpicture only.

Item=Sub-Picture Stream
{
Stream Number=1
Language Extension=1
Display Mode=Wide
Item=Sub-Picture Play
{
File=D:\crudetest\menu\subpic_W_autogen.bmp
Start=00:00:00:00 (0)
Forced Start=Yes
Time Code=PAL
Duration=00:00:00:00
Origin=0,0
Display Area=0,2,719,574
Color 1(Pa)=ffffff = = =
Color 2(E1)=0000ff = = =
Color 3(E2)=000000 = = =
Color=1 2 3 4
Contr=0 0 0 0
}
}
Item=Sub-Picture Stream
{
Stream Number=2
Language Extension=1
Display Mode=Letter
Item=Sub-Picture Play
{
File=D:\crudetest\menu\subpic_L_autogen.bmp
Start=00:00:00:00 (0)
Forced Start=Yes
Time Code=PAL
Duration=00:00:00:00
Origin=0,0
Display Area=0,2,719,574
Color 1(Pa)=ffffff = = =
Color 2(E1)=0000ff = = =
Color 3(E2)=000000 = = =
Color=1 2 3 4
Contr=0 0 0 0
}
}
Item=Highlight Stream
{
Item=Highlight Play
{
Start=00:00:00:00
Duration=00:00:00:01
Select End Time=00:00:00:00
Button Mode 1=Wide
Button Mode 2=Wide
Button Mode 3=Wide
Offset=0
Numeric Selected Buttons=2
Forced Selected Button=Button1
Forced Activated Button=Nonexistent
Item=Button Color 1
{
Selection Color=1 2 3 4
Selection Contr=15 0 0 0
Action Color=2 1 3 4
Action Contr=15 0 0 0
}
Item=Button Color 2
{
Selection Color=1 2 3 4
Selection Contr=15 0 0 0
Action Color=2 1 3 4
Action Contr=15 0 0 0
}
Item=Button Color 3
{
Selection Color=1 2 3 4
Selection Contr=15 0 0 0
Action Color=2 1 3 4
Action Contr=15 0 0 0
}
Item=Button
{
Name=Button1
Color Index=1
Auto Action Mode=No
Area 1=67, 68, 639, 278
Left Button=Button1
Right Button=Button1
Up Button=Button1
Down Button=Button2
}
Item=Button
{
Name=Button2
Color Index=1
Auto Action Mode=No
Area 1=67, 298, 639, 508
Left Button=Button2
Right Button=Button2
Up Button=Button1
Down Button=Button2
}
}
}

Zeul
7th February 2006, 09:00
In your script Area 1= under the button info reflects the button coords to be used for Button Mode 1 (In your case Wide). To add a letterbox set of buttons you need to make Button Mode 2=Letter and then add a new set of coords for each button under Area 2=. Upto 3 button modes are available in DVD (usually Wide , Letter and PS). The standalone picks the correct Button Mode, which then tells the standalone with set of coords to use.

Matthew
7th February 2006, 10:43
Thanks a bunch Zeul, that was a pretty easy fix :)

I'm fairly sure my calculations are correct, but is there a way to simulate standalones post-authoring, just to be sure?

I suppose as long as my wide (letter) subpicture rectanges are just inside my wide (letter) button rectangles, then the result should be correct.

Zeul
7th February 2006, 18:43
You should be able to force a software player into a specific resolution. For letterbox mode the button width = wide mode button width, and the vertical coords will be a little less.

Matthew
7th February 2006, 22:56
I can't find the option in PowerDVD, hardly surprising given it is not designed as a simulator.

I get the coordinates of the subpicture boxes, 2 sets of X & Y for each box
These are taken from the unresized subpicture

resizing to wide subpicture:
1024x576 -> 720 x 576
854x480 -> 720 x 480

resizing to letter subpicture:
1024x576 -> 720 x 432, then borders of 72*2
854x480 -> 720 x 360, then borders of 60*2

Hence for NTSC:
WideX = X*(720/854)
WideY = Y

LetterX = WideX
LetterY = Y*(360/480) + 60

Zeul
7th February 2006, 23:50
looks right to me

Matthew
8th February 2006, 04:36
Thanks for the reply.

I opened each subpicture in an image editor and checked the button coordinates and they lined up.

Yay, now mplex/dvdauthor can go bye bye.