Hi, is there any spumux users here?
I have some problems with alignment of my buttons when using spumux. They are always somewhere out of place. As I understand this may be related to the aspect ratio problem: the pixels in dvd are not square. But what is the correct aspect ratios for png images for spumux? Can it understand the aspect ratio info in png file at all?
The spumux script was smth like this
<subpictures>
<stream>
<spu start="00:00:00.0" image="/tmp/buttons-normal.png" highlight="/tmp/buttons-highlighted.png" select="/tmp/buttons-selected.png">
<button name="0" x0="340" y0="128" x1="647" y1="169" down="1" up="1" />
<button name="1" x0="340" y0="272" x1="623" y1="313" down="0" up="0" />
</spu>
</stream>
</subpictures>
while the menu was created like this
pngtopnm file.png | ppmtoy4m -r -n 50 -I p -F 25:1 -A 10:11 | y4mscaler -O preset=DVD -O infer=EXACT| mpeg2enc -n n -f 8 -o/tmp/menu_background.m2v
dd if=/dev/zero bs=4 count=1920 | toolame -b 128 -s 48 /dev/stdin /tmp/silent.mp2
mplex -f 8 /tmp/menu_background.m2v /tmp/silent.mp2 -o /tmp/menu.mpeg
spumux /tmp/spumux.xml < /tmp/menu.mpeg > out.mpeg
Initially file.png and all buttons-{whatever}.png were pixel to pixel aligned.
+ Reply to Thread
Results 1 to 2 of 2
-
-
Well, found out what was the problem: this was ppmtoy4m, which has a bad habit to infer the scale of the image from the framerate setting (and therefore it rescaled 720x480 image into 720x576). After changing -F 25:1 into -F 30000:1001 problem disapeared.
Similar Threads
-
Spumux problem
By Bigfoot73 in forum Authoring (DVD)Replies: 0Last Post: 15th Sep 2010, 15:08 -
spumux.exe
By ranee in forum Authoring (DVD)Replies: 3Last Post: 30th Jun 2010, 09:31 -
error with spumux.exe
By rebel14 in forum Newbie / General discussionsReplies: 2Last Post: 19th Dec 2008, 18:55 -
Menus buttons become assigned to wrong episodes/files
By messiahVx02 in forum SVCD2DVD & VOB2MPGReplies: 2Last Post: 31st Jan 2008, 02:40 -
spumux button order is off [answered]
By raschko in forum Authoring (DVD)Replies: 2Last Post: 12th Nov 2007, 09:08