![background image](http://html.mh-extra.com/html/e-con-systems/e-cam50_cu96/e-cam50_cu96_getting-started-manual_517937017.webp)
16
e-CAM50_CU96 Getting Started Manual
$ media-ctl -d /dev/media0 -p
10.
Run the following commands to configure the media control entities.
$ chmod +x initialize.sh
$ ./initialize.sh
Note
: The media control commands are given as shell script.
Now, the camera module is loaded and ready for streaming.
11.
Run the following Gstreamer command to stream the camera.
$ gst-launch-1.0 rkcamsrc device=/dev/video0 io-
mode=dmabuf ! video/x-raw, width=<WIDTH>,
height=<HEIGHT>, framerate=60/1 ! fpsdisplaysink
video-sink=rkximagesink text-overlay=false -v
Where,
<WIDTH>
=width of the frame (example: 1920),
<HEIGHT>
=height of
the frame (example: 1080) which can be changed as per the requirement.