Debian/mt-daapd-0.2.4+r1376 and .ogg

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #759
    Jxn
    Participant

    Someone what is the problem playing .ogg-files from my NSLU2-box with Rhythmbox 0.9.6?
    It works ok with .mp3-files, but just ignores .ogg-filers (or jumps past them in playing list and marks them as wrong with a small stop-sign).
    Most my media files are in .ogg-format, so I realy need to solve this. 😥

    So, is it Rhythmbox or mt-daapd that is at fault here?


    2006-11-09 00:36:34 (00030005): Session 1: Streaming file 'annkatrin_farvl.mp3' to 192.168.1.22 (offset 0)
    2006-11-09 00:36:35 (0002c006): Finished streaming file to remote: 348160 bytes
    2006-11-09 00:36:35 (00030005): Finished streaming file to remote: 16384 bytes
    2006-11-09 00:36:35 (00034007): Session 1: Streaming file 'annkatrin_farvl.mp3' to 192.168.1.22 (offset 0)
    2006-11-09 00:36:52 (00038005): Session 1: Streaming file '12 - I Shall Not Be Moved (Instrumental).ogg' to 192.168.1.22 (offset 0)
    2006-11-09 00:36:54 (00034007): Finished streaming file to remote: 434176 bytes
    2006-11-09 00:36:54 (0003c006): Session 1: Streaming file '11 - Kärleksdrycken (L'elizir d'amore) - Una furtiva lagrima.ogg' to 192.168.1.22 (offset 0)
    2006-11-09 00:36:56 (00040007): Session 1: Streaming file '12 - Sweets For My Sweet.ogg' to 192.168.1.22 (offset 0)
    2006-11-09 00:36:58 (00044008): Session 1: Streaming file '01 - Profit.ogg' to 192.168.1.22 (offset 0)

    (or bugg level 9 instead of 6)


    2006-11-09 02:09:52 (00038007): Entering config_set_status
    2006-11-09 02:09:52 (00038007): Exiting config_set_status
    2006-11-09 02:09:52 (00038007): Session 1: Streaming file '03 - Sad To Say I'm Sorry.ogg' to 192.168.1.22 (offset 0)
    2006-11-09 02:09:52 (00038007): Transcoding /srv/file-shares/public/Musik/Diamond Dogs/Too Much Is Always Better Than Not Enough/03 - Sad To Say I'm Sorry.ogg with ssc-ffmpeg/svn-1376
    2006-11-09 02:09:52 (00038007): opening /srv/file-shares/public/Musik/Diamond Dogs/Too Much Is Always Better Than Not Enough/03 - Sad To Say I'm Sorry.ogg
    2006-11-09 02:09:52 (00038007): opening file with format
    2006-11-09 02:09:53 (00038007): Updating Content-Type from application/x-dmap-tagged to audio/wav
    2006-11-09 02:09:53 (00038007): Added *Connection=Close*
    2006-11-09 02:09:53 (00038007): Emitting reponse header Connection: Close
    2006-11-09 02:09:53 (00038007): Emitting reponse header Expires: -1
    2006-11-09 02:09:53 (00038007): Emitting reponse header Cache-Control: no-cache
    2006-11-09 02:09:53 (00038007): Emitting reponse header Content-Type: audio/wav
    2006-11-09 02:09:53 (00038007): Emitting reponse header DAAP-Server: mt-daapd/svn-1376
    2006-11-09 02:09:53 (00038007): Emitting reponse header Accept-Ranges: bytes
    2006-11-09 02:09:53 (00038007): Emitting reponse header Date: Thu, 9 Nov 2006 01:09:52 GMT
    2006-11-09 02:09:53 (00038007): Channels.......: 2
    2006-11-09 02:09:53 (00038007): Sample rate....: 44100
    2006-11-09 02:09:53 (00038007): Bits/Sample....: 16
    2006-11-09 02:09:53 (00038007): Swab...........: 0
    2006-11-09 02:09:54 (0003c008): Thread 10: Entering ws_dispatcher (Connection from 192.168.1.22)
    2006-11-09 02:09:54 (0003c008): Thread 10: got request
    2006-11-09 02:09:54 (0003c008): Request: GET /databases/1/items/883.wav?session-id=1 HTTP/1.1
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Host: 192.168.1.10
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Host=192.168.1.10*
    2006-11-09 02:09:54 (0003c008): Added *Host=192.168.1.10*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Accept: */*
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Accept=*/**
    2006-11-09 02:09:54 (0003c008): Added *Accept=*/**
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Cache-Control: no-cache
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Cache-Control=no-cache*
    2006-11-09 02:09:54 (0003c008): Added *Cache-Control=no-cache*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: User-Agent: iTunes/4.6 (Windows; N)
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *User-Agent=iTunes/4.6 (Windows; N)*
    2006-11-09 02:09:54 (0003c008): Added *User-Agent=iTunes/4.6 (Windows; N)*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Accept-Language: en-us, en;q=5.0
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Accept-Language=en-us, en;q=5.0*
    2006-11-09 02:09:54 (0003c008): Added *Accept-Language=en-us, en;q=5.0*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Client-DAAP-Access-Index: 2
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Client-DAAP-Access-Index=2*
    2006-11-09 02:09:54 (0003c008): Added *Client-DAAP-Access-Index=2*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Client-DAAP-Version: 3.0
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Client-DAAP-Version=3.0*
    2006-11-09 02:09:54 (0003c008): Added *Client-DAAP-Version=3.0*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Client-DAAP-Validation: 43B9809AB664F0A632385370A09EDE9B
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Client-DAAP-Validation=43B9809AB664F0A632385370A09EDE9B*
    2006-11-09 02:09:54 (0003c008): Added *Client-DAAP-Validation=43B9809AB664F0A632385370A09EDE9B*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Client-DAAP-Request-ID: 10
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Client-DAAP-Request-ID=10*
    2006-11-09 02:09:54 (0003c008): Added *Client-DAAP-Request-ID=10*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read: Connection: close
    2006-11-09 02:09:54 (0003c008): Thread 10: Adding header *Connection=close*
    2006-11-09 02:09:54 (0003c008): Added *Connection=close*
    2006-11-09 02:09:54 (0003c008): Thread 10: Read:
    2006-11-09 02:09:54 (0003c008): Thread 10: Headers parsed!
    2006-11-09 02:09:54 (0003c008): Checking to see if connection matches close
    2006-11-09 02:09:54 (0003c008): And it DOES!
    2006-11-09 02:09:54 (0003c008): Thread 10: Connection type HTTP/1.1
    : Connection: non-persist
    2006-11-09 02:09:54 (0003c008): Thread 10: parsing GET args
    2006-11-09 02:09:54 (0003c008): Thread 10: Entering ws_getgetvars (session-id=1)2006-11-09 02:09:54 (0003c008): Thread 10: Adding arg session-id = 1
    2006-11-09 02:09:54 (0003c008): Added *session-id=1*
    2006-11-09 02:09:54 (0003c008): Thread 10: Done parsing GET/POST args!
    2006-11-09 02:09:54 (0003c008): Thread 10: Original URI: /databases/1/items/883.wav
    2006-11-09 02:09:54 (0003c008): Thread 10: Translated URI: /databases/1/items/883.wav
    2006-11-09 02:09:54 (0003c008): Thread 10: Preparing to find handler
    2006-11-09 02:09:54 (0003c008): Thread 10: URI Match!
    2006-11-09 02:09:54 (0003c008): Thread 10: Time is 1163034594 seconds after epoch
    2006-11-09 02:09:54 (0003c008): Thread 10: Setting time header
    2006-11-09 02:09:54 (0003c008): Added *Date=Thu, 9 Nov 2006 01:09:54 GMT*
    2006-11-09 02:09:54 (0003c008): Thread 10: Using non-default handler
    2006-11-09 02:09:54 (0003c008): Added *Accept-Ranges=bytes*
    2006-11-09 02:09:54 (0003c008): Added *DAAP-Server=mt-daapd/svn-1376*
    2006-11-09 02:09:54 (0003c008): Added *Content-Type=application/x-dmap-tagged*
    2006-11-09 02:09:54 (0003c008): Added *Cache-Control=no-cache*
    2006-11-09 02:09:54 (0003c008): Added *Expires=-1*
    2006-11-09 02:09:54 (0003c008): Executing: select * from songs where id=883
    2006-11-09 02:09:54 (0003c008): Entering config_set_status
    2006-11-09 02:09:54 (0003c008): Exiting config_set_status
    2006-11-09 02:09:54 (0003c008): Session 1: Streaming file '04 - Somebody Elses Lord.ogg' to 192.168.1.22 (offset 0)
    2006-11-09 02:09:54 (0003c008): Transcoding /srv/file-shares/public/Musik/Diamond Dogs/Too Much Is Always Better Than Not Enough/04 - Somebody Elses Lord.ogg with ssc-ffmpeg/svn-1376
    2006-11-09 02:09:54 (0003c008): opening /srv/file-shares/public/Musik/Diamond Dogs/Too Much Is Always Better Than Not Enough/04 - Somebody Elses Lord.ogg
    2006-11-09 02:09:54 (0003c008): opening file with format
    2006-11-09 02:09:54 (0003c008): Updating Content-Type from application/x-dmap-tagged to audio/wav
    2006-11-09 02:09:54 (0003c008): Added *Connection=Close*
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Connection: Close
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Expires: -1
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Cache-Control: no-cache
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Content-Type: audio/wav
    2006-11-09 02:09:54 (0003c008): Emitting reponse header DAAP-Server: mt-daapd/svn-1376
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Accept-Ranges: bytes
    2006-11-09 02:09:54 (0003c008): Emitting reponse header Date: Thu, 9 Nov 2006 01:09:54 GMT
    2006-11-09 02:09:54 (0003c008): Channels.......: 2
    2006-11-09 02:09:54 (0003c008): Sample rate....: 44100
    2006-11-09 02:09:54 (0003c008): Bits/Sample....: 16
    2006-11-09 02:09:54 (0003c008): Swab...........: 0
    2006-11-09 02:09:55 (00040009): Thread 11: Entering ws_dispatcher (Connection from 192.168.1.22)
    2006-11-09 02:09:55 (00040009): Thread 11: got request
    2006-11-09 02:09:55 (00040009): Request: GET /databases/1/items/881.wav?session-id=1 HTTP/1.1
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Host: 192.168.1.10
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Host=192.168.1.10*
    2006-11-09 02:09:55 (00040009): Added *Host=192.168.1.10*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Accept: */*
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Accept=*/**
    2006-11-09 02:09:55 (00040009): Added *Accept=*/**
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Cache-Control: no-cache
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Cache-Control=no-cache*
    2006-11-09 02:09:55 (00040009): Added *Cache-Control=no-cache*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: User-Agent: iTunes/4.6 (Windows; N)
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *User-Agent=iTunes/4.6 (Windows; N)*
    2006-11-09 02:09:55 (00040009): Added *User-Agent=iTunes/4.6 (Windows; N)*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Accept-Language: en-us, en;q=5.0
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Accept-Language=en-us, en;q=5.0*
    2006-11-09 02:09:55 (00040009): Added *Accept-Language=en-us, en;q=5.0*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Client-DAAP-Access-Index: 2
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Client-DAAP-Access-Index=2*
    2006-11-09 02:09:55 (00040009): Added *Client-DAAP-Access-Index=2*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Client-DAAP-Version: 3.0
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Client-DAAP-Version=3.0*
    2006-11-09 02:09:55 (00040009): Added *Client-DAAP-Version=3.0*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Client-DAAP-Validation: 9EF82DD403F7FEC76A5EFBC892837352
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Client-DAAP-Validation=9EF82DD403F7FEC76A5EFBC892837352*
    2006-11-09 02:09:55 (00040009): Added *Client-DAAP-Validation=9EF82DD403F7FEC76A5EFBC892837352*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Client-DAAP-Request-ID: 11
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Client-DAAP-Request-ID=11*
    2006-11-09 02:09:55 (00040009): Added *Client-DAAP-Request-ID=11*
    2006-11-09 02:09:55 (00040009): Thread 11: Read: Connection: close
    2006-11-09 02:09:55 (00040009): Thread 11: Adding header *Connection=close*
    2006-11-09 02:09:55 (00040009): Added *Connection=close*
    2006-11-09 02:09:55 (00040009): Thread 11: Read:
    2006-11-09 02:09:55 (00040009): Thread 11: Headers parsed!
    2006-11-09 02:09:55 (00040009): Checking to see if connection matches close
    2006-11-09 02:09:55 (00040009): And it DOES!
    2006-11-09 02:09:55 (00040009): Thread 11: Connection type HTTP/1.1
    : Connection: non-persist
    2006-11-09 02:09:55 (00040009): Thread 11: parsing GET args
    2006-11-09 02:09:55 (00040009): Thread 11: Entering ws_getgetvars (session-id=1)2006-11-09 02:09:55 (00040009): Thread 11: Adding arg session-id = 1
    2006-11-09 02:09:55 (00040009): Added *session-id=1*
    2006-11-09 02:09:55 (00040009): Thread 11: Done parsing GET/POST args!
    2006-11-09 02:09:55 (00040009): Thread 11: Original URI: /databases/1/items/881.wav
    2006-11-09 02:09:55 (00040009): Thread 11: Translated URI: /databases/1/items/881.wav
    2006-11-09 02:09:55 (00040009): Thread 11: Preparing to find handler
    2006-11-09 02:09:55 (00040009): Thread 11: URI Match!
    2006-11-09 02:09:55 (00040009): Thread 11: Time is 1163034595 seconds after epoch
    2006-11-09 02:09:55 (00040009): Thread 11: Setting time header
    2006-11-09 02:09:55 (00040009): Added *Date=Thu, 9 Nov 2006 01:09:55 GMT*
    2006-11-09 02:09:55 (00040009): Thread 11: Using non-default handler
    2006-11-09 02:09:55 (00040009): Added *Accept-Ranges=bytes*
    2006-11-09 02:09:55 (00040009): Added *DAAP-Server=mt-daapd/svn-1376*
    2006-11-09 02:09:55 (00040009): Added *Content-Type=application/x-dmap-tagged*
    2006-11-09 02:09:55 (00040009): Added *Cache-Control=no-cache*
    2006-11-09 02:09:55 (00040009): Added *Expires=-1*
    2006-11-09 02:09:55 (00040009): Executing: select * from songs where id=881
    2006-11-09 02:09:56 (00040009): Entering config_set_status
    2006-11-09 02:09:56 (00040009): Exiting config_set_status
    #7216
    rpedde
    Participant

    @Jxn wrote:

    Someone what is the problem playing .ogg-files from my NSLU2-box with Rhythmbox 0.9.6?
    It works ok with .mp3-files, but just ignores .ogg-filers (or jumps past them in playing list and marks them as wrong with a small stop-sign).
    Most my media files are in .ogg-format, so I realy need to solve this. 😥

    It’s transcoding, and rhythmbox apparently doesn’t play .wav files?

    I think the fundamental problem is that iTunes would have to have oggs transcoded, and rhythmbox reports itself as iTunes, so… the files get transcoded.

    There isn’t an elegant fix. There is a fix in svn that allows you to specify codecs you don’t want transcoded, but that will break iTunes. Your choice is to choose what client you want more broken.

    — Ron

    #7217
    Jxn
    Participant

    @rpedde wrote:

    @Jxn wrote:

    Someone what is the problem playing .ogg-files from my NSLU2-box with Rhythmbox 0.9.6?
    It works ok with .mp3-files, but just ignores .ogg-filers (or jumps past them in playing list and marks them as wrong with a small stop-sign).
    Most my media files are in .ogg-format, so I realy need to solve this. 😥

    It’s transcoding, and rhythmbox apparently doesn’t play .wav files?

    I have to check if rhythmbox can’t play .wav-files. Do you know if I can download the output from mt-daapd with wget to a ordinary file? It would make testing much easier…

    I think the fundamental problem is that iTunes would have to have oggs transcoded, and rhythmbox reports itself as iTunes, so… the files get transcoded.

    Ok, so it’s Rhythmbox’s fault then. I’ll file a bug report on this to morrow (if I remember 😉 )
    I have a simular problem when I try to play with Banshee 0.10.12. On Banshee it start buffering a stream, but it takes LOOONG time to get it over (like wait 20 sek, play 5, wait 20 etc). It also converts the streams. Need to make a log and have a look at it too, now when I know what to look at 😉 . But not now, I have to go to bed (long over due 😉 )

    There isn’t an elegant fix. There is a fix in svn that allows you to specify codecs you don’t want transcoded, but that will break iTunes. Your choice is to choose what client you want more broken.

    — Ron

    I don’t run any iTunes clients here, so it’s not that a big problem to choose a fix (but that fix isn’t a solution, as you wrote :().

    Many thanks for the help understanding the problem though! 😀
    /Jackson

    #7218
    rpedde
    Participant

    @Jxn wrote:

    I have to check if rhythmbox can’t play .wav-files. Do you know if I can download the output from mt-daapd with wget to a ordinary file? It would make testing much easier…

    Yes. If you know the ID of the file you can download it from http://server/rsp/stream/, (with the RSP module loaded) or http://server/databases/1/items/.mp3 (iirc)

    Many thanks for the help understanding the problem though! 😀
    /Jackson

    np

    — Ron

    #7219
    jmatthew
    Guest

    I finally got around to looking at this issue (http://bugs.gnome.org/350276). It turned out to be a pretty simple fix, at least to get basic playback of a server-side decoded wav stream working. Seeking still doesn’t work.

    I’m also going to look at making rhythmbox send an ‘accept-codecs’ header.

    #7220
    rpedde
    Participant

    @jmatthew wrote:

    I finally got around to looking at this issue (http://bugs.gnome.org/350276). It turned out to be a pretty simple fix, at least to get basic playback of a server-side decoded wav stream working. Seeking still doesn’t work.

    I’m also going to look at making rhythmbox send an ‘accept-codecs’ header.

    Ooh.. accept-codecs would be great. Thanks.

    — Ron

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.