Logitech C920 vidsrc syntax
Ingemar Johansson
ingemar.s.johansson at ericsson.com
Fri Mar 1 11:55:03 UTC 2019
Hi
I am trying to realize the pipeline below with the c-code snippet further
below. The problem I have is with the src.vidsrc property or parameter. My
effort is obviously wrong, so how do one fix this ?
BR
/Ingemar
============
gst-launch-1.0 -v -e uvch264src name=src auto-start=true
initial-bitrate=2000000 src.vidsrc !
video/x-h264,width=640,height=480,framerate=30/1 ! rtph264pay ! udpsink
host=88.129.244.8 port=5000
============
videosrc = gst_element_factory_make ("uvch264src", "encoder");
capsfilter = gst_element_factory_make ("capsfilter",
"capsfilter");
videopayload = gst_element_factory_make ("rtph264pay", "payload");
capsfiltercaps =
gst_caps_from_string("video/x-h264,width=640,height=480,framerate=30/1");
g_object_set (G_OBJECT(capsfilter), "caps", capsfiltercaps, NULL);
g_object_set(G_OBJECT(videosrc), "name", "src", NULL);
g_object_set(G_OBJECT(videosrc), "auto-start", true, NULL);
g_object_set(G_OBJECT(videosrc), "initial-bitrate", 2000000, NULL);
g_object_set(G_OBJECT(videosrc), "*src.vidsrc*", NULL, NULL); // ?????
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list