multiple input source application

dhkdlasdnr alsdnr4874 at gmail.com
Tue Jun 5 10:15:17 UTC 2018


Hi.

I'm trying to make three input source application.

I tested this code in gst-launch-1.0

gst-launch-1.0 v4l2src device=/dev/video9 ! 'video/x-raw,
format=(string)RGB, width=640, height=480' ! videorate ! 'video/x-raw,
framerate=(fraction)1/1' ! jpegenc ! multifilesink
location=low/test_low%d.jpeg v4l2src device=/dev/video5 ! 'video/x-raw,
format=(string)RGB, width=640, height=480' ! videorate ! 'video/x-raw,
framerate=(fraction)1/1' ! jpegenc ! multifilesink
location=mid/test_mid%d.jpeg v4l2src device=/dev/video2 ! 'video/x-raw,
format=(string)RGB, width=640, height=480' ! videorate ! 'video/x-raw,
framerate=(fraction)1/1' ! jpegenc ! multifilesink
location=top/test_top%d.jpeg

It works well.

So my question is to make application, how to coding that pipeline?

I have experience about one input source application. but I don't know how
to handle multiple source.



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


More information about the gstreamer-devel mailing list