# GStreamer video hangs if no audio device present

**URL:** <https://discourse.libcinder.org/t/gstreamer-video-hangs-if-no-audio-device-present/1963>\
**Category:** Using Cinder\
**Created:** [March 17, 2022, 1:25pm UTC](https://discourse.libcinder.org/t/gstreamer-video-hangs-if-no-audio-device-present/1963 "2022-03-17T13:25:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabor\_papp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/gabor_papp/32/769_2.png) [@gabor\_papp](https://discourse.libcinder.org/u/gabor_papp)\
**Post date:** [March 17, 2022, 1:25pm UTC](https://discourse.libcinder.org/t/gstreamer-video-hangs-if-no-audio-device-present/1963/1 "2022-03-17T13:25:00Z")

</div>

Hi,

We are playing a video on Mini PC without speakers in Linux. We encountered a strange issue that the video player hangs, but if we connect a headphone to the audio output the video starts playing. It seems like a gstreamer/linux audio issue and not a Cinder one, though.  
Has anyone encountered something like this before? Do you have any suggestions to fix this?

-Gabor

---

<div class="post-metadata">

**Author:** ![petros](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/petros/32/26_2.png) [@petros](https://discourse.libcinder.org/u/petros)\
**Post date:** [March 18, 2022, 8:59am UTC](https://discourse.libcinder.org/t/gstreamer-video-hangs-if-no-audio-device-present/1963/2 "2022-03-18T08:59:00Z")

</div>

Hey Gabor,

I vaguely remember something similar happening on a setup I had years ago although I dont remember the particular details of said setup anymore - If I m not mistaken, somehow the default audio output, systemwide, was being set to be the GPU because of the HDMI connection present so I remember changing the default audio output through `pavucontrol` in order to overcome this issue.

Maybe you can check what available audio outputs you get through `pavucontrol` and what is currently being set and try to change that to see if it helps.

HTH,  
Petros

---

<div class="post-metadata">

**Author:** ![gabor\_papp](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/gabor_papp/32/769_2.png) [@gabor\_papp](https://discourse.libcinder.org/u/gabor_papp)\
**Post date:** [March 18, 2022, 4:02pm UTC](https://discourse.libcinder.org/t/gstreamer-video-hangs-if-no-audio-device-present/1963/3 "2022-03-18T16:02:32Z")

</div>

Thanks Petros. Your suggestion worked.
