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 17 years, 6 months ago by
rpedde.
-
AuthorPosts
-
04/04/2006 at 3:16 AM #222
Anonymous
InactiveHow 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?
Thanks!
Andy
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:17
04/04/2006 at 9:02 AM #4179rpedde
ParticipantThe 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 #4180Anonymous
InactiveOk, but how do I run it from mt-daapd?
Andy
04/04/2006 at 12:03 PM #4181rpedde
ParticipantJust 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.
— Ron
Post edited by: rpedde, at: 2006/04/04 06:58
04/04/2006 at 12:26 PM #4182Anonymous
InactiveThe perl script takes two arguments, so will this work:
ssc_prog = /path/to/mt-daapd-ssc.pl myfile 0
?
Andy
04/04/2006 at 2:00 PM #4183rpedde
Participantnope. just ssc_path=/path/to/mt-daapd-ssc.pl
the arguments get filled by the server automatically.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.