Documentation

  • 2021.2
  • 06/30/2021
  • Public Content

Run a GStreamer* Video Pipeline using libv4l2 in Docker* Container

Run the Sample Application

  1. Connect a video camera compatible with libv4l2, such as a webcam.
  2. Go to the
    AMR_containers
    folder:
    cd <edge_insights_for_amr_path>/Edge_Insights_for_Autonomous_Mobile_Robots_<version>/AMR_containers
  3. Run the command below to start the Docker container:
    sudo chmod a+rw /dev/video* ./run_interactive_docker.sh amr-ubuntu2004-full-flavour-sdk:<TAG>
  4. Run
    gst-launch
    from the Docker container:
    gst-launch-1.0 v4l2src ! autovideosink
    The image from the webcam is displayed.

Summary and Next Steps

In this tutorial, you learned how to run a Gstreamer video pipeline using libv4l2 as video source.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.