Mixing multiple sources with different framerates

Eduardo Herraiz edu at ifisc.uib-csic.es
Thu Oct 6 02:56:18 PDT 2011


Mike,

Thank you for the answer. :D
I think are a good recommendations but didn't work for me.

I have continued to your directions and this is the result:

gst-launch-0.10 \
 videomixer2 name=mix ! video/x-raw-yuv,width=1536,height=768,framerate=25/1 ! xvimagesink \
  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, but unimproved. The same framerate (1/1) like the last version.
I can't see any information about the frames dropped or added in console from videorate.
I still getting errors, every second:
""""""""""""
gstbasesink.c(2866): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
There may be a timestamping problem, or this computer is too slow.
""""""""""""

I will continue trying to configure videorate properly, but if you (or anybody) have a happy idea of how I can solve this, let me know. :D

Bests
Edu

-- 
*****************************************************************
Edu Herraiz - Web developer
http://www.eduherraiz.com
email: edu at ifisc.uib-csic.es
*****************************************************************


 


More information about the gstreamer-devel mailing list