4th April 2006 at 3:16 am #222
How do I run the perl transcoding script from mt-daapd? Do I create a m3u playlist file along the lines of:
/home/andy/foo/mt-daapd-ssc.pl http://mystream.ra 0
Will this work with real audio streams?
What is the offset parameter for and what should it be set to for transcoding streams?
Will the transcoder (mplayer in this example) be stopped automatically when I stop listening to the stream?
P.S. I already have mplayer installed and working – I use it as an internet radio recorder.
Post edited by: ajayre, at: 2006/04/03 20:174th April 2006 at 9:02 am #4179
The perl transcoder is just like the shell transcoder, only it supports more formats. It doesn’t do other types of streams.4th April 2006 at 11:53 am #4180
Ok, but how do I run it from mt-daapd?
Andy4th April 2006 at 12:03 pm #4181
Just like the shell one.
Basically, put in your extensions an “unsupported” file type. Let’s say “ogg”. so:
extensions = .mp3,.m4a,.m4p,.ogg
okay, then set up your ssc stuff:
ssc_codectypes = ogg
ssc_prog = /path/to/mt-daapd-ssc.pl
then force a rescan, either by deleting your db, or running with the -r option. Then when you click on an ogg file in iTunes, it gets converted to .wav by mt-daapd-ssc.pl
You can also use mt-daapd-ssc.sh, which requires less “stuff”, but works with less file types, though.
Post edited by: rpedde, at: 2006/04/04 06:584th April 2006 at 12:26 pm #4182
The perl script takes two arguments, so will this work:
ssc_prog = /path/to/mt-daapd-ssc.pl myfile 0
Andy4th April 2006 at 2:00 pm #4183
nope. just ssc_path=/path/to/mt-daapd-ssc.pl
the arguments get filled by the server automatically.
The forum ‘Setup Issues’ is closed to new topics and replies.