# No sound when playing audio with gst-play-1.0

**URL:** <https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681>\
**Category:** Jetson Nano\
**Created:** [December 27, 2019, 2:19pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681 "2019-12-27T14:19:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harry16](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Harry16](https://forums.developer.nvidia.com/u/Harry16)\
**Post date:** [December 27, 2019, 2:19pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/1 "2019-12-27T14:19:10Z")

</div>

I have a Jetson Nano Developer Kit running the pre-built ubuntu image. When playing video or audio with totem player from GUI or command line, I can hear sound from the HDMI monitor. But when I play anything (wav, mp3, mp4) from command line with gst-play-1.0 or gst-launch-1.0, there is no sound, although everything looks fine in the command line.

```auto
$ DISPLAY=:0 totem audiofile.wav
$
$ DISPLAY=:0 gst-play-1.0 audiofile.wav
Press 'k' to see a list of keyboard shortcuts.
Now playing /tmp/audiofile.wav
Redistribute latency...
0:01:32.5 / 0:01:32.5
Reached end of play list.

```

The attachments are the diagrams of gstreamer pipelines from totem and gst-play-1.0. I couldn’t find any essential difference between them.

I found this post [https://devtalk.nvidia.com/default/topic/1049272/jetson-nano/jetson-nano-no-sound-output/](https://devtalk.nvidia.com/default/topic/1049272/jetson-nano/jetson-nano-no-sound-output/)  
But I believe it’s different from mine, because I can hear sound when using totem.

Thanks.

 ![totem.png](https://global.discourse-cdn.com/nvidia/original/2X/4/494011a822f1b9f6215e85d0bf159a38bddd6f04.png)  
 ![gst-play.png](https://global.discourse-cdn.com/nvidia/original/2X/0/096059ef468e49a22b4fc5b46cefe469b9d28b27.png)

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [December 29, 2019, 11:01pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/2 "2019-12-29T23:01:25Z")

</div>

Hi Harry16,

Have you checked the from Audio Troubleshooting section from L4T doc?See:[https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fasoc\_driver.17.2.html%23wwpID0E0VD0HA](https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fasoc_driver.17.2.html%23wwpID0E0VD0HA)

---

<div class="post-metadata">

**Author:** ![Harry16](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Harry16](https://forums.developer.nvidia.com/u/Harry16)\
**Post date:** [December 31, 2019, 5:10pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/3 "2019-12-31T17:10:50Z")

</div>

> [@kayccc](#):
>
> Hi Harry16,
> 
> Have you checked the from Audio Troubleshooting section from L4T doc?See:[https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fasoc\_driver.17.2.html%23wwpID0E0VD0HA](https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fasoc_driver.17.2.html%23wwpID0E0VD0HA)

It’s a great document with a lot of useful information. Unfortunately none of the toubleshooting part seems to be able to explain why one software can produce sound while another can’t.

Thank you, anyway. Happy new year.

---

<div class="post-metadata">

**Author:** ![DaneLLL](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/danelll/32/14043_2.png) [@DaneLLL](https://forums.developer.nvidia.com/u/DaneLLL)\
**Post date:** [January 9, 2020, 9:52am UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/4 "2020-01-09T09:52:14Z")

</div>

Hi,  
You can run ‘aplay -l’ to list all audio output device, and configure it to audiosink:

```auto
$ gst-play-1.0 file:///home/nvidia/test_stereo_44100Hz_16bit_PCM.wav <b>--audiosink='alsasink device=hw:0,3'</b>

```

---

<div class="post-metadata">

**Author:** ![Harry16](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Harry16](https://forums.developer.nvidia.com/u/Harry16)\
**Post date:** [January 9, 2020, 7:46pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/5 "2020-01-09T19:46:58Z")

</div>

> [@DaneLLL](#):
>
> Hi,  
> You can run ‘aplay -l’ to list all audio output device, and configure it to audiosink:
> 
> ```auto
> $ gst-play-1.0 file:///home/nvidia/test_stereo_44100Hz_16bit_PCM.wav <b>--audiosink='alsasink device=hw:0,3'</b>
> 
> ```

It works for me. Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![nadeemm](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/nadeemm/32/367020_2.png) [@nadeemm](https://forums.developer.nvidia.com/u/nadeemm)\
**Post date:** [October 14, 2021, 11:54pm UTC](https://forums.developer.nvidia.com/t/no-sound-when-playing-audio-with-gst-play-1-0/109681/6 "2021-10-14T23:54:52Z")

</div>


