mmssrc doesn’t finish?

Matěj Cepl mcepl at cepl.eu
Sun May 18 23:23:18 PDT 2014


Hi,

I have here this supersimple script for downloading audioarchives which
are provided as mms streams:

    #!/bin/sh
    set -eu

    export IFS="
    LABEL=

    while read NO TITLE URL ; do
        echo $NO ~~~ $URL
        FILENAME={LABEL}_${NO}.ogg"
        gst-launch-1.0 mmssrc location=URL} \
            ! decodebin ! audioconvert ! audioresample ! progressreport \
            ! vorbisenc ! vorbistag ! oggmux \
            ! filesink location=FILENAME"
        setfattr -n user.xdg.origin.url -v "${URL}" "$FILENAME"
    done

Using gstreamer1-1.0.7-4.el7.x86_64,
gstreamer1-libav-1.0.10-2.fc19.x86_64,
gstreamer1-plugins-ugly-1.0.10-1.fc19.x86_64,
gstreamer1-plugins-base-1.0.7-5.el7.x86_64,
gstreamer1-plugins-good-1.0.7-5.el7.x86_64,
gstreamer1-devel-1.0.7-4.el7.x86_64,
gstreamer1-plugins-base-tools-1.0.7-5.el7.x86_64,
gstreamer1-plugins-base-devel-1.0.7-5.el7.x86_64,
gstreamer1-plugins-bad-free-1.0.7-4.el7.x86_64,
gstreamer1-plugins-bad-freeworld-1.0.10-1.fc19.x86_64 (on RHEL-7 with
some packages from Fedora 19).  Now, this seems to generally work, but
the problem is that gst-launch-1.0 never finishes (I let it run
overnight, so I now for sure it got stuck) and I have to stop it after
downloading each individual stream via Ctrl-C.

Any idea, what could be wrong, and what could I do to make
gst-launch-1.0 unstuck programatically?

Best,

Matěj




More information about the gstreamer-devel mailing list