GNOME Bugzilla – Bug 340767
Export as video / DVD Slideshow
Last modified: 2018-07-12 00:10:45 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.
This would be a nice addition. As well as export to a Photo CD (kodak Photo CD standard?) perhaps?
I really want this one. I think it would be great if there was something like a template system for the dvd menu.
one more good candidate for a plugin...
This is exactly what my mom was looking for last weekend..
Michael, tell your mom to contact Bengt, he has a work-in-progress patch for this (if I remember well)
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$
Created attachment 82135 [details] Latest untested version
*** Bug 468127 has been marked as a duplicate of this bug. ***
tagged as gnome-love, easy to implement as an add-in.
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.
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.
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
Good job Peter, (have not tried it yet, but will later). Great that this one got some very much needed attention... :)
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...
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.
(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
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!!
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?
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...
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?
(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.
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.
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.
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
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
Created attachment 105234 [details] minor fixes to work with svn head thanks to maxxer again!
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.
Created attachment 108168 [details] Now checks for existing destination file
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?
(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.
Power to you ;) Maybe make use of Nautilus-Cd-Burner or Brasero or something. I don't know.
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.