MpegSlideShow

The problem

You have a bunch of jpg's and want to create slideshow with some music in background, i.e., mpeg.

The solution

  • Download jpgind and ffmpeg, compile and install them.
  • Run jpgind
jpgind --mpeg -S 320 /path/to/jpeg/files/*.jpg
  • Now you have ./mpeg subdirectory and shell script mkmpeg.sh. You need to edit mkmpeg.sh
if ( [ "$1" != "" ] && [ -f "$1" ] ) ; then
                            ^^^^
  • Now, run
./mkpeg.sh /path/to/file.mp3

and you get index.mpeg which could be played using mplayer