FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Setup Issues › OGG ssc setup question
- This topic has 10 replies, 3 voices, and was last updated 18 years, 2 months ago by jsievert.
-
AuthorPosts
-
01/09/2006 at 5:22 AM #554jsievertGuest
I am trying to set up mt-daapd version 3.0_pre1372 in Gentoo and I am having some trouble getting the transcodeing to work. From what I have seen in the fourm so far my config file just needs these two lines.
ssc_codectypes = ogg,flac,alac
ssc_prog = /usr/bin/mt-daapd-ssc.shAnd then if I do a mt-daapd -f -d5 I should see a new thread being started fotr the transcode process. Instead all I am getting in Itunes is a quick scratch. Any ideas as to what I am missing?
Thanks in advance….
01/09/2006 at 7:42 AM #6203risimmonsukParticipantTo serve ogg files, you also need to put ogg in the filetypes list in the config file (ie along with mp3 etc), as well as in the ssc_codectypes section.
Also your mt-daapd needs to have been built with –enable-ogg (and –enable-flac if you want flac also).
HTH
01/09/2006 at 9:49 PM #6204rpeddeParticipant@jsievert wrote:
I am trying to set up mt-daapd version 3.0_pre1372 in Gentoo and I am having some trouble getting the transcodeing to work. From what I have seen in the fourm so far my config file just needs these two lines.
ssc_codectypes = ogg,flac,alac
ssc_prog = /usr/bin/mt-daapd-ssc.shAnd then if I do a mt-daapd -f -d5 I should see a new thread being started fotr the transcode process. Instead all I am getting in Itunes is a quick scratch. Any ideas as to what I am missing?
Thanks in advance….
Try a -d9, and set a logfile in the config. Then you’ll better see what’s going on, including what the command line is that it’s executing.
You’ll want to make sure you have oggdec installed as well.
— Ron
02/09/2006 at 2:25 AM #6205jsievertGuestWell I know I do have .ogg in the extension line.
extensions = .mp3,.m4a,.m4p,.ogg
I also do see the ogg files in itunes, just all I get is about a one second screech.
As for haveing oggdec installed, I did check and it was there. Also I do have the vorbis use flag enabled.
When I get home tonight I will enable -d9 and the log file and post info from both.
Thanks for the hints!
02/09/2006 at 4:45 PM #6206jsievertGuestGot the log file with -d 9, here is the part where it finds the song and starts the stream.
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Original URI: daap://192.168.100.102:3689/databases/1/items/3923.ogg
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Translated URI: /databases/1/items/3923.ogg
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Preparing to find handler
2006-09-02 11:38:50 (b5a8aba0): Thread 1: URI Match!
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Time is 1157215130 seconds after epoch
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Setting time header
2006-09-02 11:38:50 (b5a8aba0): Added *Date=Sat, 2 Sep 2006 16:38:50 GMT*
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Using non-default handler
2006-09-02 11:38:50 (b5a8aba0): Added *Accept-Ranges=bytes*
2006-09-02 11:38:50 (b5a8aba0): Added *DAAP-Server=mt-daapd/svn-1372*
2006-09-02 11:38:50 (b5a8aba0): Added *Content-Type=application/x-dmap-tagged*
2006-09-02 11:38:50 (b5a8aba0): Added *Cache-Control=no-cache*
2006-09-02 11:38:50 (b5a8aba0): Added *Expires=-1*
2006-09-02 11:38:50 (b5a8aba0): Executing: select * from songs where id=3923
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Length of file (remaining) is 11135911
2006-09-02 11:38:50 (b5a8aba0): Updating Content-Type from application/x-dmap-tagged to audio/ogg
2006-09-02 11:38:50 (b5a8aba0): Added *Content-Length=11135911*
2006-09-02 11:38:50 (b5a8aba0): Added *Connection=Close*
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Connection: Close
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Content-Length: 11135911
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Expires: -1
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Cache-Control: no-cache
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Content-Type: audio/ogg
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header DAAP-Server: mt-daapd/svn-1372
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Accept-Ranges: bytes
2006-09-02 11:38:50 (b5a8aba0): Emitting reponse header Date: Sat, 2 Sep 2006 16:38:50 GMT
2006-09-02 11:38:50 (b5a8aba0): Entering config_set_status
2006-09-02 11:38:50 (b5a8aba0): Exiting config_set_status
2006-09-02 11:38:50 (b5a8aba0): Session 0: Streaming file ‘2Pac – Troublesome 96′.ogg’ to 192.168.100.45 (offset 0)
2006-09-02 11:38:50 (b5a8aba0): Finished streaming file to remote: 196608 bytes
2006-09-02 11:38:50 (b5a8aba0): Entering config_set_status
2006-09-02 11:38:50 (b5a8aba0): Exiting config_set_status
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Terminating
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Freeing request headers
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Freeing response headers
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Freeing request vars
2006-09-02 11:38:50 (b5a8aba0): Thread 1: Closing fd
2006-09-02 11:38:50 (b5a8aba0): With thread 1 exiting, 1 are still runningHope that helps, let me know if you need any more info.
Thanks again.
02/09/2006 at 8:07 PM #6207rpeddeParticipant@jsievert wrote:
Got the log file with -d 9, here is the part where it finds the song and starts the stream.
Doesn’t look like you are using the script transcoder. Check your [plugins] section, and make sure you have “ssc-script.so” listed as a plugin.
It should look like:
[plugins]
plugin_dir = /path/to/plugin/dir
plugins=rsp.so,ssc-script.so— Ron
02/09/2006 at 11:50 PM #6208jsievertGuestGetting closer!
I added :[plugins]
plugin_dir = /usr/share/mt-daapd/plugins/
plugins = rsp.so,ssc-script.soAnd this is what I got in the log files.
Session 0: Streaming file ’50 Cent – In My Hood.ogg’ to 192.168.100.45 (offset 0)
Transcoding /data/Music/50 Cent/The Massacre/50 Cent – In My Hood.ogg with ssc-script/svn-1372
Executing /usr/bin/mt-daapd-ssc.sh “/data/Music/50 Cent/The Massacre/50 Cent – In My Hood.ogg” 0 231.000 “ogg”
Updating Content-Type from application/x-dmap-tagged to audio/wav
Added *Connection=Close*
Emitting reponse header Connection: Close
Emitting reponse header Expires: -1
Emitting reponse header Cache-Control: no-cache
Emitting reponse header Content-Type: audio/wav
Emitting reponse header DAAP-Server: mt-daapd/svn-1372
Emitting reponse header Accept-Ranges: bytes
Emitting reponse header Date: Sat, 2 Sep 2006 23:46:04 GMT
wavstreamer: Write failed.
Error writing to file: Broken pipe
Got CLD signal. Reaping
Entering config_set_status
Exiting config_set_status
Thread 2: Terminating
Thread 2: Freeing request headers
Thread 2: Freeing response headers
Thread 2: Freeing request vars
Thread 2: Closing fdLooks like their is a problem with wavstreamer. Any more ideas?
Thanks
04/09/2006 at 6:53 PM #6209rpeddeParticipant@jsievert wrote:
Looks like their is a problem with wavstreamer. Any more ideas?
Don’t think so. What client are you using? Looks like it doesn’t play .wav files.
— Ron
04/09/2006 at 10:29 PM #6210jsievertGuestiTunes 6.0.5 on Mac OS X
04/09/2006 at 10:59 PM #6211rpeddeParticipant@jsievert wrote:
iTunes 6.0.5 on Mac OS X
so much for that idea.
You might check the transcode script (/usr/bin/mt-daapd-ssc.sh) and make sure it has a full path to oggdec.
That’s about all I can think of.
-
AuthorPosts
- The forum ‘Setup Issues’ is closed to new topics and replies.