Nvidia jetson agx cannot play MP3 in the container when using the container

Please provide the following info:
Hardware Platform: [Example: DRIVE AGX Xavier™ Developer Kit, DRIVE AGX Pegasus™ Developer Kit]
Software Version: [Example: DRIVE Software 10, DRIVE Software 9]
Host Machine Version: [Example: native Ubuntu 18.04]
SDK Manager Version: [Example: 1.0.1.5538]
nvidia jetson agx cannot play MP3 in the container when using the container.
1、Run “play xxx.mp3”
2、Error message
play FAIL ao: Could not open device: error 5
play FAIL sox: Sorry, there is no default audio device configured

Moving to Drive AGX forum for resolution.

Hi @15279051022,

May I know which release you are using? DRIVE Software 10.0? Thanks!

Hello, VicNV. I used nvidia’s SDK Manager (Jetpack4.3) to install the system for AGX. The version of Docker is 19.03.

The version of cuda is 10.0

Hi 15279051022,

If you’re using the Jetson AGX Xavier, you can use gstreamer as below:

gst-launch-1.0 filesrc location=<filename.mp3> ! mpegaudioparse !
avdec_mp3 ! audioconvert ! alsasink -e

For any Jetson platform issue, please open your topic at https://forums.developer.nvidia.com/c/agx-autonomous-machines/jetson-embedded-systems/70