Media player with crossfading effect.

Carl Friis-Hansen ubuntuuser at carl-fh.com
Fri May 15 14:04:27 UTC 2009


anthony baldwin wrote:
> Carl Friis-Hansen wrote:
>> Raseel Bhagat wrote:
>> <snip>
>>> Hmm..  Ok, even if crossfading is not possibl, is there a way to
>>> prevent
>>> the
>>> glitches one sees when players like vlc or mplayer are transitioning
>>> from
>>> one media file (video) to another ?
>>
>>> I just want to prevent this. I don't care if I am staring at a blank
>>> screen
>>> for a second, as long as the screen does not STOP.
>> </snip>
>>
>> I had a stupid thought:  What if you continuously supply a video feed
>> from
>> your individual video files.  Then *any* video player would do.  How to
>> pipe this video feed is beyond me, I think, but I am sure you or
>> somebody
>> else on list can do it.
>>
>
> That wouldn't be too hard.
>
> cd /dir/full/of/video/files
>
> find . -type f | mplayer -playlist - -loop 0
>
> I use a similar script to loop audio files.
>
> cd /dir/fulla/tunes
> find . -type f | mplayer -playlist - -shuffle -loop 0
>
> just added shuffle in there for that one.

Nice, but what you do here is supplying mplayer with a sequence of files
and according to the OP this will cause interruption and visibility of the
desktop.  What I mean is that mplayer should be fed from a "live" stream
and this live stream in turn from a play list of files.  This way mplayer
might refrain from close-down / open-up procedure and in turn not show the
desktop.

-- 
                         ---------=oOOo=---------
                           Carl Friis-Hansen
                           http://carl-fh.com/
                           Phone: +46 372 15033
                         ---------=oOOo=---------







More information about the ubuntu-users mailing list