You are here: Home » Topic » Transcoding for dummies

Transcoding for dummies

This topic contains 5 replies, has 2 voices, and was last updated by  rpedde 11 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #222

    ajayre
    Participant

    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?

    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

    #4179

    rpedde
    Participant

    The perl transcoder is just like the shell transcoder, only it supports more formats. It doesn’t do other types of streams.

    #4180

    ajayre
    Participant

    Ok, but how do I run it from mt-daapd?

    Andy

    #4181

    rpedde
    Participant

    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.

    — Ron

    Post edited by: rpedde, at: 2006/04/04 06:58

    #4182

    ajayre
    Participant

    The perl script takes two arguments, so will this work:

    ssc_prog = /path/to/mt-daapd-ssc.pl myfile 0

    ?

    Andy

    #4183

    rpedde
    Participant

    nope. just ssc_path=/path/to/mt-daapd-ssc.pl

    the arguments get filled by the server automatically.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.