View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 1 post ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Oct 06, 2005 11:37 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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
#
# 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.
[/url]


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu