Optional (Only for Sony* IMX390 Setups): Run a GStreamer* Video Pipeline using Sony’s IMX390 MIPI Sensor in Docker* Container
If you want to enable Sony’s IMX390 MIPI sensor, you must use the
Resource Design Center (RDC), have a Corporate Non-Disclosure Agreement
(CNDA) in place, and ask for download access.
Run the Sample Application
- Download the Tiger Lake IPU6 Packages on the host (it contains the IPU RPM libraries and IPU firmware).
- Unzip the archive, and copy the RPM folder to the /tmp folder:unzip 645460.zip tar -xf ipu6_rpm_beta.tar.bz2 cp -r rpm /tmp
- Run the Docker* image as root:./run_interactive_docker.sh amr-ubuntu2004-full-flavour-sdk:<TAG> root -e "--volume /sys/kernel/:/sys/kernel:rw --volume /sys/class:/sys/class:rw"
- If needed, export the corresponding proxies in the container.
- Install the RPM package in the Docker* container:apt-get update apt-get install rpm
- Set isys_freq:echo 400 > /sys/kernel/debug/intel-ipu/buttress/isys_freq
- Install the IPU6 firmware and other necessary user-space libraries:rpm -ivh /tmp/rpm/* --nodeps –force
- Prepare the setup:export DISPLAY=:0 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/pkgconfig export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib64:/usr/lib export GST_PLUGIN_PATH=/usr/lib/gstreamer-1.0 export GST_GL_PLATFORM=egl xhost +
- Run the GStreamer* pipeline:gst-launch-1.0 icamerasrc device-name=imx390 printfps=true num-vc=1 ! video/x-raw,format=NV12,width=1920,height=1200 ! videoconvert ! XvimagesinkExpected result: A video opens, showing images captured with the camera using Sony’s IMX390 MIPI sensor.
Summary and Next Steps
In this tutorial, you learned how to set up and run a GStreamer* video
pipeline using Sony’s IMX390 MIPI sensor.
As a next step, see the Run OpenVINO™ Sample Applications in Docker* Container tutorial.