Creating DVD menus with Spumux + Dvdauthor
Recently, I've been trying to make a menu for one of my dvds using dvdauthor and spumux. I am trying to make a vmgm menu that has six buttons that each point to six different titles. Pretty simple, or so I thought. It turns out that there is only one button, which is working correctly (it points to title 1). My 5 other buttons just aren't there. I'm pretty knew to making dvd menus and have almost no prior experience with xml, so I'm probably making an obvious mistake here. I'd really appreciate if somebody looks at my xml and can figure out why I'm not getting as many buttons as I want. Here is my spumux xml:
Code:
<subpictures> Code:
<dvdauthor> |
In your subpictures XML file, I'd suggest specifically declaring each button, something like this:
Code:
<subpictures> I've also tried what you've done, telling it to "infer" the button locations, but didn't have much luck with it. Explicitly specifying buttons is more of a pain, but it seems to give better results, especially if your buttons are in a weird non-columnar configuration. Also, your dvdauthor file looks OK, but I'd suggest using a separate pgc for each title, and including a "post" command with each, so it will jump back to your menu after the title finishes playing: Code:
<pgc> All in all, I wish you luck! I have been thinking about making an open-source dvd-authoring GUI, since it's something we could sorely use. After seeing your post and others like it, I'm thinking more seriously about doing it. p.s. - a quick, simpler solution is to try using "rows" instead of "columns" in your "autoorder" statement in the spumux file. Not sure if that will work, but it might! |
First, I tried doing the autoinfer with rows, but that produced the same effect of only having one button. So I tried to specify my own coordinates, but now spumux is just spitting out an error. This is the error:
"INFO: PNG had 2 colors INFO: PNG had 2 colors INFO: PNG had 2 colors INFO: Pickbuttongroups, success with 2 groups, useimg=0 spumux: src/subgen-image.c:718: imgfix: Assertion `useimg' failed. Aborted" Pretty vague, don't you think? Well, Now I'm pretty confused. Here's my new xml: Code:
<subpictures> |
Not sure about that one. The PNGs I've used for button overlays were reduced to an indexed palette with 4 colors (one of which is transparent). Try that, if they aren't already.
|
My pngs are okay, but I think I may have figured it out (possibly). When I did the xml, I basically put in random coordinates because I was just testing, not doing the actual menu. I have feeling the maybe my images are a little big and are overlapping, which may be causing spumux to choke on it. I'm not sure, but I think it's a possibility. I'm going to actually map out the coordinates this time and see if that helps a little. Hopefully, that'll do the trick for me.
Thanks for all the help. |
Probably too late by now, but...
If the pixels used in the highlight and select images are not the same, you will get the 'spumux: src/subgen-image.c:718: imgfix: Assertion `useimg' failed.' error. |
Quote:
Does that mean the palettes need to be the same? Or the shape of the buttons on the three button images? The reason I ask is that I'm getting the same error. I had things working a few days ago, but I've changed something and have been unable to figure out exactly what so far. I've searched all over the web, and this thread is the only mention of this error that I've found. This is what I am getting: Code:
\dvd\bin\spumux.exe /dvd/job/199906/spumux.xml < \dvd\job\199906\menu.background.mpg > \dvd\job\199906\menu.mpg Here is my spumux.xml file: Code:
<subpictures> http://www.ket.org/temp/spumux/menu.plain.png http://www.ket.org/temp/spumux/menu.highlight.png http://www.ket.org/temp/spumux/menu.select.png Here is the background mpg: http://www.ket.org/temp/spumux/menu.background.mpg ...which was generated from the background jpg: http://www.ket.org/temp/spumux/menu.background.jpg Any ideas? -dave |
All times are GMT -5. The time now is 10:24 AM. |