On Wed, 2005-07-20 at 13:27 +0100, Karl Lattimer wrote:
> I spotted that too, but esentially gstreamer is a pipeline framework
> which can take input as a file/uri/device pipe it through conversion for
> screen/file/device/uri output with any number of plugable elements in
> between which can manipulate the stream.

Xine's architecture in fact isn't much different.  You have a stream and
a video port and in between you can have an arbitrarily complex,
dynamically manipulatable post plugin tree.  It's too bad that Python
bindings aren't part of the project like they are with gstreamer,
otherwise I surely would have looked at xine much earlier on.  (Another
reason I never really used Xine is because xine-ui is crap.)  But kaa
will provide those bindings, and in fact (even though I've only been
working on it since the weekend), you can already do some very cool
things.  Consider this working example:

        from kaa import display, xine, main
        
        win = display.X11Window( size=(640,480) )
        x = xine.Xine()

        # (video, audio)
        vo = x.open_video_driver("xv", window = win)
        ao = x.open_audio_driver()
        
        # (eq2 filter -> video), audio
        post = x.post_init("eq2", video_targets = [vo])
        post.set_parameters(gamma = 1.3, contrast = 1.3)
        
        # stream -> (eq2 filter -> video), audio
        stream = x.stream_new(ao, post.get_video_inputs()[0])
        stream.open("movie.avi")
        stream.play()
       
        win.show()
        main()

The main thing Xine lacks, IMO, is a rich set of filters like MPlayer.
But the biggest challenge there is simply time to port them, not
anything its design prevents.

> On the whole its looking like gstreamer is going to be _the_ linux media
> framework replacing all of the various players over time, kind of like a
> direct show equivalent.

It's possible.  It has a fair ways to go still before it displaces Xine
and mplayer. :)

> Maybe by gstreamer 1.0 we'll have 99% support (which is probably better
> than microsoft media player) and it could then be time for people to
> start submitting feature requests and build a wishlist for
> ThreePointZero!

Man, Freevo 3.0 will blow your mind. :)

Jason.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to