Hello all.
mikesLr's question keeps bugging me!
It sure would be nice if we could have a sound and picture "screensaver /
slideshow". And useful, too, for many occasions: family gatherings (family
pictures), romantic setting (to seduce Madame Musher again!), maybe even
as some kind of ad playing on a recycled compy on a shelf in your small
shop (why not?).
~~~
I've been exploring a couple of avenues with this in mind. One of these
avenues consists of using ffplay as basis. As I hope everybody knows, ffplay
(or avplay) is traditionnally used to play movie formats.
I don't know how many Pups come ex-factory with ffplay or the equivalent
avplay, but the following works for one (1) piece of music and one (1) picture:
Code: Select all
ffplay -nodisp 01-Anna\'s_Theme.ogg & ffplay MV5BMjIyMjE3MjMwN15BMl5BanBnXkFtZTcwODUyNzkwNQ\@\@._V1_.jpg
Notes:
-- Don't pay much attention to the individual picture or piece in that
one-liner. The above uses the soundtrack of "The Red Violin" and pictures
of it available on the Web.
But this one-liner can most easily be replicated if you put even a single
piece of music, and a single jpg or png picture in a dedicated directory.
(I say "single" for now; but it obviously will have to become a "list" in
short order.)
-- it seems that the two instances of ffplay have to be in that order (music,
then picture).
-- with the < -nodisp > parm, ffplay shows no "waves" or whatever in a
"movie" window, just the description and stats of the musical piece, like any
CLI music player (e.g. mpg321, ogg123, SoX's "play", etc.).
At that point we could use a urxvt wrapper window of perhaps 1 line x 90
col. to show only the last line of the musical piece, the one that "wiggles"
showing the sound stats, and place that little window as info below or
above the slideshow window itself.
-- Once the script has some substance to offer, some type of nice GUI (such
as M_W's above) could be considered / added.
~~~
First advantage would be: ease of distribution. Only a script would be
needed since the Pup would already have the "motor" (ffplay/avplay) for
doing this.
Second advantage would be: no limitation of formats. Ffplay can play any
musical format you throw at it, even the ones proprietary to M$ (I am
thinking here of the popular wma format in particular). And of course it can
display any picture format.
~~~
I'll try to keep you posted.
Anybody having this kind of experience with ffplay or similar, please chime
in to share it? I'd be most grateful. I do not wish to reinvent the wheel if I
can avoid it!
BFN.