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
#define VIDEO_SINK "TIDmaiVideoSink"
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
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",
"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,
any other bitdepth i have used so far does not help. Any help on the correct bitdepth for the TIDmaiVideoSink?