FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › Transcoding for dummies
- This topic has 5 replies, 2 voices, and was last updated 16 years, 12 months ago by rpedde.
04/04/2006 at 3:16 AM #222AnonymousInactive
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:1704/04/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.04/04/2006 at 11:53 AM #4180AnonymousInactive
Ok, but how do I run it from mt-daapd?
Andy04/04/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:5804/04/2006 at 12:26 PM #4182AnonymousInactive
The perl script takes two arguments, so will this work:
ssc_prog = /path/to/mt-daapd-ssc.pl myfile 0
Andy04/04/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.