Playing DSD files via gst-libav from a UPnP server does not work

Robert Tiemann rtie at gmx.de
Wed Jul 7 11:50:21 UTC 2021


On 7/7/21 11:49 AM, Tim Müller via gstreamer-devel wrote:
> Hi Robert,

Hi!

> The 'wrong format' error you're getting might be fixed by adding a
> "typefind" element between souphttpsrc and the demuxer.
>
> Alternatively, or in addition, you could also try:
>
>   souphttpsrc ! queue2 ring-buffer-max-size=5242880 ! ...
>
> which will make the demuxer operate in pull mode, which is generally
> preferable.

I tried both in different variations, but I keep getting the same
errors. I suspected that the problem might be related to push vs pull
mode, but unfortunately adding the queue2 element didn't fix it.

> You can also try
>
>   playbin3 ring-buffer-max-size=5242880 audio-sink=pulsesink
> uri=http://...

I tried this, and it works for FLAC:

$ gst-launch-1.0 playbin3 ring-buffer-max-size=5242880 audio-sink=pulsesink uri='http://www.lindberg.no/hires/test/2L-056_04_stereo-44kHz-16b.flac'

It does not work for DSD from the same server:

$ gst-launch-1.0 playbin3 ring-buffer-max-size=5242880 audio-sink=pulsesink uri='http://www.lindberg.no/hires/test/2L-056_04_stereo_DSD64.dsf'

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'souphttpsrc0': gst.soup.session=context, session=(SoupSession)NULL, force=(boolean)false;
Setting pipeline to PLAYING ...
Buffering, setting pipeline to PAUSED ...
ERROR: from element /GstPlayBin3:playbin3-0/GstURIDecodeBin3:uridecodebin3-0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0/avdemux_dsf:avdemux_dsf0: Internal data stream error.
Additional debug info:
../../../../../../../opt/source/GStreamer/gst-libav/ext/libav/gstavdemux.c(1636): gst_ffmpegdemux_loop (): /GstPlayBin3:playbin3-0/GstURIDecodeBin3:uridecodebin3-0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0/avdemux_dsf:avdemux_dsf0:
streaming stopped, reason error (-5)
Execution ended after 0:00:00.010721105
Setting pipeline to NULL ...
Freeing pipeline ...

What else can I try? Thank you for your help!

> Cheers
>  Tim

Best regards,
Robert


More information about the gstreamer-devel mailing list