Get Started Guide

  • 2021.3
  • 10/21/2021
  • Public Content

Run a GStreamer* Audio 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> eiforamr
  3. Run
    with audio sample from the Docker container:
    gst-launch-1.0 filesrc location=/home/eiforamr/data_samples/media_samples/sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! testsink
    Since the Docker container does not contain physical audio hardware, this tutorial is simulated using the
    Execution time is displayed after the audio is finished, for example,
    Execution ended after 0:01:14.349431920
    Expected output:
    #gst-launch-1.0 filesrc location=/data_samples/media_samples/sample.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! Testsink error: XDG_RUNTIME_DIR not set in the environment. Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:01:14.349609320 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...


If the following error is encountered:
$ ./ amr-ubuntu2004-full-flasvour-sdk:<TAG> eiforamr bash: ./ Permission denied
Give executable permission to the script:
$ chmod 755

Summary and Next Steps

In this tutorial, you learned how to run a GStreamer* audio pipeline using GStreamer* plugins.

Product and Performance Information


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