ssc: Cannot find any streams – ERROR message

FireFly Media Server Firefly Media Server Forums Firefly Media Server Setup Issues ssc: Cannot find any streams – ERROR message

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2300
    Anonymous
    Inactive

    I use mt-daapd debain etch package.

    I got this kind of error

    2008-03-15 15:04:23 (b6ceabb0): Session 3: Streaming file ‘ACDC – Highway to hell (live).mp3′ to 192.168.1.20 (offset 0)
    2008-03-15 15:04:33 (b6ceabb0): Session 3: Streaming file ‘yo_no_s_que_me_han_hecho_tus_ojos_feat_dimas_md.ogg’ to 192.168.1.20 (offset 0)
    2008-03-15 15:04:48 (b6ceabb0): Error opening /media/data/Musique/J/agns_jaoui/canta/yo_no_s_que_me_han_hecho_tus_ojos_feat_dimas_md.ogg for ssc: Cannot find any streams
    2008-03-15 15:04:48 (b6ceabb0): Thread 841: Entering ws_returnerror (500: Internal error)
    2008-03-15 15:05:11 (b6ceabb0): Session 3: Streaming file ‘lost_in_the_jungle.ogg’ to 192.168.1.20 (offset 0)

    Note that mp3 files are streamed correctly. The first ogg file (in pasted errorlog) failed, the second one is OK.

    Strange no ?

    #16548
    Anonymous
    Inactive

    In fact my ogg files are wired:

    file ../P/PINK FLOYD/a_saucerful_of_secrets/*
    ../P/PINK FLOYD/a_saucerful_of_secrets/a_saucerful_of_secrets.ogg: MP3 file with ID3 version 2.3.0 tag

    In another folder:

    file ../B/babylon_circus/dances_of_resistance/*
    ../B/babylon_circus/dances_of_resistance/circus.ogg: Ogg data, Vorbis audio, stereo, 44100 Hz, ~128000 bps, created by: Xiph.Org libVorbis I

    This is apparently not mt-daapd issue.

    Sorry.

    #16549
    Anonymous
    Inactive

    I found a solution. I just removed all id3 tags from ogg files. Apparently ogg don’t need them.


    find . --name *.ogg --exec eyeD3 --remove-all {};
    #16550
    fizze
    Participant

    Generally, I had a couple of ogg files that refused to play with oggdec, but worked fine through ogg123.
    So i just reworked the mt-daapd-ssc.sh script to use ogg123 instead. And voila – they all play nicely.

    Heres my version of the script, adapted for uNSLUng:


    #!/opt/bin/bash
    #
    # script to facilitate server-side transcoding of ogg files
    #
    #
    # Usage: mt-daapd-ssc.sh
    #
    # You may need to fix these paths:
    #

    WAVSTREAMER=/opt/bin/wavstreamer
    #OGGDEC=/opt/bin/oggdec
    OGGDEC=/opt/bin/ogg123
    FLAC=/opt/bin/flac
    ALAC=/opt/bin/alac
    FFMPEG=/opt/bin/ffmpeg

    alac_file() {
    $ALAC "$FILE" | $WAVSTREAMER -o $OFFSET $FORGELEN
    }

    ogg_file() {
    # $OGGDEC --quiet -o - "$FILE" | $WAVSTREAMER -o $OFFSET $FORGELEN
    $OGGDEC -d wav -f - "$FILE" | $WAVSTREAMER -o $OFFSET $FORGELEN
    }


    flac_file() {
    $FLAC --silent --decode --stdout "$FILE" | $WAVSTREAMER -o $OFFSET $FORGELE
    }

    ffmpeg_file() {
    $FFMPEG -vn -i "$FILE" -f wav - | $WAVSTREAMER -o $OFFSET $FORGELEN
    }

    FILE=$1
    OFFSET=0

    if [ "$2" == "" ]; then
    OFFSET=0
    else
    OFFSET=$2
    fi


    if [ "$3" != "" ]; then
    FORGELEN="-l $3"
    fi

    if ( echo $1 | grep -i ".ogg$" > /dev/null 2>&1 ); then
    ogg_file
    exit;
    fi

    if ( echo $1 | grep -i ".flac$" > /dev/null 2>&1 ); then
    flac_file
    exit;
    fi


    if ( echo $1 | grep -i ".m4a$" > /dev/null 2>&1 ); then
    alac_file
    exit;
    fi

    if ( echo $1 | grep -i ".wma$" > /dev/null 2>&1 ); then
    ffmpeg_file
    exit;
    fi

    #
    # here you could cat a generic "error" wav...
    #
    #
    # cat /path/to/error.wav
    #

    I commented out the original stuff, the script itself is pretty generic, but the paths at the beginning have to be adjusted.

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