Why is videobox/videomixer dropping frames?

Stefan Kost ensonic at hora-obscura.de
Tue Aug 16 08:38:23 PDT 2011


On 08/16/11 16:02, wally_bkg wrote:
> Stefan Kost wrote:
>>
>> Do without videobox and use sink_0:xpos and sink_0:ypos properties on
>> videomixer. Maybe try to avoid the AYUV conversion, if you don't want to
>> blend.
>>
>>
> Didn't find any useful documentation on videomixer, but I stumbled onto a
> website with some decent examples (
> http://wiki.oz9aec.net/index.php/Gstreamer_Cheat_Sheet#Compositing ) that
> suggested I needed a third source to set the bigger frame in which to
> position the two frames
C'mon, you are around for a while
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videomixer.html

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/GstVideoMixerPad.html

the last example pipeline uses the xpos/ypos attributes.

Stefan
>
> This produces two stacked images one on top of the other:
>
> gst-launch videotestsrc pattern=0 ! \
> video/x-raw-yuv,format =\(fourcc\)I420, framerate=\(fraction\)10/1,
> width=320, height=240 ! \
> videomixer name=mix sink_0::alpha=1.0 sink_0::xpos=0 sink_0::ypos=0
> sink_1::alpha=1.0 sink_1::xpos=0 sink_1::ypos=240  ! xvimagesink \
> videotestsrc pattern=1 ! video/x-raw-yuv,format=\(fourcc\)I420,
> framerate=\(fraction\)10/1, width=320, height=240 ! mix. \
> videotestsrc pattern=2 ! video/x-raw-yuv,format=\(fourcc\)I420,
> framerate=\(fraction\)10/1, width=320, height=480 ! mix.
>
> It'll be a starting point for me to do it with live video.
>
> This produces a side by side stack:
>
> gst-launch videotestsrc pattern=0 ! \
> video/x-raw-yuv,format =\(fourcc\)I420, framerate=\(fraction\)10/1,
> width=320, height=240 ! \
> videomixer name=mix sink_0::alpha=1.0 sink_0::xpos=0 sink_0::ypos=0
> sink_1::alpha=1.0 sink_1::xpos=320 sink_1::ypos=0  ! xvimagesink \
> videotestsrc pattern=1 ! video/x-raw-yuv,format=\(fourcc\)I420,
> framerate=\(fraction\)10/1, width=320, height=240 ! mix. \
> videotestsrc pattern=2 ! video/x-raw-yuv,format=\(fourcc\)I420,
> framerate=\(fraction\)10/1, width=640, height=240 ! mix.
>
>
> What would be the most efficient way to produce the bigger frame in which to
> position the two subframes?  None of the large frame should be visible.
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Why-is-videobox-videomixer-dropping-frames-tp3736107p3747292.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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