This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Audio playback not working on HDMI using gstreamer

Hi,

I am using EZSDK version 05_05_02_00. I can playback audio quite well via HDMI interface using aplay using the command

arecord -r 48000 | aplay -D plughw:0,1.

But I am not able to do the same using gstreamer using the following pipeline:

gst-launch alsasrc num-buffers=-1 ! 'audio/x-raw-int, rate=48000' ! alsasink device="plughw:0,1"

Pipeline goes to PLAYING state,  but no audio comes out.

Kindly suggest a solution, thanks in advance

  • Solved!!

    Worked when the following pipeline was used :

    gst-launch alsasrc num-buffers=-1 ! 'audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2' ! alsasink device="plughw:0,1"