Skip to content

This is an R script that was used to convert a desktop windows application to an audiobook.

License

Notifications You must be signed in to change notification settings

jromich/desktop-app-to-audiobook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Desktop PC App to Audiobooks

This is an R script that was used to convert a desktop windows application to an audiobook. The application was a study guide for the CFA Level 3 curriculum. It contained a video of someone talking about each topic and a window with a slideshow that would auto-advance along with the video.

Since it was difficult to spend so much time in front of a PC, I wanted to be able to watch the content on my phone/tablet and listen to it in the car or the gym. I also wanted a printout of the slides to refresh and for taking notes. This script extracted a set of audiobooks and pdfs. The slides from the desktop application were inserted into the audiobook as chapter book covers -- so each time the audio would move to a new chapter, the slide would change in the audiobook.

Before (on the windows desktop application)

Alt text

After (on my phone)

Alt text

###Note

This code requires that you own the original content and license. I no longer have a copy and the format of the application has probably changed since this was created (2010). The code most likely won't work with the latest release and should only be used as a reference for similar projects. Also, I think the changing of the slides in the audiobook only worked on an iphone/ipad, not on android -- at least at that time.

###Overview

I ended up creating this script that takes the following steps:

  1. reads in the XML configuration file for the application

  2. scans the XML for timestamped sections of the video and images that match

  3. extracts the audio from the flash video files and saves them

  4. creates a POD config file for the audiobook assembly

  5. assembles an audiobook for each section, assigning a slide image to serve as the 'book cover' for each chapter

  6. saves a PDF version of the slides that can be printed for note taking

Required:

  • the R XML package
  • slideshowassembler
  • ffmpeg
  • ImageMagick convert

About

This is an R script that was used to convert a desktop windows application to an audiobook.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages