Hi, I have a few WAV files that LiquidSoap's in-built WAV decoder doesn't recognise. These are ADPCM 32-bit Little Endian, Mono, 44.1KHz, 32 bits per sample mono.
One such example: https://drive.google.com/file/d/0BxVNWcNDjD3nN2xwODI5cHdmcXc/view?usp=sharing The output when using the WAV decoder is: 2015/08/06 13:06:09 [decoder:4] Decoder "WAV" failed on "/tmp/test.wav": Wave error: Bad header: unhandled codec! Now, if I try the following, I can decode the file just fine: input.gstreamer.audio(pipeline="uridecodebin uri=file:///tmp/test.wav") Output from the log is: 2015/08/06 13:07:46 [io.gstreamer:5] GStreamer pipeline: uridecodebin uri=file:///tmp/test.wav ! decodebin ! audioconvert ! audioresample ! appsink max-buffers=10 drop=false sync=false name="audio_sink" caps="audio/x-raw,format=S16LE,layout=interleaved,channels=1,rate=44100" While this decodes the WAV files fine, I really want to be able to play playlists containing WAV files, so this doesn't quite work. I see that LiquidSoap has the ability to use Gstreamer to decode files. I've tried the following to force LiquidSoap to decode WAV files using Gstreamer: set("decoder.file_extensions.gstreamer",["wav"]) set("decoder.mime_types.gstreamer",["audio/x-wav", "audio/wav"]) set("decoder.debug",true) set("gstreamer.debug_level",10) This results in: 2015/08/06 13:04:49 [decoder:4] Trying method "GSTREAMER" for "/tmp/test.wav"... 2015/08/06 13:04:49 [decoder.gstreamer:5] File /tmp/test.wav has audio. 2015/08/06 13:04:49 [ads:5] Queue is empty! 2015/08/06 13:04:49 [ads:5] Failed to prepare track: no file. 2015/08/06 13:04:49 [decoder:4] Decoder "GSTREAMER" failed on "/tmp/test.wav": Gstreamer.Failure! 2015/08/06 13:04:49 [decoder:3] Unable to decode "/tmp/test.wav" as {audio=2;video=0;midi=0}! Using liquidsoap 1.1.1-7+b1 on Debian 8 (Jessie). Can anyone see anything obvious with my configuration? Kind Regards, Jonathan
------------------------------------------------------------------------------
_______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
