Leon Brooks | 22 Feb 2012 06:34
Picon

Recently, DeVeDe ceased applying background images to the menus...

...which I eventually tracked back to this ($PATH being /home/whatever/list/of/dirs):

DVDAuthor::spumux, version 0.7.0.
Build options: gnugetopt imagemagick iconv freetype fribidi fontconfig

INFO: default video format is NTSC
INFO: Picture $PATH/ChemTest4_menu0_bg_15cols.png had 11 colors
INFO: Picture $PATH/ChemTest4_menu0_bg_active_out_15cols.png had 2 colors
INFO: Picture $PATH/ChemTest4_menu0_bg_select_out_15cols.png had 2 colors
INFO: Pickbuttongroups, success with 1 groups, useimg=0
spumux: subgen-image.c:900: imgfix: Assertion `useimg' failed.
Aborted (core dumped)

Initially, spumux was whining about more than 15 colours per PNG image, so I used ImageMagick to reduce the DeVeDe-generated PNGs to 11/2/2 colours, hand-tweaked the .xml file, with the result you now see.

Next...?

--
Cheers — Leon
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Lawrence D'Oliveiro | 22 Feb 2012 06:50
Picon

Re: Recently, DeVeDe ceased applying background images to the menus...

On Wed, 22 Feb 2012 13:34:26 +0800, Leon Brooks wrote:

> Initially, spumux was whining about more than 15 colours per PNG
> image, so I used ImageMagick to reduce the DeVeDe-generated PNGs to
> 11/2/2 colours, hand-tweaked the .xml file, with the result you now
> see.
> 
> Next...?

You are not allowed more than 4.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
Leon Brooks | 22 Feb 2012 07:14
Picon

Re: Recently, DeVeDe ceased applying background images to the menus...

On 22 February 2012 13:50, Lawrence D'Oliveiro <ldo <at> geek-central.gen.nz> wrote:
On Wed, 22 Feb 2012 13:34:26 +0800, Leon wrote:
> Initially, spumux was whining about more than 15 colours per PNG
> image, so I used ImageMagick to reduce the DeVeDe-generated PNGs to
> 11/2/2 colours, hand-tweaked the .xml file, with the result you now
> see.
>
> Next...?

You are not allowed more than 4.

OK, thanks for the heads-up on that, Lawrence.

I morphed ChemTest4_menu0_bg_15cols.png down to 4 colours, then 3, no change in the response from spumux. Since the menu overlays are 2 colour each, there’s not much else to reduce.

I’m doubly-puzzled, as previous versions were entirely happy with 256. But for the bandwidth involved, I could send you scores of DVD ISOs with full-colour PNG background images (Albany, Western Australia over here on the West Island is not short of great scenery: I took a Kiwi Registered Nurse on a cooks tour of the place in 2009, & she reckoned that “It’s like Wellington, with all the bad bits removed!”). With this in mind, I strongly suspect that a broader principle is at fault here, rather than a tally of colours.

--
Cheers — Leon
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Lawrence D'Oliveiro | 22 Feb 2012 07:49
Picon

Re: Recently, DeVeDe ceased applying background images to the menus...

On Wed, 22 Feb 2012 14:14:59 +0800, Leon Brooks wrote:

> I morphed ChemTest4_menu0_bg_15cols.png down to 4 colours, then 3, no
> change in the response from spumux. Since the menu overlays are 2
> colour each, there’s not much else to reduce.

You are only allowed 4 in total among all subpicture images.

> I’m doubly-puzzled, as previous versions were entirely happy with
> 256. But for the bandwidth involved, I could send you scores of DVD
> ISOs with full-colour PNG background images ...

Since the background is an MPEG video, it can be full-colour. But the
subpicture overlay cannot.

This is why it’s quite common to dispense with the overlay image for the
“normal” button state, and rely on the background video to provide that.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Leon Brooks | 22 Feb 2012 09:43
Picon

Re: Recently, DeVeDe ceased applying background images to the menus...

On 22 February 2012 14:49, Lawrence D'Oliveiro <ldo <at> geek-central.gen.nz> wrote:
On Wed, 22 Feb 2012 14:14:59 +0800, Leon Brooks wrote:
> I morphed ChemTest4_menu0_bg_15cols.png down to 4 colours, then 3, no
> change in the response from spumux. Since the menu overlays are 2
> colour each, there’s not much else to reduce.

You are only allowed 4 in total among all subpicture images.

> I’m doubly-puzzled, as previous versions were entirely happy with
> 256. But for the bandwidth involved, I could send you scores of DVD
> ISOs with full-colour PNG background images ...

Since the background is an MPEG video, it can be full-colour. But the
subpicture overlay cannot.

This is why it’s quite common to dispense with the overlay image for the
“normal” button state, and rely on the background video to provide that.

OK... that would kinda explain this line in the menu .xml file...

<spu force="yes" start="00:00:00.00" image="$PATH/ChemTest4_menu0_bg_15cols.png" highlight="$PATH/ChemTest4_menu0_bg_active_out_15cols.png" select="$PATH/ChemTest4_menu0_bg_select_out_15cols.png" >

...iff the menu0_bg_15cols image was not an overlay.

Since spumux is evidently treating it as an overlay, yet as used by previous DeVeDe releases it was presumably not so doing, perhaps I should be diffing a few versions of DeVeDe source-files to discover what the difference is, & hopefully a reason for it?

--
Cheers — Leon
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users
Leon Brooks | 28 Feb 2012 03:45
Picon

Re: Recently, DeVeDe ceased applying background images to the menus...

On 22 February 2012 16:43, Leon wrote:
On 22 February 2012 14:49, Lawrence wrote:
You are only allowed 4 in total among all subpicture images.

> I’m doubly-puzzled, as previous versions were entirely happy with
> 256. But for the bandwidth involved, I could send you scores of DVD
> ISOs with full-colour PNG background images ...

Since the background is an MPEG video, it can be full-colour. But the
subpicture overlay cannot.

This is why it’s quite common to dispense with the overlay image for the
“normal” button state, and rely on the background video to provide that.
[...]
 
Since spumux is evidently treating it as an overlay, yet as used by previous DeVeDe releases it was presumably not so doing, perhaps I should be diffing a few versions of DeVeDe source-files to discover what the difference is, & hopefully a reason for it?

Running DeVeDe 3.17.0 on a machine with Oneiric Ocelot installed (rather than Precise Pangolin, not sure that Mr Shuttleworth & his associates are entirely sober when they choose these release names) with the same .devede config file produces a flawless result.

The dvdauthor package version there is 0.7.0-1.1 (& spumux identifies itself as 0.7.0).

The versions of the same on Pangolin are 3.21.0 & 0.7.0-1.1build1 (spumux also identifies itself as 0.7.0).

Since at this point I have no idea why this breakage happens, when I have time, I’ll attempt running dvdauthor on Pangolin with the Ocelot-generated files.

--
Cheers — Leon
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Dvdauthor-users mailing list
Dvdauthor-users@...
https://lists.sourceforge.net/lists/listinfo/dvdauthor-users

Gmane