LinHES Forums http://forum.linhes.org/ |
|
Viewing jpegs throough the MediaMVP myth front end http://forum.linhes.org/viewtopic.php?f=6&t=6333 |
Page 1 of 1 |
Author: | marc.aronson [ Thu Oct 06, 2005 11:37 pm ] |
Post subject: | Viewing jpegs throough the MediaMVP myth front end |
I use the MediaMVP myth front end in my family room. One of the problems I ran into is that the MediaMVP Myth front-end cannot reliably play back jpg images. To work around this I have created some scripts that automatically create mpeg 2 videos out of the jpeg images. When played, you are watching a "slide show" where each of the jpeg's is displayed for ~4-seconds. While this is a bit of a kludge, it enables me to view my digital photos. If you are interested in these script you can download them from http://home.comcast.net/~marc.aronson/genslideshow.tar . Below is a synopsis of the script. Marc Code: #!/bin/bash [/url]
# # This script will convert all the jpeg images located in # /myth/gallery into videos. These videos are placed in the # directory rooted at /myth/Slideshows. The directory scructure # of /myth/Slideshows will replicate /myth/gallery. An example # helps: # # /myth/gallery/photos_from_2001/birthday_party/*.jpg # /myth/gallery/photos_from_2001/summer_vacation/*.jpg # # Will generate: # # /myth/Slideshows/photos_from_2001/birthday_party.mpg # /myth/Slideshows/photos_from_2001/summer_vacation.mpg # # Other notes: # # 1. If /myth/Slideshows does not exist, it is created # automatically. # 2. The script "genss.sh" must be in a directory that is # on your path. On my machine I put it in /usr/local/bin. # 3. These scripts will not spend time re-generating an existing # mpg file unless one or more of the corresponding jpg images has # a more recent time stamp than the mpg file. # 4. The "genss.sh" script defaults to NTSC -- if you need PAL, you # need to edit "genss.sh" and set the variable "standard" to PAL # near the top of the file. Note that I have not tested the use # of PAL, as my environment is NTSC. # 5. Temporary files are created in /myth/tmp. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |