New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't play rtsp stream #1479

mczerski opened this Issue Mar 6, 2016 · 3 comments


3 participants

mczerski commented Mar 6, 2016


I'm using version 2.0 and I can't play rtsp stream, this is log output:

WARNING  Download of 'rtsp://rozpruwacz.local:5004/test' failed due to unsupported schema
INFO     Unwrapping stream from URI (rtsp://rozpruwacz.local:5004/test) failed: error downloading URI rtsp://rozpruwacz.local:5004/test
WARNING  Track is not playable: rtsp://rozpruwacz.local:5004/test

I norrowed it down to the class.
if I type:

python /usr/lib/python2.7/dist-packages/mopidy/audio/ rtsp://rozpruwacz.local:5004/test

I get:

gst-stream-error-quark: Internal data flow error. (1)

You can reproduce it with some accessible link, e.g.:
python /usr/lib/python2.7/dist-packages/mopidy/audio/ rtsp://


This comment has been minimized.


adamcik commented Mar 26, 2016

I can confirm testing with:

$ python mopidy/audio/ rtsp://
rtsp:// Internal data flow error.

This comment has been minimized.


adamcik commented Mar 26, 2016

Though looking at

gst-discoverer-1.0 rtsp://         
Analyzing rtsp://
Done discovering rtsp://

  unknown: application/x-rtp
    video: H.264

  Duration: 0:09:56.480000000
  Seekable: yes

It seems my GStreamer install is only finding the movie part of it. Also gst-play-1.0 play doesn't seem to like the URL. While VLC plays it just fine and also has sound. Might be an upstream issue :(


This comment has been minimized.


adamcik commented Jul 26, 2016

Figured out what is going on here, rtspsrc has SOMETIMES pads. Which in turn means that we have to handle pad added on the src and then attach typefind+decodebin on each of the pads it produces.

Have a working hack the gets this functioning now, but still needs some cleanup before I can create a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment