v4l2rc MJPEG to Videomixer slow - alternative pathways?

ashwath ashwath at bodega.ai
Sat Sep 9 02:12:12 UTC 2017


Sure, here is an example:

gat-launch-1.0 videomixer name=mix sink_0::xpos=640 sink_0::ypos=240
sink_1::xpos=0 sink_1::ypos=0 sink_2::xpos=0 sink_2::ypos=480 sink_3::xpos=0
sink_3::ypos=960  ! videorate ! video/x-raw,framerate=30/1 ! appsink
name=app enable-last-sample=true emit-signals=true sync=false drop=true
qos=true blocksize=2764800 v4l2src device=/dev/video0 do-timestamp=true !
image/jpeg,height=480,width=640,framerate=30/1 !  jpegparse ! jpegdec !
videoconvert ! video/x-raw,format=BGR ! mix.sink_0 v4l2src
device=/dev/video1 do-timestamp=true !
image/jpeg,height=480,width=640,framerate=30/1 !  jpegparse ! jpegdec !
videoconvert ! video/x-raw,format=BGR ! mix.sink_1 v4l2src
device=/dev/video2 do-timestamp=true !
image/jpeg,height=480,width=640,framerate=30/1 !  jpegparse ! jpegdec !
videoconvert ! video/x-raw,format=BGR ! mix.sink_2 v4l2src
device=/dev/video3 do-timestamp=true !
image/jpeg,height=480,width=640,framerate=30/1 !  jpegparse ! jpegdec !
videoconvert ! video/x-raw,format=BGR ! mix.sink_3

I was reading that MJPEG has no timestamps -- is it possible that I can set
the timestamp settings differently?  Or perhaps my blocksize is wrong?

Thanks



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list