Re: media 'slideshow': movies + pictures
On Wed, May 28, 2014 at 9:36 PM, The Wanderer <wanderer@fastmail.fm> wrote:
> Stephen Allen said that Shotwell can do both, and Joe Zien said that
> Gwenview can as well. You might look at one of those.
Also: I just ran VLC on a directoryful of jpgs, and it happily played
me a slideshow with ten seconds per frame. Mixing up media types seems
to work fine:
$ vlc "Music/American McGee's Alice Original Music Score (2000)
FLAC/15 Chris Vrenna - Flying on the Wings of Steam.flac"
"LetHerGo2.mid" "Pictures/flickr-3486537506-original.jpg"
"/video/Clips/Frozen - Let It Go.mkv"
Well, actually my VLC won't play the MIDI file (which, incidentally,
is a completely different piece of music from the one in the mkv at
the end), but it happily mixes types. Point it at some_directory/* and
watch it go!
Randomizing is left as an exercise for the reader, though. Personally,
I'd script it as a Pike one-liner, thus:
$ pike -e 'Process.exec("vlc",@Array.shuffle(get_dir()))'
But I don't know how to do it cleanly with just shell commands.
Presumably it would be possible with sort -R, but I'd rather drop to a
scripting language :)
ChrisA
Reply to: