transcoding failed

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1121
    notizblock
    Participant

    hi,
    i use debian sarge with latest firefly svn-1498…

    works fine except transcoding.

    i got you a part of the mt-daapd’s log (level 9) when i click on an ogg file:

    Code:
    Checking reponse 7
    Checking reponse 8
    Checking reponse 9
    Found it! Index: 9
    Executing: select * from songs where id=6619
    Entering config_set_status
    Exiting config_set_status
    Session 0: Streaming file ‘in_flames – 07 – trigger.ogg’ to 192.168.1.102 (offset 0)
    Transcoding /media/music/Metal/in_flames/in_live_we_trust_cd_1__live_at_hammersmith/in_flames – 07 – trigger.ogg with ssc-script/svn-1498
    Executing /usr/bin/mt-daapd-ssc.sh “/media/music/Metal/in_flames/in_live_we_trust_cd_1__live_at_hammersmith/in_flames – 07 – trigger.ogg” 0 280.000 “ogg”
    Updating Content-Type from application/x-dmap-tagged to audio/wav
    Updating Connection from close to Close
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1498
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: audio/wav
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: Close
    Emitting reponse header Date: Thu, 5 Apr 2007 22:25:34 GMT
    Write error: Connection reset by peer
    Finished streaming file to remote: 3244032 bytes
    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 fd

    if i do:

    Code:
    /usr/bin/mt-daapd-ssc.sh “/media/music/Metal/in_flames/in_live_we_trust_cd_1__live_at_hammersmith/in_flames – 07 – trigger.ogg'” 0 281.000 “ogg” > test.wav

    a wav file is created. it can be played by vlc and rhythmbox…

    what’s going on here?

    why is ogg transcoding not working?

    #9272
    notizblock
    Participant

    i’m sorry.

    i posted the wrong output. here is the correct one:


    Session 0: Streaming file 'in_flames - 04 - cloud_connected.ogg' to 192.168.1.102 (offset 0)
    Transcoding /media/music/Metal/in_flames/in_live_we_trust_cd_1__live_at_hammersmith/in_flames - 04 - cloud_connected.ogg with ssc-script/svn-1498
    Executing /usr/bin/mt-daapd-ssc.sh "/media/music/Metal/in_flames/in_live_we_trust_cd_1__live_at_hammersmith/in_flames - 04 - cloud_connected.ogg" 0 281.000 "ogg"
    Updating Content-Type from application/x-dmap-tagged to audio/wav
    Updating Connection from close to Close
    Emitting reponse header Expires: -1
    Emitting reponse header Cache-Control: no-cache
    Emitting reponse header DAAP-Server: firefly/svn-1498
    Emitting reponse header Accept-Ranges: bytes
    Emitting reponse header Content-Language: en_us
    Emitting reponse header Content-Type: audio/wav
    Emitting reponse header Server: mt-daapd/svn-1498
    Emitting reponse header Connection: Close
    Emitting reponse header Date: Thu, 5 Apr 2007 22:19:24 GMT
    wavstreamer: Write failed.
    Error writing to file: Broken pipe
    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 fd

    have a look at

    wavstreamer: write failed….

    #9273
    rpedde
    Participant

    @notizblock wrote:

    i
    have a look at

    wavstreamer: write failed….

    What kind of client is this? Is it a linux client using gstreamer?

    #9274
    notizblock
    Participant

    it’s rhythmbox.

    i think it uses gstreamer, yes!

    thx
    flo

    #9275
    fizze
    Participant

    well then you do not have to transcode ogg ๐Ÿ˜‰
    I remember there’s been issues with non-soundbridge clients and transcoding, don’t know how that progressed, so far.

    #9276
    notizblock
    Participant

    ok, i’ll try it…

    #9277
    notizblock
    Participant

    well, you’re right.

    no transcoding is the best solution!

    working great now, thanks!

    greetings
    flo

    #9278
    fizze
    Participant

    Good to hear. ๐Ÿ™‚

    Just for your info:
    This obviously works with clients who support ogg/vorbis, like Rhythmbox.
    iTunes will choke on these, as will a soundbridge.

    If you only listen through Rhythmbox, your solution is great. Otherwise, not so great – but there is no real fix for this out, yet.

    Transcoding based on the client is something that is being worked on, rest assured ๐Ÿ˜‰

    #9279
    mas
    Participant

    Well the transcoding should work though. I got it running exactly with debian/sarge on a NSLU and playblack/transcoding to a SoundBridge.

    Cannot write sounds to me like some file or directory rights arent set right.

    In order to get oggdec to work you need to patch out the big endian byteswap manually. I posted about that earlier. But your problem is a different one. I am refering to the next problem your would have had hehe.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.