About Me

My photo
Kalyan Kumar Pasupuleti B-Tech(Information Technology). • RedHat Certified Engineer(RHCE) • Directory Services and Authentication Certificate of Expertise(LDAP) • Red Hat SELinux Policy Administration Certificate of Expertise(SELinux) • Network Services Security Certificate of Expertise (Network Services) • RedHat Certified Virtualization Administrator(RHCVA) • Red Hat Certified Security Specialist (RHCSS) Working as Cloud DevOps engineer

Monday, December 27, 2010

How to make a DVD slideshow

On returning from a vacation with friends, everyone said 'Well, now you can do a nice DVD with all our photos, right? " Certainly, work in IT means I need to know anything about computers, let's say I used this opportunity to learn a bit about this topic in Linux. Software to move from camera to PC the images Software for storing photos and process them A software to create a slideshow from images, perhaps with some effect Software to prepare a DVD with interactive menus and music. A burning software Excellent, lets start

On returning from a vacation with friends, everyone said 'Well, now you  can do a nice DVD with all our photos, right? "Certainly, work in IT means I need to know anything about computers, let's say I used this opportunity to learn a bit about this topic in Linux.I found myself with about 3000 photos from five different cameras, to put in order and select for a slide show of about an hour, to accomplish all we need:
  • Software to move from camera to PC the images
  • Software for storing photos and process them
  • A software to create a slideshow from images, perhaps with some effect
  • Software to prepare a DVD with interactive menus and music.
  • A burning software
Excellent, let's start

Move photos from camera to computerIf you have a card reader for SD/miniSD, and you can move photos directly on your hard drive, skip to step 2, otherwise connect your camera via USB and be ready to learn gtkam.

gtKam is a graphical application that lets you interact with your digital camera.    gtKam works directly with your digital camera, allowing you to view, save and delete images. You can also download images on your computer and make changes with image manipulation programs, such as GIMP.
Before you start using gtKam, you need to configure it so that it can work with your digital camera. Choose from the menu Camera =>Add Camera...
From the popup window, you can choose your camera from the list, or let gtKam automatically choose, selecting Detect. In my case (Coolpix L20) was not automatically detected and I had to put the generic module USB PTP Class Camera, but then I saw the pictures correctly.Once you have added your camera, it will be shown as an icon on the left pane of the main window gtKam. You just need to configure gtKam your camera for the first time.Select the directory where you stored your images and pictures stored will be immediately loaded as thumbnails in the main panel. From this panel, click on the images you want, now save it to disk by choosing File => Save selected photos. If you want to save all pictures, click Select => All, then save the images to disk, at this point my advice is to save everything, in the next step we will select them more easily.

Here the list of supported cameras Gphoto the library used by gtkamAt the end of this point we have all our photos, not arranged, in one or more directories.

We have to sort and edit photos.
Right now we have all photos in one or more directories, and we need a software to view them, put them in order, select them and make minor changes, there are many excellent software that perform this work, my choice fell on Shotwell.
To start, I tell you that this software is able to do exactly what gtKam do, so if you don't plan to use gtKam for other things you can ignore what I said in the preceding paragraph, you start Shotwell, connect your camera to the USB port and select it as data source to load images. Shotwell also uses Gphoto then supported machines are the same gtKam (use the link above)The first thing to do is to import photos, then go to File => Import file from Folder this will open a new window where you can select one or more directories, note that the default action is to copy the pictures into a directory Picture, if you do not want this, uncheck the option in the lower left.
After this import you will have the dates on the left panel, auto-detected from your photo and on the central panel the gallery with all photos, you can select a number of photos and match them to a new event (you can choose the name) In this way we will not have the date only division but also a division for you to significant events on the left panel. (eg the stages of a trip).Shotwell can give also labels (tags) for each photo, you can give how many tag you want for each photo, this will give us an additional search criteria and classification methods for our photos.Use one of these two options to create the chapters of our DVD, we'll split our vacation in chapters (thematic sections or data you do), this will be very useful for what we do when we create the DVD.

While selecting the photos for the various chapters you can also make minor changes, with Shotwell you can rotate, crop, reduce red eye, adjust exposure, saturation, hue and temperature of each picture, and if this is not enough it is possible to use an external editor (eg Gimp).And if you have not yet convinced of the goodness of this software add that it can also publish the photos directly on three of the most popular sites that deal with online photos: Facebook, Flickr and Picasa Web Albums.At the end of this point we have all our photos sorted and divided into multiple directories. these will become our "chapters".

Create slide show
It's time to use another very interesting software Imagination.
This software is a real gem, you can create slideshows from a picture gallery, and add as many professional options, let's see how.Well, we have our photos sorted into directories representing our chapters of the DVD, we begin with a Slideshow => Import Pictures go to the directory and select all the images. At this point we have a screen like the one in: a big panel to left that represents the image you're working on, a smaller panel on the right  with a number of options to be applied to the image you're working on, including:Slide setting
In this area we can choose the Transition Type, or how the image comes into the scene, the program provides more than 60 effects you can see some examples in this page, you can also select the duration of each transition (slow, normal or fast) and for how many seconds the slides must remain.Slide MotionThrough this section you can achieve special effects (effetto Ken Burns Effect), decide that a certain second place there is a zoom to a certain area of the photo, then zoom out and zoom to follow a different area, but this is just an example. To add this effect do this:
  1. Click Add to add a stop point, choose the zoom level, and how many seconds should last, if you go on the picture and hold the left mouse button pressed you can move the photo to select the area to enlarge.
  3. Click on Add again and add another effect to zoom in or zoom out
  5. Repeat as desired, you can also update or delete individual stop points.
Slide Text
Here you can enter a text to the picture and choose where to store it, and if it appear with some effects or not.Finally in the bottom of the screen you will see the sequence of your photos, as will be shown in the slide show in this area you can change the order of slides, delete those you do not need or add blank slides, through the menu Slide => Add Empty Slide, so as to slide with comments or explanations. You can also select more than one slide and apply all the same changes, for example, you can select all the slides and decide that the duration is 5 seconds, or that the transition type is random for all photos.But I forgot a keyboard with interesting options at the top, here it is possible to rotate the image, save and delete pictures and also import the music, we can combine our slide show even a file.ogg or.mp3 (not all distributions allows), we match the first slide an audio file that covers all our slideshows, in case there are no longer problems will be made final on a gradient, if it is too short ... well the music  will end before the slide show, but you can also put more music file one after another.Now we do a preview of our slide show and if we are satisfied go to get ready for export Export => VOB (DVD Video), choose the name for (. vob files are added automatically) and select the most suitable type of TV, this oeprazione can be a bit long time for a break.At the end of this point we have. Vob file representing the chapters of our CD.

Here's a nice demo of what you can do with this great product.

Prepare the DVD menu
I did some tests with graphics programs, but nothing left me really satisfied to this point and so there will be no nice screenshot, because I used a command line tool dvd-menu. Its use is pretty easy I recommend to use with these options:dvd-menu -p -n 'Nome del DVD -b Start.jpg -c -fadein -fadeout -theme default -t "Chapter 1 " -t "Chapter 2" -t "Chapter 3"  -f chapter1.vob -f chapter2.vob -f chapter3.vob -a /home/capecchi/mp3/the_man_who_sold_the_world.mp3Explanation of options:-p = pal (Do not put anything for NTSC)-n = DVD Ttile.-b = Background image for the menu.-c = continuous mode, will start automatically  next chapter when one end.-fadein/-fadeout = graphic effects to embellish when you enter and exit the menu-t = chapter title, there must be a -f option for every -t-f = vob files to match the corresponding text, there must be a -f for each title.-a = Indicates a sound fileWith these options will create a directory dvd_fs, containing all the audio and video files, check its size with the command du -hs dvd_fs -> 1.9G   dvd_fs; in my case I have 2GB of space, I could create a directory EXTRA and put the originals of photos, videos or other extra things, then everything will end up on the DVD. We have a preview of our results through xine with the command:xine -g -u 0 dvd:"`pwd`/dvd_fs/"We should have the exact output with menus, music and everything working, if this preview does not work does not burn, but go back and check the steps, burning now would be just a wasting a DVD. Once we got our results we create .iso file with the commandmkisofs -dvd-video -udf -o dvd.iso dvd_fsThis will create a file dvd.iso with the size you saw with the du command, so check before you have all the space available.We created the DVD menu, we have tested it and generated a .iso file ready to be burnedIf you want a graphic alternative try to look at this Q DVD Author.

Masterizziamo il file .iso
now we just have to burn the file .Iso, products in this area are really so many I use Brasero as already present in my laptop with Ubuntu and Gnome.Just launch Brasero, choose Burn Image and select our .iso file, all done.

However if you would like to make it from the command line, try:wodim dev=/dev/hda driveropts=burnfree fs=14M speed=10 -dao -eject -overburn -v image.iso

finally have your DVD, put it on TV bigger than you can and good vision, once again you have not disappointed friends.

No comments:

Post a Comment