[gst-devel] Buffers.....dont have any.

Sojan James sojan at malkauns.nsc.com
Fri Mar 22 04:40:05 CET 2002


That would involve having v4l2 code in the mpeg decoder plugin. I dont
want that. Video presentation will be done only by the v4l2 plugin.
The user should be able to connect the mpeg src, to the v4l2 sink. The
other sources could be composite, tuner, etc.

I think this will provide a consistent access to all the video sources for
the end  user. The output of the MPEG decoder can be considered as a video
source, just like the composite or tuner input. I would like the user to see
this...

     ---------   (1)   ----------  (2)
    |filesrc  |------>| MPEG DEC |->
     ---------         ----------
     ---------   (2)                         (2)   --------
    |Composite| ------------------->  (?)   ----->|v4l2sink|
     ---------                                     --------
     ---------   (2)
    |Tuner    | ------------------->
     ---------
       ...
       ...
       (1) -> Video/MPEG         (The composite and tuner inputs are)
       (2) -> Video/RAW          ( part of the v4l2 source plugin   )

Building the filter graph for displaying MPEG streams will not be very
different from displaying other kinds of video.
Also, when I have a different decoder, I just write the plugin for that
without any dependancy on the v4l2 plugins.

What are your thoughts on this?

Regards
Sojan.

On 22 Mar 2002, Ronald Bultje wrote:

> On Fri, 2002-03-22 at 13:46, Sojan James wrote:
> > One more thing I forgot to mention, the MPEG decoder is not controlled by
> > the V4L2 driver. The output of the MPEG decoder just turns up as another
> > input for the V4L2 driver. To the V4L2 driver, it is just another digital
> > video stream.
> [..]
> > This is what I had in mind.
> >
> >  --------      ----------                 -----------------
> > | filesrc| -> | MPEG Dec | -> (video) -> |Video sink (v4l2)|
> >  --------      ----------                 -----------------
> >                     |
> >                      -> audio
>
> You can just make the mpegdec a sink on itself without any additional
> elements after it. This is how v4lmjpegsink does it too.
>
> Ronald
>
> --
> -   .-.
> -   /V\    | Ronald Bultje <rbultje at ronald.bitfreak.net>
> -  // \\   | Running: Linux 2.4.18-XFS and OpenBSD 3.0
> - /(   )\  | http://ronald.bitfreak.net/
> -  ^^-^^
>
>
>





More information about the gstreamer-devel mailing list