Mixing multiple sources with different framerates

Eduardo Herraiz edu at ifisc.uib-csic.es
Thu Oct 6 04:01:54 PDT 2011


Hi, 

Looking for another solutions I tried with the option "sync=false" in the xvimagesink :
gst-launch-0.10 \
 videomixer2 name=mix ! video/x-raw-yuv,width=1536,height=768,framerate=25/1 ! xvimagesink sync=false \
  v4l2src device="/dev/video0" ! video/x-raw-yuv,width=640,height=480 ! videoscale ! video/x-raw-yuv,width=512,height=384 ! ffmpegcolorspace ! \
    videobox border-alpha=0 top=-384 left=0 ! videorate silent=FALSE ! video/x-raw-yuv,framerate=25/1 ! queue ! mix. \
  v4l2src device="/dev/video1" ! video/x-raw-yuv,width=720,height=576 ! videoscale ! video/x-raw-yuv,width=512,height=384 ! ffmpegcolorspace ! \
    videobox border-alpha=0 top=0 left=0 ! videorate silent=FALSE ! video/x-raw-yuv,framerate=25/1 ! queue ! mix. \
  v4l2src device="/dev/video2" ! video/x-raw-yuv,width=1024,height=768 ! ffmpegcolorspace  ! \
     videobox border-alpha=0 top=0 left=-512 ! videorate silent=FALSE ! video/x-raw-yuv,framerate=25/1 ! queue ! mix.

It works with a high framerate!!, but reading about sync option seems to be a debugging option:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-ximagesink.html

I can't see any information about dropped or added frames with videorate.

Can I use this option for a production application? What's wrong with this?

Bests 
Edu

*****************************************************************
Edu Herraiz - Web developer
http://www.eduherraiz.com

IFISC
email: edu at ifisc.uib-csic.es
*****************************************************************


 


More information about the gstreamer-devel mailing list