Hello. I'm a new liquidsoap user and I'm having trouble getting a random
WMA file to decode. Here's the script I use
#!/home/dave/.opam/system/bin/liquidsoap --debug
set("log.file.path","/home/dave/playlists/liquidstream.log")
set("log.stdout", true)
set("decoder.debug", true)
myplay = playlist("/home/dave/playlists/allfmt.m3u", mode="normal")
normplay = normalize(myplay)
crossplay = smart_crossfade(normplay)
output.icecast(
%vorbis(channels=2, quality=0.3),
id="MyStream",
fallible=true,
host="localhost",
port=9500,
mount="stream.ogg",
icy_metadata="true",
password="donthackme",
crossplay)
...which is fairly simple (so far). The relevant section in the log file
is this:
017/09/09 16:33:06 [decoder:4] Trying method "GSTREAMER" for
"/home/dave/playlists/random.wma"...
2017/09/09 16:33:06 [decoder.gstreamer:4] Invalid file extension for
"/home/dave/playlists/random.wma"!
2017/09/09 16:33:06 [decoder:3] Unable to decode
"/home/dave/playlists/random.wma" as {audio=2;video=0;midi=0}!
Yet gst-play plays this ok:
> gst-play-1.0 random.wma
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/dave/playlists/random.wma
Redistribute latency...
0:00:02.0 / 0:04:46.8
Am I doing something wrong? Do I need "more code" here? Thanks in
advance for any assistance.
--
Dave Hayes - Consultant - Altadena CA, USA - d...@jetcafe.org
>>>> *The opinions expressed above are entirely my own* <<<<
Nobody wants constructive criticism. It's all we can do to
put up with constructive praise.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users