gallery2 and dvd-slideshow

swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Sun, 2006-03-26 02:51

Marcus,
It's over 40K so please see attached tarball. I guess these forums append the .txt file extension for some reason. Just remove the .txt.

Thanks!

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Sun, 2006-03-26 05:38

Excellent,

managed to get it eventually, PITA to get it from here :)
(it doesn't seem to be compressed by the time I get it,
... but isn't a pure text file either. *sigh* :) )

I'm looking over your log now.

I've already fixed one glaring problem: I was only checking
for ".jpg" as an extension so all your conversions were in
vain. Next release should be an order of magnitude faster for you!
ie. You should be able to 'rm -r items' before your next run
without much problem.
This *may* also get around your IM/Photoshop problem, but could
end up just transferring the problem deeper into the guts of
the whole process (ie. dvd-slideshow ... sorry Scott Dylewski! :) )

I've also moved the camera-allocated subtitle blanking feature from
the g2 modules, into dvd-baker itself, with a '--camera on|off'
option (default 'on'). ATM this just ignores subtitles with "DCP_*"
or "IMG_*". But I may be able to add more camera 'optimisations' later.

I've not yet found the root cause of your failure, still working on
it. I'll keep you informed.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Sun, 2006-03-26 07:14

I've not been able to locate the problem so far,
or emulate it (my webserver seems to be on holidays;)

How did you produce the recipe initially?
Have you edited it by hand?
Does your user own the files that are problematic?
What are their permissions?
Which version of dvd-slideshow have you got installed?
(I strongly recommend you use 0.7.5)

Can you please rerun with something like:

$ dvd-baker -i --debug 10 --time recipe.txt

and send me the log for that?

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Sun, 2006-03-26 08:22

1. dvd-baker --get -t dir /var/www/localhost/g2data
2. I manually edited the recipe.txt using nano
3. I ran dvd-baker as root. All images are owned by apache.
4. I'm not sure what version of dvd-slideshow I had but I have 0.7.5 installed now.

I'm rerunning the recipe now.

Update: Debug log attached for dvd-baker -i --debug 10 --time recipe.txt

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Sun, 2006-03-26 15:00

I have repaired my g2 installation and upgraded from RC1 to 2.1
I can confirm that the 2.1 dvd-baker module for 0.7.39 still works.
(not fully tested, but it shows a recipe, not an error)

0.7.40 will be released in the next 24hrs unless I can find any more bugs.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Sun, 2006-03-26 22:36

OK, I can see the problem straight away with that log.
The changes I've already made should fix that.
There also seems to be a problem with converting some of the images,
but as that, too, should be fixed (by passing the problem
down the food chain;) I'm not that worried about it.
(ie. I'm not going to try to find the issue involved:)

I'll double check my work, run a few tests and release a corrected
version that should work for you.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Mon, 2006-03-27 00:31

Awesome!! Looking forward to it.

Thanks!

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2006-03-27 05:25
 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2006-03-27 14:27

dvd-baker 0.7.41 has been released
to address a (non-critical?) typo in an array declaration.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Tue, 2006-03-28 04:59

Hi Marcus,

The newer versions have helped as 1) the script runs 10 times faster and 2) it does not abort on the tif images.
However, still each time I rerun DVD-baker with the recipe.txt it aborts on a different image.
And each time I run it the script appears to get further before aborting because the logs grow in size for each run. What ever the issue, its random but consistent if that makes any sense.
It almost seems it needs some sort of delay inserted because whatever image it says does not exist did in fact exist at one point in the items dir.

The dvd-baker_0.7.41_debug_10-T.log.tar.gz is with the timestamps.

Hope these help and you have the ambition to debug :-).

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Tue, 2006-03-28 06:03

Hi swordfish,

I thought it would be faster for you when I realised what was
happening, but I had no idea how much difference it would make :)

It's strange that it's aborting on images, perhaps I should create
a test multisite gallery for you to upload some images to so I can
experiment with them? (Nominate your language :) )

It's not (or shouldn't be) a matter of pausing for the job to finish
because when each type of job (download, slideshow, menu) is executed,
dvd-baker goes off and continues parsing the recipe until it reaches
a job that might conflict with the last job.
ie.
. - not more than one type of job at the same time,
. - no point in starting a slideshow until all the downloads for
. . . that slideshow are finished.
. ... there are more combinations, but you get the idea ...
which is: dvd-baker waits for the job to finish before checking that the
result for that job exists. This allows your computer to be flat out
the whole time, with sub-processes 'fully niced!' and recipe parsing
'normal'. (heh ... no evil processes in dvd-baker ;) (yet;)

I guess it's possible, if the disk is busy
(and the wind is blowing in the wrong direction) that the OS may not
have completed flushing the data to the disk and updating the directory,
but I think that would be reasonably unlikely. With some sample 'bad'
images I might be able to locate the problem (combined with the log
you've sent).

Yes I'm very keen to debug, however, it's my daughter's first birthday this
weekend, and we have a party to organise (ie. I have a house to clear of
computer junk :( ... heh ). I will examine it carefully as soon as I have
a chance. Let me know if uploading a group of problematic pictures
sounds like a good idea to you.

Crikey, I've just seen the size of the logfiles!
There's got to be a better way of sending them (and keeping them compressed).

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Tue, 2006-03-28 07:20

Think I found the problem but have no idea on how to fix much less understand it!
For example look at the last log file I uploaded (dvd-baker_0.7.41_debug_10-T.log.tar.gz.txt) and scroll to the end where it aborts.
Notice the line: /var/www/localhost/g2data/cache/derivative/8/9/8916.dat
and the one above it has /var/www/localhost/g2data/cache/derivative/8/9/8915.dat

No problems, right? Well, I took a look at those .dat files along with the 8915-meta.inc and I discovered that the 8915 points to the same image as 8916. So, when the script gets to 8916 that image file is long gone.

So, is my G2 cache screwed up or what else, is this normal?? I really don't understand the purpose of these .dat and .inc files in the cache dir.

Still, though it doesn't explain why each time I run DVD-baker it gets closer to completion rather than fail on the same image. Oh wait, actually viewing some of these other .dat, .inc files which were already processed by the script point to the same image and the script did not abort on them. Maybe I'll stay up all night and run this script over and over and maybe I'll get lucky :-).

Throw me some advice on what to try next when you get a chance.

Thanks again!

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Tue, 2006-03-28 11:13

Advice:
Install the g2 module and run dvd-baker from the site
(not necessarily on it;), rather than the data directory.

Although editing your own recipe is supported in theory,
the only 'official' methods that I can support at the
moment are the ones provided: directory and g2 module.
I do not suggest baking a g2 cache with the directory
method, although I've done my best to code dvd-baker to
allow for such (strange) possibilities.

I can't guarantee the results otherwise, or replicate
problems without a great deal of effort.

As time is short atm I'm afraid I can't offer you much
else. I've spent the last 48 hours working on all this
(and virtual machine to netboot transition problem)
without sleep, but now my attentions must be elsewhere.
(eg. My daughter's first birthday this weekend, etc)

I hope to get back into having fun with dvd-baker when
family-related events are over.
If you are still unable to bake by then, I'll double
check my code by running it on my own sites to see if
I can replicate your results.

I can barely see the screen now :) , so I'll leave it
there and try to speak to you when I recover ;)

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Wed, 2006-03-29 01:09

OK, I've had a quick look at the log.

I'd suggest you edit your recipe by hand and remove the entries
for all 'cache' items.

What dvd-baker does with the directory method, is it creates
links to the items when the recipe is made, then parses the
recipe, making slideshows from those linked items as it goes.

My initial thoughts were that there was something wrong with
mimetype detection logic, but it would seem that the dat files
are detected as image/jpeg, so there's nothing for me to change.
I suspect that these .dat items have something about them that
causes a conversion to fail, but still produce output.
You can test this with

$ convert some_item.dat converted_item.jpg

( I'd appreciate a detailed decription of what happens :) )
eg. try:

$ convert some_item.dat converted_item.jpg && echo "Success" || echo "Failure"

might be interesting to see, along with any output.
ie. I suspect a 'Failure' is still producing an output file.

A possible solution is to have a command line option to exclude
a particular directory, and/or to exclude a particular mimetype
(or extension). However, I've been thinking about this for some
time, and I'm not sure how to implement it so that it works
for g2-dvd-recipe also. I'll keep it in mind ... a solution will
pop out eventually.
(I have a few ideas for implementing it in dir-dvd-recipe only )

Another possibility is that because the item is actually linked,
by the time dvd-baker gets to that point in the recipe, the
original item may have been removed.

The bottom line is that your method of executing dvd-baker is not
the intended method. To bake a g2 site, please install the dvd-baker
module and use '-t g2'. If there are problems with that, I'd be
very interested in fixing it asap.

There is only one known problem with the g2 dvd-baker module at
the moment, however, I've been unable to get enough information
to find it's cause, and I'm unable to replicate it.
See the bug tracker at http://sourceforge.net/tracker/?group_id=158182
if you think you can add anything to this (Norwegian?) problem.
I will be asking about this (again) on #gallery when I have time.

Good luck.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Thu, 2006-03-30 06:37

Marcus,

You're probably going to want to shoot me for this but the source of my problem was pointing to wrong directory.
I was using dvd-baker --get -t dir /var/www/localhost/g2data
when I should of been using:
dvd-baker --get -t dir /var/www/localhost/g2data/albums

To answer your question on what happens with: convert some_item.dat converted_item.jpg
works fine, no issues.

So, I was successful in creating a DVD!! Ok, you're free and cleared to attend your daughter's birthday now :-).
Thanks for all the help.

Now I want to see if I can add an audio clip to the DVD.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Thu, 2006-03-30 07:03

BANG!!! lol.

Thanks for the clearance :)

Does the DVD play on all players?
There's a small problem which may cause it not to play
correctly on _some_ 'strict' standalones. I think I know
of an elegant way of fixing this now ... took me a while
to work it out ... without restructuring the whole DVD.
This fix should lead to a working leader/trailer ability,
and also means I can re-enable the options menu
(a wonder of modern science;)

Have fun with the audio.

 
ommma

Joined: 2005-10-03
Posts: 52
Posted: Thu, 2006-03-30 12:19

Great Job marcubus, the new version works fine, I tested it with my Test Gallery and had no Problems, now i will run it with the whole gallery (about 8500 images).

I will inform you when it is finished. (As I have some problems with diskspace, it may take me few days)

@ Swordfisch

Quote:
Now I want to see if I can add an audio clip to the DVD.

Which Programm do you use for this? I'd also like to ad some sound into the background of my Gallery-DVD!

Thanks, mfg OMA

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Thu, 2006-03-30 12:58

omma,
I'm not quite sure how your problem was solved, TBH, but I'm glad it is.

re: audio, the programme's name is dvd-baker ;)
see: example 3: http://dvd-baker.sourceforge.net/examples/example3/

If you have one audio file in your slideshow, the slideshow will play for
the length of the audio track: each image being shown for an equal time.

Test it by uploading an audio file to a leaf album and see what happens.

Read more about this feature in the 'TAG DEFINITIONS: [audio]' section of:
http://dvd-baker.sourceforge.net/docs/dvd-baker.5.shtml

This is an immature feature so I'd appreciate feedback.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Thu, 2006-03-30 13:20

*** NEWS ALERTS ***

Regarding new features and releases, please be aware that
there is an RSS feed now avilable. This can be used as a
'Live Bookmark' in Firefox, or as an RSS subscription in
Thunderbird. 'Other' programmes apparently support RSS as
well.

RSS NEWS FEED:
http://sourceforge.net/export/rss2_projnews.php?group_id=158182&rss_limit=15&rss_fulltext=1
or simply go to http://dvd-baker.sf.net and left-click the
orange 'Live Bookmark' icon on the end of your address bar.
(Try adding it to your 'Bookmarks Toolbar Folder'.)

Important features like audio are most likely to be summarised
in the RSS news feed upon release.

Subscribing to the users and/or dev lists will keep you even
more informed, as I attempt to CC all messages which are not
confidential to the relevant list(s).

Reading the CHANGELOG is also advisable for those inclined.

ps. audio support was added in 0.7.39
see: http://sourceforge.net/project/shownotes.php?release_id=404495&group_id=158182

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Fri, 2006-03-31 02:33
marcusbrutus wrote:
BANG!!! lol.

Thanks for the clearance :)

Does the DVD play on all players?
There's a small problem which may cause it not to play
correctly on _some_ 'strict' standalones. I think I know
of an elegant way of fixing this now ... took me a while
to work it out ... without restructuring the whole DVD.
This fix should lead to a working leader/trailer ability,
and also means I can re-enable the options menu
(a wonder of modern science;)

Have fun with the audio.

Yes, plays on all my PC DVD players as well as my Philips and Sony DVD players.

Question though... the DVD has 12 slideshows. First playing the DVD the menu appears and shows the title for each. I was expecting I could choose anyone title using the DVD remote but the menu does nothing. I have to watch it from the beginning instead of skipping to the next slideshow. This by design? Else, would it have something to do with how I burned the DVD?

Thanks!

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2006-03-31 05:56

Menu does nothing?
Did you test the DVD with gxine?
No it's not by design :) ... the menu is supposed to be functional!
How did you burn the DVD? Did you use the built-in burning function,
or some other method?

Up and down arrows should allow you to navigate through a button list.
Pressing up while on the first button will take you to the parent menu.
If there are more than 9 buttons, you should have 8 normal entries,
and a '... more' button which takes you to the next menu containing
the remaning entries. Might have to add a down action for that.

Each slideshow should also have chapter markers corresponding to each
image.

If you select nothing for 30 seconds while in the root menu,
sequential autoplay will start (unless you've enabled random ;).
If you select nothing for 30 seconds while in a child menu, it
will return to it's parent, and wait another 30 secs ....

This may actually relate to the problem I mentioned before about
compatibility. It would be interesting to know if you've had
the same problem with gxine. Have you tried baking one of the
samples to test this functionality?

$ dvd-baker -d -e --sample 1

I don't quite understand the meaning of your post, TBH.
Would you provide more detail? gxine has a snapshot feature
that could help your explanation.

Be aware that each button points to a title, not a slideshow.
The reason for the distinction is that a title may contain
any number/combination of slideshows or video clips.
The most basic form of a title is one which contains only one
slideshow.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Fri, 2006-03-31 06:32

Nope, didn't test with gxine. But, didn't read enough into this tool either <sigh>.
Didn't create the ISO either. I took the .vob files (all the files from the Video_TS) and imported into Nero Ultra.
Anyhow, I'm now running the script with the correct switches and see an actual dvd.iso was created. Hmm, wow what da you know. I'll burn this and check it out.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2006-03-31 07:22

BTW: A functioning menu system using an old version of dvd-baker
can be found on these compressed DVD filesystems:
http://dvd-baker.sourceforge.net/files/Kiah2005.tar.gz
http://dvd-baker.sourceforge.net/files/test1-DVD.tar.bz2

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2006-03-31 07:31

Heh, yes, you need the complete DVD structure.
You can just use the -d switch and then use k3b
to create a DVD if you prefer to use a gui to burn.
-or-
Use '-i' and then 'burn DVD iso'
-or-
use '-b' and let dvd-baker do the lot.

The burn option in dvd-baker is ...*cough*... 'fairly
immature', but should work. When I get comfortable with
it (ie. when I can afford more blank DVD-R media) I will
add a progress meter and more debug for the burning option.

The basic order of output switches is:
1. -d ... create a DVD structure
2. -i ... create an iso (implies -d)
3. -b ... burn the DVD (implies -d and -i)

You only need to specify one of those options, as previous
steps are implied.

 
swordfish
swordfish's picture

Joined: 2004-10-01
Posts: 388
Posted: Fri, 2006-03-31 08:52

Yep, got it. Menu works fine now.
Heh, I use +RW dvd media so no worries.
I have a dual layer (8.5GB) burner but can only afford a handful of those discs :-(.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2006-03-31 11:48

Excellent, I'm very glad you've succeeded :)
I'd love to know how you would like the experience improved.
Both in baking, and playback.

For example, themes have been discussed for a few months now, and
I have a few ideas, but need more input to proceed. Any ideas?

I too have a dual layer burner, however, to test on older players
(eg. PS/2, etc), I go through a fair amount of -R media, as they
can't use RW.

The sample recipes included with dvd-baker are an attempt to minimise
the cost of testing. They need to be updated, extended and tested as
the abilities of dvd-baker change.

DL media are totally out of budget.

It's quite possible, for example, to go through a whole pack of blank
media, just to introduce a new feature that is compliant with all
standalones. The options menu, for example, was quite difficult and
costly.

You can see why I ask for donations ;)

 
neo314

Joined: 2005-07-31
Posts: 28
Posted: Tue, 2006-04-04 17:09

guys, any ideas why when i activate the module. Whenever i login a screen flashes up saying "Warning invalid argument supplied foreach() in /gallery2/modules/core/classes/gallerytheme.class on line 1444

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Tue, 2006-04-04 22:20

neo314, error located
patched module attached for dvd-baker 0.7.41 (untested)

http://gallery.menalto.com/files/g2-dvd-baker.zip

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-04-04 22:29

function getItemLinks in module.inc needs to initialize $links = array();

 
HaroldHallikainen

Joined: 2003-03-28
Posts: 33
Posted: Mon, 2006-04-10 03:26

Is there at tutorial on dvd-baker? From what I've read, it appears to produce a slideshow of an entire g2 gallery. Can I tell it to create a slideshow of a g2 album (and nested albums)? It'd be great if there were an export option in each album that lets us export that album to a DVD. Anything like this?

Harold

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2006-04-10 04:16

Hi Harold,
the closest to a tutorial are the examples and samples at
http://dvd-baker.sourceforge.net/samples
http://dvd-baker.sourceforge.net/examples

dvd-baker doesn't actually produce a single slideshow for an
entire gallery, it produces a slideshow for each leaf album (an
album which does not contain subalbums). A menu for each
branch album then links the slideshows (and other branch albums)
together. It can be played as a single slideshow however, by
simply allowing autoplay (sequential or random) to take over
after a 30sec timeout. The '--skipmenu' feature can be used
to achieve this too.

To create a DVD of a single album (and it's subalbums) the
simplest way is to install the 'User Albums' module. By making
the chosen album owned by a particular user, you can then
perform the procedure as shown in example 1:
http://dvd-baker.sourceforge.net/examples/example1/

You may also be able to just '--get' the recipe, edit it to
your 'taste' ;) and then bake it, however I've not tested that
functionality, so YMMV. This could be a tedious process for
a large recipe, so I recommend trying a small test first if
you want to attempt it. Recipe syntax is described here:
http://dvd-baker.sourceforge.net/docs/dvd-baker.5.shtml
(ie. $ man 5 dvd-baker)

As far as an export option goes, I've not been able to formulate
a complete picture in my head of how to achieve this. Feedback
appreciated.

Marcus.

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2006-04-10 07:10

BTW:

The minimum permissions required for a dvd-baker user are:
* [core] View all versions
* [comment] View comments

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2006-04-10 12:31

It has occurred to me that it would be quite simple
to pass a root album id from dvd-baker to the module,
rather than the module calculating the user's root.
However, this would require the baker (you!) to know
the id of the album.

As this kind of feature is related to an exclude
feature I have planned I'd appreciate some feedback
on how users would like this implemented.
ie. matching by id is the best way for me, but it may
be difficult for a user to find out these id(s).
Would name matching be required too?
eg. perhaps something like:

$ dvd-baker -d -e -t g2 -u username -p password -R 217 http://webserver/gallery2

or

$ dvd-baker -d -e -t g2 -u username -p password -R "Album Title" http://webserver/gallery2

where -R specifies the root album to bake and can either
be numeric (the g2 id of the album) or a quoted string
(the title of the album).

Does this sound sufficient?

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Tue, 2006-04-11 01:38

dvd-baker 0.7.42 has been released!

.           __           __      __            __
           / /          / /     / /           / /
      ____/ /_  __ ____/ /     / /_   ____ _ / /__ ____   _ ___
     / __  /| |/ // __  /___  / _  \ / __ `// //_// __ \ / `__/
    / (_/ / | ' // (_/ /(___)/ /_) // (_/ // _`\ / ____// /
    \__,_/  |__/ \__,_/     /_,___/ \__,_//_/ \_\\____//_/
                                               0.7.42

CHANGES
- gallery module bug has been fixed
- leader video ability has been added to recipe syntax.
    (a video clip that plays before the root menu is shown)
    A blank leader (1 frame) is inserted if a leader is not
    specified to improve standalone compatibility.
- button highlighting in the root menu has been improved so
    that when autoplay is off, a menu timeout doesn't reset
    the current highlight.

http://dvd-baker.sourceforge.net
Enjoy :)

 
neo314

Joined: 2005-07-31
Posts: 28
Posted: Fri, 2006-04-14 10:59

Hi,

I have installed the g2.1 module, but i cant seem to invoke dvd baker. I am on a shared server.

Am i missing something? it simply says command not found

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2006-04-14 13:37

The fundamental idea is that the dvd-baker module is loaded
by activating it in the g2 admin interface. There are no
other steps or configuration necessary on the webserver.

dvd-baker itself is then executed on the host (usually a
different computer) and pulls the recipe from the g2 webserver.

Without more detail, it's a little difficult to tell what
your problem actually is. Please give more information for
assistance. ie. What is a shared server? Where are you
executing dvd-baker? How did you install it on a) the
webserver, and b) the host. What command line did you use?
What does '$ which dvd-baker' return?

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Sat, 2006-04-15 11:09

dvd-baker 0.7.43 has been released!

.           __           __      __            __
           / /          / /     / /           / /
      ____/ /_  __ ____/ /     / /_   ____ _ / /__ ____   _ ___
     / __  /| |/ // __  /___  / _  \ / __ `// //_// __ \ / `__/
    / (_/ / | ' // (_/ /(___)/ /_) // (_/ // _`\ / ____// /
    \__,_/  |__/ \__,_/     /_,___/ \__,_//_/ \_\\____//_/
                                               0.7.43

Quote:
CHANGES
A few important features have been added. The most requested may be the ability to specify the gallery album to bake (rather than the user's root album), and the ability to specify an album to use to create a DVD leader (a title played before the root menu is shown). Also included is an optional 'Options Menu System', which can be accessed by pressing the 'SUBTITLE' button (or F3 in gxine) to toggle options such as SUBTITLES, AUTOPLAY, and REPEAT during playback. Minor cleanups and bugfixes are included.

http://dvd-baker.sourceforge.net
Enjoy :)

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Tue, 2006-05-02 12:29
Carl Eston wrote:
Luke-Jr wrote:
Any plans on a real G2 module?

Carl Eston wrote:
Hope So! Could solve alot of problems here :( Keep it hoping !

A G2 module was released in dvd-baker 0.7.36
The current version (0.7.43) now contains modules for both 2.0 and 2.1

 
patrickthickey
patrickthickey's picture

Joined: 2004-08-22
Posts: 164
Posted: Tue, 2006-09-26 17:16

Hello.

I installed your rpm and nothing is appearing in my admin/modules to activate, etc.

Does your module work with 2.1.1?

thanks

patrick

--------------------------------------------
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.9 apache2handler
Webserver = Apache/2.0.52 (Red Hat)
Database = postgres7 , lock.system=flock
Toolkits = Exif, ArchiveUpload, Gd, Dcraw, Ffmpeg, ImageMagick, NetPBM
Acceleration = full/86400, full/86400
Operating system = Linux 2.6.9-11.ELsmp #1 SMP Fri May 20 18:25:30 EDT 2005 x86_64
Default theme = matrix
Locale = en_US

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Wed, 2006-09-27 00:49

I assume from what you're saying that your webserver and workstation
are the same computer.

see /usr/share/doc/dvd-baker/INSTALL

which basically says:

Copy
/usr/lib/dvd-baker/makers/g2-dvd-baker.zip
to
/usr/share/gallery2/
on the webserver
(or wherever your g2 installation lives. Same dir as embed.php)
and unzip it.

You will (should) then have a module to install and activate.

Marcus.

 
patrickthickey
patrickthickey's picture

Joined: 2004-08-22
Posts: 164
Posted: Thu, 2006-09-28 15:30

I was unclear but let me try again. My web server is dedicated and hosted at an ISP.

Initially I was installing only the .rpm from your list of downloads. NOW I have the right one, it is activated and I need to fiddle with it.

thanks

patrick

 
florin_andrei
florin_andrei's picture

Joined: 2004-01-11
Posts: 79
Posted: Thu, 2006-11-02 07:42

Hi,

I just need a script that I can point to a G2 album, and the script must download all the full-rez pictures in the album and create a text file with the name of each picture file and next to it the title of the image. Just that, nothing else.

Can dvd-baker do something like that?

I need that to combine it with the method I described on this Wiki page (in collaboration with Scott):

http://dvd-slideshow.sourceforge.net/wiki/Multiple_vob_slideshow

Essentially, I'm doing my own formatting and layout for the slideshows, I only need dvd-backer (or something) to download the pictures and the titles and I can continue the processing from there.

--
Florin Andrei
http://florin.myip.org/gallery2/

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Thu, 2006-11-02 11:13

Hello,

Short story: No.

Long story: see --get and --test options
(and manpage for dvd-baker)
calling dvd-baker from a script with one of those options and then processing the files produced would be child's play ;)

Longer story: Look at the dvd-baker script :)

M.

 
cobalt027
cobalt027's picture

Joined: 2005-06-29
Posts: 22
Posted: Thu, 2007-03-15 14:39

I think I'm so close - maybe just a nudge in the right direction. i run this command:

dvd-baker --get -t g2 -u cobalt027 -p password -R 13076 http://pics.realhostremoved.net

and i get this (i removed a few lines to shorten it here) :

[dvd-baker] dvd-baker 0.7.43
[dvd-baker] Checking dependencies: Done.
[dvd-baker] Retrieving recipe: Done
[dvd-baker] Recipe successfully retrieved
[dvd-baker] Testing complete
[dvd-baker] All done.

so far so good, then i run this (same thing without the --get):

dvd-baker -t g2 -u cobalt027 -p password -R 13076 http://pics.realhostremoved.net

and i get this:

[dvd-baker] dvd-baker 0.7.43
[dvd-baker] Checking dependencies: Done.
[dvd-baker] Retrieving recipe: Done
[dvd-baker] Baking may take HOURS depending on:
[dvd-baker] Baking progress: S
[dvd-baker] Titles: 1
[dvd-baker] Slideshows: 1
[dvd-baker] Movies: 0
[dvd-baker] Images: 24
[dvd-baker] Menus: 0
[dvd-baker] Overs: 0
[dvd-baker] Buttons: 0
[dvd-baker] Creating dvdauthor file: [dvd-baker] FATAL ERROR. Title does not exist for some reason:
[dvd-baker] "/root/pics-dvd/slideshows/slideshow-LEADER/slideshow-LEADER.xml"
[dvd-baker] Aborted

help? (im running this as root on the machine that runs the gallery.
Gallery Info:
Gallery version = 2.1.2 core 1.1.0.2
PHP version = 4.4.4-pl6-gentoo apache2handler

Can you also tell me if its possible to create the DVD files on this machine, then move then to my windows box for burning? This linux machine doesnt have a DVD burner, or X, or a monitor for the matter. It's just a server in my basement. :)

- Cobalt027 (Brian)

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Mon, 2007-03-12 12:05

My best guess would involve:

Quote:
[dvd-baker] Movies: 0

and

Quote:
[dvd-baker] Buttons: 0

dvd-baker was designed to turn nested albums into a menu system pointing to titles made from the contents of the leaf albums.

To only bake a single album (call it "DVD"), you might be more successful if you were to structure (or link?) your albums like this:

root
=> DVD
==> pic1
==> pic2
...
==> pic24

and then point dvd-baker to start at "root" rather than "DVD".

I would need to see the recipe and the debug output to really know what the problem is, and to find out why you are having a problem with the leader definition, so please attach them (gzipped?) if you don't succeed with the method outlined above.

 
cobalt027
cobalt027's picture

Joined: 2005-06-29
Posts: 22
Posted: Thu, 2007-03-15 14:45

So, am i to assume that you cannot point directly to an album that ONLY has pictures in it? It must have a sub-album that contains the images?

I'm running a "bake" now. And it seems to be working. Thanks for the help!

- Cobalt027 (Brian)

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Fri, 2007-03-16 05:52
Quote:
So, am i to assume that you cannot point directly to an album that ONLY has pictures in it? It must have a sub-album that contains the images?

Correct.

The reason for this will become obvious when you've baked a couple of DVDs for yourself, but in short:

1. a title (slideshow) is produced for each leaf album
2. a button is created for each title and placed in it's
   parent menu (branch/root album)
3. if a menu is made from a branch album, a button for it
   is placed in it's parent.

So, from those points, you should see that:
a leaf album can not be a branch/root album (at the same time)
and
the root album needs at least one child (branch or leaf album)

Have fun and good luck :)

 
pdeg

Joined: 2007-02-07
Posts: 8
Posted: Thu, 2007-03-29 09:40

Help ....

Am trying to install dvd-baker .... I followed the download link from the
web site and have installed dvd-baker-0.7.43-2 from sourceforg

Unfotunately gallery2 tells me that this rev is incompatible ...

Can somebody please point me to a rev that will work on my version if gallery2

Many thanks
Regards
Peter

Gallery version = 2.2-svn core 1.1.20
PHP version = 5.1.6 apache2handler
Webserver = Apache/2.2.2 (Fedora)
Database = mysql 5.0.27, lock.system=flock
Toolkits = ArchiveUpload, Dcraw, Exif, Getid3, ImageMagick, NetPBM, Thumbnail, SquareThumb, Gd, LinkItemToolkit
Acceleration = full/2700, full/2700
Operating system = Linux curric4182-05 2.6.18-1.2239.fc5 #1 Fri Nov 10 13:04:06 EST 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Rows in GalleryAccessMap table = 102
Rows in GalleryAccessSubscriberMap table = 6352
Rows in GalleryUser table = 9
Rows in GalleryItem table = 6340
Rows in GalleryAlbumItem table = 87
Rows in GalleryCacheMap table = 4882

 
marcusbrutus

Joined: 2005-11-17
Posts: 64
Posted: Thu, 2007-03-29 12:01

Hi,

Thanks for trying dvd-baker, and providing all your details.
Unfortunately I have not yet updated dvd-baker to be compatible with this core version.
However, as I've almost completed upgrading my production and development environments (and my daughter's 2nd birthday is nigh) I intend to upgrade the module in the near future.

Suggestions, improvements and other input are welcome.

 
pdeg

Joined: 2007-02-07
Posts: 8
Posted: Fri, 2007-03-30 00:33

That would be great... thanks ...

Can't run it .. so am unable to offer any suggestions, improvements .. yet
but I am sure I will ... I do that ... sorry :-)

Happy birthday for the daughter.

Cheers