I am using gstreamer and wanted to know what the source and sink for the VGA camera and composite out can be in my gstreamer pipeline.
can i use #define VIDEO_SRC "v4l2src" for the source
and
#define VIDEO_SINK "TIDmaiVideoSink"
Thanks
Hi,
Yes, you can use v4l2src element to capture the video from the camera and the TIDmaiVideoSink element to show the video on the screen. If you are using RR SDK you can use this pipeline to do live preview:
fbset -disable; gst-launch -e v4l2src always-copy=false ! dmaiaccel ! TIDmaiVideoSink sync=false displayStd=v4l2 displayDevice=/dev/video2
Cristina Murillo
Embedded Software Engineer, RidgeRun
Thanks Cristina, that is very helpful.
I compiled the fakesrc example in the GStreamer App Dev manual, pg.73.#
I dont get the black/white output with
g_object_set (G_OBJECT (flt), "caps",
gst_caps_new_simple ("video/x-raw-rgb",
"width", G_TYPE_INT, 384,
"height", G_TYPE_INT, 288,
"framerate", GST_TYPE_FRACTION, 1, 1,
"bpp", G_TYPE_INT, 16,
"depth", G_TYPE_INT, 16,
"endianness", G_TYPE_INT, G_BYTE_ORDER,
NULL), NULL);
any other bitdepth i have used so far does not help. Any help on the correct bitdepth for the TIDmaiVideoSink?
Thanks.