feed gstreamer with glc

Edward Hervey bilboed at gmail.com
Mon Nov 26 23:57:35 PST 2012


Hi,

  glc seems to output y4m streams (and not just raw video). Replace
videoparse with y4mdec and it should do the trick.

   Edward

On Mon, 2012-11-26 at 21:49 +0100, Paolo Bolzoni wrote:
> Dear gstreamer list,
> 
> I am trying to feed gstreamer with the output of glc*. But I cannot
> get it to work, here is my experiments.
> 
> Open three shells and execute this commands, you should see that
> mplayer works.
> 
> first shell, mplayer reads the stream.
> $ mkfifo mux
> $ mkfifo video
> $ mplayer -identify video
> 
> second shell, glc converts from its internal format.
> $ glc-play mux -t -y 1 -o video
> 
> third shell, glc starts the application and starts the screencast.
> $ glc-capture --disable-audio -s -o mux glxgears
> 
> In my system mplayer gave some useful information about what
> gstreamer pipeline I might need:
> 
> [lavf] stream 0: video (rawvideo), -vid 0
> VIDEO:  [I420]  300x300  0bpp  30.000 fps    0.0 kbps ( 0.0 kbyte/s)
> ID_VIDEO_FORMAT=I420
> ID_VIDEO_WIDTH=300
> ID_VIDEO_HEIGHT=300
> 
> So instead of mplayer in the first shell I try to execute:
> $ gst-launch-1.0 -tev filesrc location=video \
>     ! videoparse height=300 width=300 framerate=30 \
>     ! autovideosink
> 
> The output is wrong, the gears appear distorted and
> after a while the gears stop altogether. Maybe there is some
> payload?
> 
> So my question is, how is possible to feed gstreamer with glc video?
> 
> Thanks,
> Paolo
> 
> 
> * https://github.com/nullkey/glc
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list