After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340767 - Export as video / DVD Slideshow
Export as video / DVD Slideshow
Status: RESOLVED WONTFIX
Product: f-spot
Classification: Other
Component: General
CVS
Other All
: Normal enhancement
: ---
Assigned To: F-spot maintainers
F-spot maintainers
gnome[unmaintained]
: 468127 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-05-05 18:36 UTC by Chad Files
Modified: 2018-07-12 00:10 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Draft 1 of a DVD SlideShow PlugIn (10.00 KB, application/x-compressed-tar)
2007-02-05 23:43 UTC, Bengt Thuree
Details
Latest untested version (6.92 KB, text/plain)
2007-02-08 10:15 UTC, Bengt Thuree
Details
DVD-Slideshow Extension implemented as IExporter (7.73 KB, application/x-gzip)
2007-11-02 12:37 UTC, Peter Goetz
Details
DVD-Slideshow Extension with updated Makefile (8.04 KB, application/x-gzip)
2007-11-02 15:11 UTC, Peter Goetz
Details
an updated version of the DVD-Slideshow Extension (10.10 KB, application/x-compressed-tar)
2008-02-07 00:46 UTC, Peter Goetz
Details
another update of the DVD-Slideshow Extension (10.62 KB, application/x-compressed-tar)
2008-02-13 15:53 UTC, Peter Goetz
Details
minor fixes to work with svn head thanks to maxxer again! (11.61 KB, application/x-gzip)
2008-02-14 13:47 UTC, Peter Goetz
Details
Now checks for existing destination file (11.92 KB, application/x-gzip)
2008-03-28 11:24 UTC, Peter Goetz
Details

Description Chad Files 2006-05-05 18:36:19 UTC
It would be nice to be able to export a series of images to a DVD Slideshow
(http://dvd-slideshow.sourceforge.net).

This could work one of two ways...
  1) Just generate the file that dvd slideshow users
(http://dvd-slideshow.sourceforge.net/examples/simple/simple.txt) then render on
the command line.
  2) Create the file in option one and kick off dvd slideshow.
Comment 1 Bengt Thuree 2006-05-06 13:18:18 UTC
This would be a nice addition.

As well as export to a Photo CD (kodak Photo CD standard?) perhaps?
Comment 2 wout.van.heeswijk 2006-08-16 18:56:42 UTC
I really want this one. I think it would be great if there was something like a template system for the dvd menu.

Comment 3 Stephane Delcroix 2006-08-16 20:08:14 UTC
one more good candidate for a plugin...
Comment 4 Michael Monreal 2007-02-05 17:48:13 UTC
This is exactly what my mom was looking for last weekend..
Comment 5 Stephane Delcroix 2007-02-05 18:31:43 UTC
Michael, tell your mom to contact Bengt, he has a work-in-progress patch for this (if I remember well)
Comment 6 Bengt Thuree 2007-02-05 23:43:09 UTC
Created attachment 81963 [details]
Draft 1 of a DVD SlideShow PlugIn

Ok, I upload what I did last year to BugZilla just in case someone else wants to continue on it. I might also have some more time later on to continue to work on it, but feel free to continue/enhance/fix etc this plugin if anyone wants to.

The first draft is just a proof of concept, but should work. Needs the plugin patch though.

Make a backup of your Extension Makefile, then untar this tar file in
your extension directory.

The results ends up in a temp directory under /tmp

This is just the first draft... aiming for the following features.
1) Gui with
        Fetch more photos for another slideshow on same dvd
        No more photos, Create slideshow
        Quit
2) Should be possible to set title on each set of photos
3) Should be possible to stop at MPG, ISO, or launch Nautilus to burn
DVD image.
4) O'h, need to verify that dvd-slideshow has version > 0.7.2 to cope
with bash3
         
Small test run...

Any comments?


/Bengt

Created a DVD slideshow master file for 2 pictures
[dvd-slideshow]            dvd-slideshow 0.7.5
[dvd-slideshow]            Licensed under the GNU GPL
[dvd-slideshow]            Copyright 2003-2006 by Scott Dylewski
[dvd-slideshow]            
[dvd-slideshow] Parsing input .txt
file /tmp/tmp3d274c8f.tmp/f-spot_slideshow.txt.txt
[dvd-slideshow]
############################################################
[dvd-slideshow] Found 2 images.
[dvd-slideshow] Found 0 audio files.
[dvd-slideshow] Found 0 background slides.
[dvd-slideshow] Found 1 title slides.
[dvd-slideshow] Found 3 transitions (fadein/fadeout/crossfade).
[dvd-slideshow] Video: NTSC  Audio: AC3
[dvd-slideshow] Debug=0  Autocrop=0 Subtitles=render
[dvd-slideshow] Total video length = 0:0:21.000
[dvd-slideshow] Output filename is F-Spot_test_complete
[dvd-slideshow] Temp dir
is /tmp/tmp3d274c8f.tmp/dvd-slideshow_temp_27930
[dvd-slideshow] Creating black background
[dvd-slideshow]############################################################
[dvd-slideshow] Title 0:0:5.000
[dvd-slideshow]         Title=F-Spot created slideshow
[dvd-slideshow]############################################################
[dvd-slideshow] Fadein 0:0:2.000
[dvd-slideshow]############################################################
[dvd-slideshow] 1/2 /home/bengt/Photos/2004/7/23/20040723
142528_Stockholm_Skansen_Jasmine_Bengt_005.JPG 0:0:5.000
[dvd-slideshow]############################################################
[dvd-slideshow] Fadein 0:0:2.000
[dvd-slideshow]############################################################
[dvd-slideshow]
2/2 /home/bengt/Photos/2004/10/5/20041005130110_Mohnani_Jasmine_Bengt.JPG 0:0:5.000
[dvd-slideshow]############################################################
[dvd-slideshow] Fadeout 0:0:2.000
[dvd-slideshow]############################################################
[dvd-slideshow] waiting for mpeg2enc to finish...
[dvd-slideshow]#####################################
[dvd-slideshow] No audio files passed.  Using 0:0:21.021 silence.
[dvd-slideshow] Working on track 1 audio file 0
[dvd-slideshow] silence
[dvd-slideshow] Creating silence audio file for 0:0:21.021
[dvd-slideshow] This audio plays in slideshow from 0:0:0.000 to
0:0:21.021
[dvd-slideshow] ###############
[dvd-slideshow] Concatenating all audio files...
[dvd-slideshow] Creating ac3 audio...
[dvd-slideshow]############################################################
[dvd-slideshow] Multiplexing audio and video...
[dvd-slideshow]############################################################
[dvd-slideshow] No subtitles... removing .spumux file
[dvd-slideshow] total chapters=3
[dvd-slideshow] chapter markers at 0,0:0:7.007,0:0:14.014
[dvd-slideshow]############################################################
[dvd-slideshow] cleanup...
[dvd-slideshow] More extensive logfile output is at:
[dvd-slideshow] /tmp/tmp3d274c8f.tmp/dvd-slideshow.log
[dvd-slideshow] Done!

sh: Syntax error: Unterminated quoted string


bengt@dellie4:~/development/f-spot/f-spot.Plugins/src$
Comment 7 Bengt Thuree 2007-02-08 10:15:29 UTC
Created attachment 82135 [details]
Latest untested version
Comment 8 Stephane Delcroix 2007-09-12 14:15:00 UTC
*** Bug 468127 has been marked as a duplicate of this bug. ***
Comment 9 Stephane Delcroix 2007-09-12 14:16:04 UTC
tagged as gnome-love, easy to implement as an add-in.
Comment 10 Ilya Yakubovich 2007-09-21 22:20:17 UTC
I'd love to see this feature implemented. I have relatives in Belarus without a computer, and a DVD is the only way I can send them photos.

I currently use dvd-slideshow but as much as I love commandline interfaces (vim ftw and whatnot), it's unnecessarily complicated and the wrong tool for a task like this. 
Comment 11 Johannes Berg 2007-10-05 13:26:39 UTC
Just was looking for exactly this too.

While nice to implement as a plugin, I think that one key feature is missing when you do that: the ability to reorder pictures for the slideshow. I find it useful to have the pictures shown in order taken, but for a presentation you sometimes need to reorder the pictures.
Comment 12 Peter Goetz 2007-11-02 12:37:20 UTC
Created attachment 98372 [details]
DVD-Slideshow Extension implemented as IExporter

I used the code from Bengt and from FolderExport.cs to create this dvd-slideshow extension. Thanks for that preliminary work!!!
This version is far from being complete, but it works and I'm going to improve it! BUT I had problems with the glade-file.
Could someone of the developers may give me a hint, because until now the glade-file must be in the home-directory, otherwise f-spot cannot find it!

Any comments, critics, questions are welcome!
Peter
Comment 13 Bengt Thuree 2007-11-02 12:52:20 UTC
Good job Peter, (have not tried it yet, but will later). 
Great that this one got some very much needed attention... :)
Comment 14 Maxxer 2007-11-02 13:13:21 UTC
Modifying your Makefile this way should fix your glade problem

RESOURCES = \
        -resource:dvd_slideshow_exporter_dialog.glade \
        -resource:DVDSlideshowExporter.addin.xml


Btw I just compiled and copied .dll in an f-spot svn but I cannot see the menu
option. Manage extensions says it's installed and enabled, but no export option
:(

The only possible error I get is 
WARNING: The add-in 'FSpot.__DVDSlideshowExporter,1.0.0.0' is trying to extend
'/FSpot/Menus/Exports', but there isn't any add-in defining this extension
point

But I got it also with my extension which was working anyway...
Comment 15 Peter Goetz 2007-11-02 15:11:45 UTC
Created attachment 98383 [details]
DVD-Slideshow Extension with updated Makefile

thanks maxxer, i updated the Makefile and now it works.

Maybe something to keep in mind: when i first tried it, the first resource was the add-in file and the second was the glade file. this resulted in a export menu without the dvd slideshow. swapping those two solved the issue.

So the main remaining issue is that photos aren't rotated automatically so far (i guess temporary image files is the solution here...).
And of course burning the dvd right away would also be nice. Hopefully I have time for those things soon.
Comment 16 Maxxer 2007-11-02 20:20:32 UTC
(In reply to comment #15)

> Maybe something to keep in mind: when i first tried it, the first resource was
> the add-in file and the second was the glade file. this resulted in a export
> menu without the dvd slideshow. swapping those two solved the issue.

I still cannot see it in the menus! :-(
I've checked the paths and should be fine. I can't understand what I'm doing wrong.

> So the main remaining issue is that photos aren't rotated automatically so far
> (i guess temporary image files is the solution here...).
> And of course burning the dvd right away would also be nice. Hopefully I have
> time for those things soon.

I've fixed the same issue in another extension. If you need help just ask.

ciao
Comment 17 Maxxer 2007-11-03 22:52:01 UTC
A couple of notes. I finally managed to show it up in menus! :) Some problems were my faults, but also the .xml wasn't fitting the(/my) latest SVN.
I had to add/edit few options. Some are aesthetics, some are needed.

 <Addin namespace="FSpot"
       version="1.0.0.0"
       id="DVDExport"
       name="DVD Slideshow Exporter"
       description="Create DVD slideshow from your photos using DVD-Slideshow (http://dvd-slideshow.sf.net)"
       author="Peter Goetz, Original Version: Bengt Thuree"
       url="http://f-spot.org/Extensions"
       category="Export">
        <Dependencies>
                <Addin id="Core" version="0.4.0.3437"/>
        </Dependencies>
        <Extension path = "/FSpot/Menus/Exports">
                <ExportMenuItem id="DVDExport" _label = "DVD slideshow..." class = "FSpot.DVDSlideshowExporter" />
        </Extension>
</Addin>

And now, few notices about the job:
1. You should check if the dvd-slideshow executable exists
2. It created a NTSC DVD, but I have PAL. An option is due! :)
3. While elaborating pics, the progress bar still says "DVD control file created" as label, and "processing control file" in the progress bar.
4. When creation is completed, the progress bar says "Transfer complete".
5. DVD Slideshow creates a .log file along with the .vob and leaves it around.
6. It left a .xml file in the destination directory.
Others will comment the code. I don't have the knowledge to.

Congratulations! Very nice job!!
Comment 18 David Prieto 2007-11-21 15:15:02 UTC
Amazing job. Still, could it have an option to choose the transition effects and one or several sound files (songs, that is) to play in the background of the resulting video?
Comment 19 Stephane Delcroix 2007-12-10 11:35:34 UTC
Hi Peter,

maxxer (comment #17) did some usefull remarks. am ok to distribte this addin as soon as they're fixed. 1 and 2 are mandatory, 3 and 4 are cosmetic ones. 5 and 6 is just about cleaning things up at the end...
Comment 20 Peter Goetz 2008-01-31 00:36:09 UTC
Hi all,

sorry for answering late, but somehow i wasn't notified by email that the discussion was going on here and I was very busy...

I'm willing to finish this exporter now, but the exporter doesn't show up in the menu in svn head. Maxxer, you wrote you had some problems, too. Is there a key-advice you can give me? I totally cleaned all (!!!) directories so I am sure that it's no old-version-mix-issue. 

I copied the dll into <basedir>/addins/ like I always did. I searched through the email-list and considered all advices given there. Started f-spot a dozen times. No success.

Then I tried to install some of the other extension using the manage extensions dialog. It reported success but on the console I got:

Installing Zip export v0.2
Assembly not found: f-spot, Version=0.4.1.0, Culture=neutral

Maybe thats a hint. Am I missing something? Can someone help me?
Comment 21 Maxxer 2008-01-31 08:25:31 UTC
(In reply to comment #20)

> Maybe thats a hint. Am I missing something? Can someone help me?

there's a massive rework on some core pieces of f-spot, so actually most of the external extensions won't work :(
you have to either wait a few days or test the extension with an older version of f-spot.
Comment 22 Peter Goetz 2008-02-04 13:25:14 UTC
Thanks maxxer! Using an older version is not a pretty solution but it works and I can continue work. And hopefully go back to svn head real soon.
Comment 23 Peter Goetz 2008-02-07 00:46:26 UTC
Created attachment 104610 [details]
an updated version of the DVD-Slideshow Extension

> And now, few notices about the job:
> 1. You should check if the dvd-slideshow executable exists

done. Used your code to accomplish this. Thanks!

> 2. It created a NTSC DVD, but I have PAL. An option is due! :)

done.

> 3. While elaborating pics, the progress bar still says "DVD control file
> created" as label, and "processing control file" in the progress bar.
> 4. When creation is completed, the progress bar says "Transfer complete".

i was a little bit confused too, so now I removed the progressbar text because i think there is no need for it. At least for now.

> 5. DVD Slideshow creates a .log file along with the .vob and leaves it around.

done.

> 6. It left a .xml file in the destination directory.
> Others will comment the code. I don't have the knowledge to.

I don't understand what you mean here.

rotation of photos is now considered thanks to maxxer's metapixel extension which helped me a lot to see how it works.

in the next updates i want to include an option to directly create an iso file. and in addition to that a progressbar which really reflects the progress of the dvd-slideshow backend.
Comment 24 Maxxer 2008-02-08 08:26:56 UTC
thanks for the update. works better now.

check out the latest SVN. luckily now extensions work again! ;) 
you have to change a few lines to make DVDSlideshow compile. 

now few trivial comments:
1. you can move the 'filters' declaration out of the loop. you just have to leave the 'freq' one inside (my mistake in metapixel).
2. while executing dvd-slideshow, if you press "Cancel" on the dialog the script doesn't stop (not even if you close f-spot). i need to handle this issue for another extension i'm preparing, actually i'm not sure how to do that ;)
3. please add an accelerator to the label in the .addin.xml file. 'D' key will be fine.
4. the log and the xml files have been still left around

ciao
maxxer
Comment 25 Peter Goetz 2008-02-13 15:53:48 UTC
Created attachment 105158 [details]
another update of the DVD-Slideshow Extension

> check out the latest SVN. luckily now extensions work again! ;) 
> you have to change a few lines to make DVDSlideshow compile. 

didnt work for me, so I still use the old version for now. is there any documentation which lines to change? because the extension compiled fine. just no item in the menu :(

> now few trivial comments:
> 1. you can move the 'filters' declaration out of the loop. you just have to
> leave the 'freq' one inside (my mistake in metapixel).

done. actually that's the way I wanted it to do. just mixed it up.

> 2. while executing dvd-slideshow, if you press "Cancel" on the dialog the
> script doesn't stop (not even if you close f-spot). i need to handle this issue
> for another extension i'm preparing, actually i'm not sure how to do that ;)

done. I used the kill function of the process and cleaned the temporary directory left by hand. works pretty well.

> 3. please add an accelerator to the label in the .addin.xml file. 'D' key will
> be fine.

done.

> 4. the log and the xml files have been still left around

should be fine now.

the progress bar now reflects the progress of the backend. it's not perfectly proportional, but at least the user can see, that something is going on.

iso creation is still not possible -> next update
Comment 26 Peter Goetz 2008-02-14 13:47:55 UTC
Created attachment 105234 [details]
minor fixes to work with svn head thanks to maxxer again!
Comment 27 Maxxer 2008-02-15 11:37:01 UTC
Looks fine to me. Great!

Just another note: there's no check if the destination file exists. I've run the export twice with the same name and the previous VOB was deleted without asking.
Comment 28 Peter Goetz 2008-03-28 11:24:59 UTC
Created attachment 108168 [details]
Now checks for existing destination file
Comment 29 Martin Jürgens 2008-04-20 12:56:40 UTC
I have tried the plugin and it works fine for me. But it is a little bit slow for me: Takes 5 minutes to create a .vob of 10 pictures on a Sempron 3000+. Also, it spawns lots of composite porcesses (~10) at the same time which makes my system really not as responsible as it shoud be.

Also, I - as an user - do not really know what to do with the .VOB. Do I just have to burn it to a CD / DVD?
Comment 30 Peter Goetz 2008-04-21 12:43:37 UTC
(In reply to comment #29)
> I have tried the plugin and it works fine for me. But it is a little bit slow
> for me: Takes 5 minutes to create a .vob of 10 pictures on a Sempron 3000+.
> Also, it spawns lots of composite porcesses (~10) at the same time which makes
> my system really not as responsible as it shoud be.

Since this extension uses dvd-slideshow as back-end, these issues are probably connected to dvd-slideshow, which you can test if you invoke dvd-slideshow directly from command line with an appropriate control file.
 
> Also, I - as an user - do not really know what to do with the .VOB. Do I just
> have to burn it to a CD / DVD?

yea, this is still a work in progress, so when the extension is finished, you will have the option to directly create the DVD. Burning the file directly on DVD won't work, since DVDs have a special directory structure. read the man-page of dvd-menu and create this DVD-structure manually if you like.
Comment 31 Martin Jürgens 2008-04-21 13:07:25 UTC
Power to you ;)

Maybe make use of Nautilus-Cd-Burner or Brasero or something. I don't know.
Comment 32 André Klapper 2018-07-12 00:10:45 UTC
F-Spot has moved to https://github.com/f-spot/f-spot/issues

If this Bugzilla ticket is still valid in a recent version of F-Spot, please feel free to post this topic as a ticket in the F-Spot project on GitHub.

Closing this report as WONTFIX as part of Bugzilla Housekeeping as we are planning to shut down GNOME Bugzilla in favor of GNOME Gitlab.