Why is videobox/videomixer dropping frames?
wally_bkg
wb666greene at gmail.com
Tue Aug 16 07:02:07 PDT 2011
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
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.
More information about the gstreamer-devel
mailing list