Phonon and video for linux (v4l)

Matthias Kretz kretz at kde.org
Wed Oct 4 22:57:47 CEST 2006


On Wednesday 04 October 2006 20:12, Detlev Casanova wrote:
> > from what I know it should be possible to support v4l in a gstreamer or
> > NMM based backend without adding code that directly accesses the v4l
> > device(s).
>
> Do you mean Manhattan Neighborhood Network by MNN ? I don't know what it is
> but I can have a look.

NMM: http://www.networkmultimedia.org/

> I think I would have a look at the Gstreamer backend but I thought
> GStreamer was a concurrent to Phonon :S

It's like this: 

.| ----------------- | ----------------- | ----------------- |
.|| KDE Application ||| KDE Application ||| KDE Application ||
.| ----------------- | ----------------- | ----------------- |
.|         |         |         |         |         |         |
.|         V         |         V         |         V         |
.| ----------------- | ----------------- | ----------------- |
.||     Phonon      |||     Phonon      |||     Phonon      ||
.| ----------------- | ----------------- | ----------------- |
.|         |         |         |         |         |         |
.|         V         |         V         |         V         |
.| ----------------- | ----------------- | ----------------- |
.||   Phonon-Xine   ||| Phonon-GStreamer|||   Phonon-NMM    ||
.| ----------------- | ----------------- | ----------------- |
.|         |         |         |         |         |         |
.|         V         |         V         |         V         |
.| ----------------- | ----------------- | ----------------- |
.||      Xine       |||    GStreamer    |||       NMM       ||
.| ----------------- | ----------------- | ----------------- |

So a Phonon backend can make use of GStreamer (or NMM or Xine or whatever else 
might make sense, DirectX on Windows, QuickTime on MacOS). Phonon is only a 
comparatively simply multimedia API while the backend is the adaptor between 
the Phonon API and a (full featured) media framework.

> > There are the xine and avkode backends which could make use of such an
> > addition though as neither xine nor ffmpeg provide means to work with
> > v4l.
>
> Which backends are already implemented or going to be implemented ?

There are Xine, NMM and Avkode backends. A GStreamer backend was just started. 
I don't think there will be any more backends than that and I think one of 
Xine or Avkode will die at some point (in order to not spread our little 
forces too much).

> > What features were you thinking of implementing? I'd start with
> > displaying the v4l video stream in a VideoWidget
> > (Xv/XShm/OpenGL/whatever) and then look into implementing VideoDataOutput
> > (which needs some API love first, though).
>
> Of course, streaming is the priority. After that, I think that implementing
> some goodies like the moving head on new Logitech UVC webcams and maybe the
> button to take a snapshot that isn't often used in applications but is
> sometimes usefull for some people.

Streaming == Using the v4l interface for Video-Chat / VoIP+Video?

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/phonon-backends/attachments/20061004/25fdb004/attachment.pgp 


More information about the Phonon-backends mailing list