Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Each page would be navigable with the player's 'next' button. The result should have a directory called VIDEO_TS, to ensure it will play in old players.

share|improve this question
1  
Now, this is a novel question. I've wondered how to get the data out of a DVD's files where you have a slideshow as one of the extras on the disc, but I've never wondered how to create one, let alone from a PDF. –  Jonathan M Davis Nov 27 '10 at 21:09

3 Answers 3

up vote 14 down vote accepted

First that you need to do is convert PDF file into series of images - one image for one page. To achieve this we could use convert from ImageMagick program:

convert -scale 1600x1600 -density 300 pdffile.pdf somename.jpg

This command convert pdffile.pdf into series of somename-NUMBER.jpg files.

Next thing is to create slideshow from these files. For this we could use dvd-slideshow tool.

dir2slideshow -n 'NAME' -t 5 DIR
dvd-slideshow -n 'NAME' -f NAME.txt

First command will create file with description of slideshow with name NAME, time for picture 5 sec from pictures in directory DIR. Second command will generate vob file that you need to burn to DVD (to VIDEO_TS dir). Quick introduction to dvd-slideshow you could read in this blog.

In example that I presented there pages are changed automatically (-t option in dir2slideshow). I'm not sure if navigation that you want could be easily achieved. My only idea is create DVD with chapters - one chapter for one JPG file and constantly loop each chapter until the 'next' button is pressed.

In this solution you could change slide time to 2 seconds and pause it after change, so when you unpause it next slide will be displayed after one second.

share|improve this answer
    
If the pdf has a lot of text, maybe try to use png and not jpg. I'm thinking about jpg artefacts... –  Johan Nov 29 '10 at 7:41
    
How to do the chapter thing? –  Tshepang Nov 29 '10 at 17:17
1  
I'm not sure if it is possible, but maybe these two links will help you: dvdauthor.sourceforge.net/doc/x35.html and dvdauthor.sourceforge.net/doc/dvdauthor.html –  pbm Nov 29 '10 at 17:44

I would be very surprised if there is software that does this automatically, but if you take a screenshot of every page and save this as a graphics image, then most DVD creation software will allow you to take each image into a menu structure.

If its a long PDF, then its going to be quite a bit of work.

share|improve this answer

I believe DVD-Slideshow is capable of doing this.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.