• 2021.2
  • 06/30/2021
  • Public Content

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

Run the Sample Application

  1. Go to the
    cd <edge_insights_for_amr_path>/Edge_Insights_for_Autonomous_Mobile_Robots_<version>/AMR_containers
  2. Run the command below to start the Docker container:
    ./ amr-ubuntu2004-full-flavour-sdk:<TAG>
  3. Run
    with video sample from the Docker container:
    gst-launch-1.0 playbin uri=file:///data_samples/media_samples/sample.mpg
    The video file is displayed in a window in the container:
    Expected output:
    gst-launch-1.0 playbin uri=file:///data_samples/media_samples/sample.mpg Setting pipeline to PAUSED ... Pipeline is PREROLLING ... error: XDG_RUNTIME_DIR not set in the environment. Got context from element 'sink':,"\(GstGLDisplayX11\)\ gldisplayx11-0"; Redistribute latency... Got context from element 'playsink':,"\(GstGLDisplayX11\)\ gldisplayx11-0"; Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "playbin0". Execution ended after 0:00:13.346589366 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...

Summary and Next Steps

In this tutorial, you learned how to run a Gstreamer video pipeline using Gstreamer plugins, and display a video file in a window in the container.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at