FireFly Media Server › Firefly Media Server Forums › Firefly Media Server › Nightlies Feedback › rsp transcoding in 1082
- This topic has 8 replies, 2 voices, and was last updated 18 years, 6 months ago by gordo.
-
AuthorPosts
-
25/05/2006 at 12:30 AM #295gordoParticipant
Anything special needed to make transcoding w/ rsp work? I get format not supported for flac despite having it in the config. Works fine with daapd using the perl script.?
I’m running on gentoo linux (x86) with Soundbridge client
25/05/2006 at 2:45 AM #4734rpeddeParticipant@gordo wrote:
Anything special needed to make transcoding w/ rsp work? I get format not supported for flac despite having it in the config. Works fine with daapd using the perl script.?
I’m running on gentoo linux (x86) with Soundbridge client
Hrm. Works For Me ™.
Can you verify it works from iTunes over daap? That would be a good data point.
p.s. I thought you were all about the linkstation, gordo?
25/05/2006 at 1:01 PM #4735gordoParticipantIt does work when the Soundbridge connects via daap.
I was using a linkstation (kuro-HG actually cause I bricked the linkstation playing with the kernel) but I decided to get a new cpu for my pc which turned out to be incompatible with my mobo so I got a new mobo and was forced to buy new memory and before I knew it I had a whole new pc – so I moved my hard drive from the linkstation and used the old pc as a server.
Interestingly when I switched to the PC I got better streaming of transcoded flac over wifi – somehow the extra cpu speed allows the thing to keep the wifi pipeline full and I don’t rebuffer. With the kuro-HG I had to be wired for lossless to work – it’s fairly close to the limit for 802.11b I guess.
26/05/2006 at 4:42 AM #4736rpeddeParticipant@gordo wrote:
It does work when the Soundbridge connects via daap.
did you compile with –enable-flac?
check your db and see what codectype it sees…
foo@bar$ sqlite /path/to/songs.db
sqlite> select codectype from songs where fname like '%.flac';
It should be “flac” and not “unkn”
— Ron
27/05/2006 at 1:41 PM #4737gordoParticipantI get flac for codec when I do this – I am running sqlite3 database – could that be it?
27/05/2006 at 7:04 PM #4738rpeddeParticipant@gordo wrote:
I get flac for codec when I do this – I am running sqlite3 database – could that be it?
No, it should go. It must not be running the transcode script well. Is everything absolutely pathed in the transcode script?
I’m working on transcode stuff right now. Let me muck around in a bit and see if anything obvious pops out.
— Ron
27/05/2006 at 9:23 PM #4739gordoParticipantI’m pretty sure path etc is OK – transcode is fine with daapd, I’m using perl script not sh?
27/05/2006 at 9:32 PM #4740rpeddeParticipant@gordo wrote:
I’m pretty sure path etc is OK – transcode is fine with daapd, I’m using perl script not sh?
good point. strange, though, as they use the exact same code to transcode. Can you crank up the debug and see what kind of file it’s trying to send? You should see a message about adding a response header for “content-type: audio/wav”. If it’s sending it as audio/flac, that’s the issue… then it didn’t realize for some reason that it should be transcoding.
28/05/2006 at 2:32 AM #4741gordoParticipant2006-05-27 22:20:32: Thread 0: Entering ws_dispatcher (Connection from 192.168.1
5.20)
2006-05-27 22:20:32: Thread 0: got request
2006-05-27 22:20:32: Request: GET /rsp/info HTTP/1.0
2006-05-27 22:20:32: Thread 0: Read: User-Agent: Roku SoundBridge/2.5
2006-05-27 22:20:32: Thread 0: Adding header *User-Agent=Roku SoundBridge/2.5*
2006-05-27 22:20:32: Added *User-Agent=Roku SoundBridge/2.5*
2006-05-27 22:20:32: Thread 0: Read: Host: 192.168.15.12:3689
2006-05-27 22:20:32: Thread 0: Adding header *Host=192.168.15.12:3689*
2006-05-27 22:20:32: Added *Host=192.168.15.12:3689*
2006-05-27 22:20:32: Thread 0: Read: Accept: */*
2006-05-27 22:20:32: Thread 0: Adding header *Accept=*/**
2006-05-27 22:20:32: Added *Accept=*/**
2006-05-27 22:20:32: Thread 0: Read: Authorization: Basic cm9rdTpyb2t1
2006-05-27 22:20:32: Thread 0: Adding header *Authorization=Basic cm9rdTpyb2t1*
2006-05-27 22:20:32: Added *Authorization=Basic cm9rdTpyb2t1*
2006-05-27 22:20:32: Thread 0: Read: Pragma: no-cache
2006-05-27 22:20:32: Thread 0: Adding header *Pragma=no-cache*
2006-05-27 22:20:32: Added *Pragma=no-cache*
2006-05-27 22:20:32: Thread 0: Read: accept-encoding: gzip
2006-05-27 22:20:32: Thread 0: Adding header *accept-encoding=gzip*
2006-05-27 22:20:32: Thread 0: Read: accept-codecs: wma,mpeg,wav,mp4a
2006-05-27 22:20:32: Thread 0: Adding header *accept-codecs=wma,mpeg,wav,mp4a*
2006-05-27 22:20:32: Added *accept-codecs=wma,mpeg,wav,mp4a*
2006-05-27 22:20:32: Thread 0: Read: rsp-version: 0.1
2006-05-27 22:20:32: Thread 0: Adding header *rsp-version=0.1*
2006-05-27 22:20:32: Added *rsp-version=0.1*
2006-05-27 22:20:32: Thread 0: Read: transcode-codecs: wav,mp3
2006-05-27 22:20:32: Thread 0: Adding header *transcode-codecs=wav,mp3*
2006-05-27 22:20:32: Added *transcode-codecs=wav,mp3*
2006-05-27 22:20:32: Thread 0: Read:
2006-05-27 22:20:32: Thread 0: Headers parsed!
2006-05-27 22:20:32: Checking to see if connection matches keep-alive
2006-05-27 22:20:32: Nope!
2006-05-27 22:20:32: Thread 0: Connection type HTTP/1.0
: Connection: non-persist
2006-05-27 22:20:32: Thread 0: Original URI: /rsp/info
2006-05-27 22:20:32: Thread 0: Translated URI: /rsp/info
2006-05-27 22:20:32: Thread 0: Preparing to find handler
2006-05-27 22:20:32: Thread 0: URI Match!
2006-05-27 22:20:32: Thread 0: Time is 1148782832 seconds after epoch
2006-05-27 22:20:32: Thread 0: Setting time header
2006-05-27 22:20:32: Added *Date=Sun, 28 May 2006 02:20:32 GMT*
2006-05-27 22:20:32: Added *Connection=close*
2006-05-27 22:20:32: Added *Server=mt-daapd/svn-1082*
2006-05-27 22:20:32: Added *Content-Type=text/html*
2006-05-27 22:20:32: Added *Content-Language=en_us*
2006-05-27 22:20:32: Thread 0: Using non-default handler
2006-05-27 22:20:32: in main_auth
2006-05-27 22:20:32: Entering candispatch
2006-05-27 22:20:32: Current lock level: 0
2006-05-27 22:20:32: Dispatching auth for /rsp/info to plugin
2006-05-27 22:20:32: Current lock level: 0
2006-05-27 22:20:32: Dispatching /rsp/info to rsp/1.0
2006-05-27 22:20:32: in main_handler
2006-05-27 22:20:32: Entering candispatch
2006-05-27 22:20:32: Current lock level: 0
2006-05-27 22:20:32: Dispatching /rsp/info to plugin
2006-05-27 22:20:32: Current lock level: 0
2006-05-27 22:20:32: Dispatching /rsp/info to rsp/1.0
2006-05-27 22:20:32: Tokenizing url
2006-05-27 22:20:32: Found 5 elements
2006-05-27 22:20:32: Checking reponse 0
2006-05-27 22:20:32: Found it! Index: 0
2006-05-27 22:20:32: Starting rsp_info
2006-05-27 22:20:32: Gzipping output
2006-05-27 22:20:32: Added *Content-Encoding=gzip*
2006-05-27 22:20:32: Added *Vary=Accept-Encoding*
2006-05-27 22:20:32: Updating Connection from close to Close
2006-05-27 22:20:32: Added *Cache-Control=no-cache*
2006-05-27 22:20:32: Added *Expires=-1*
2006-05-27 22:20:32: Updating Content-Type from text/html to text/xml; charset=u
tf-8
2006-05-27 22:20:32: Emitting reponse header Expires: -1
2006-05-27 22:20:32: Emitting reponse header Cache-Control: no-cache
2006-05-27 22:20:32: Emitting reponse header Vary: Accept-Encoding
2006-05-27 22:20:32: Emitting reponse header Content-Encoding: gzip
2006-05-27 22:20:32: Emitting reponse header Content-Language: en_us
2006-05-27 22:20:32: Emitting reponse header Content-Type: text/xml; charset=utf
-8
2006-05-27 22:20:32: Emitting reponse header Server: mt-daapd/svn-1082
2006-05-27 22:20:32: Emitting reponse header Connection: Close
2006-05-27 22:20:32: Emitting reponse header Date: Sun, 28 May 2006 02:20:32 GMT
2006-05-27 22:20:32: Executing: select count(*) FROM songs
2006-05-27 22:20:32: Done sending xml stream
2006-05-27 22:20:32: Thread 0: Terminating
2006-05-27 22:20:32: Thread 0: Freeing request headers
2006-05-27 22:20:32: Thread 0: Freeing response headers
2006-05-27 22:20:32: Thread 0: Freeing request varsetc for full log see:
-
AuthorPosts
- The forum ‘Nightlies Feedback’ is closed to new topics and replies.