ebruck / radiotray-ng

An Internet radio player for Linux
GNU General Public License v3.0
257 stars 24 forks source link

Internal data stream error #113

Closed zen2 closed 5 years ago

zen2 commented 5 years ago

Firstly, thanks to write this software, I'm a long time radiotray user but I need a new version that don't depend on gstreamer 0.10 so it's time for radiotray-ng.

I have built it and I think I have installed all dependencies. I can launch it but I can't play any stream with 0.2.5.

I got this debug log:

[2019-05-07 18:56:14.854304] [0x00007f3d882ec940] [info ] (radiotray_ng.cpp:497) - downloading: Soma FM, Dub Step Beyond (electronica), http://somafm.com/dubstep256.pls
[2019-05-07 18:56:14.854357] [0x00007f3d882ec940] [debug] (notification.cpp:63) - notify: Connecting, Radiotray-NG, radiotray-ng-notification
[2019-05-07 18:56:14.857243] [0x00007f3d882ec940] [debug] (playlist_downloader.cpp:140) - http-timeout=15
[2019-05-07 18:56:15.190878] [0x00007f3d882ec940] [debug] (playlist_downloader.cpp:174) - 
[playlist]
numberofentries=3
File1=http://ice4.somafm.com/dubstep-256-mp3
Title1=SomaFM: Dub Step Beyond (#1): Dubstep, Dub and Deep Bass. May damage speakers at high volume.
Length1=-1
File2=http://ice2.somafm.com/dubstep-256-mp3
Title2=SomaFM: Dub Step Beyond (#2): Dubstep, Dub and Deep Bass. May damage speakers at high volume.
Length2=-1
File3=http://ice1.somafm.com/dubstep-256-mp3
Title3=SomaFM: Dub Step Beyond (#3): Dubstep, Dub and Deep Bass. May damage speakers at high volume.
Length3=-1
Version=2

[2019-05-07 18:56:15.191160] [0x00007f3d882ec940] [info ] (playlist_downloader.cpp:96) - decoder: PLS, audio/x-scpls
[2019-05-07 18:56:15.191512] [0x00007f3d882ec940] [debug] (player.cpp:51) - uri: http://ice4.somafm.com/dubstep-256-mp3
[2019-05-07 18:56:15.191626] [0x00007f3d882ec940] [debug] (player.cpp:63) - buffer-size=640000, buffer-duration=2
[2019-05-07 18:56:15.216482] [0x00007f3d882ec940] [debug] (config.cpp:55) - saving: /home/Azazel/.config/radiotray-ng/radiotray-ng.json
[2019-05-07 18:56:15.776621] [0x00007f3d882ec940] [error] (player.cpp:201) - error received from element source: Internal data stream error. , 3,806:1
[2019-05-07 18:56:15.776699] [0x00007f3d882ec940] [error] (player.cpp:204) - debugging information: /gentoo/tmp/portage/media-libs/gstreamer-1.14.4/work/gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPlayBin3:player/GstURIDecodeBin3:uridecodebin3-0/GstURISourceBin:urisourcebin0/GstSoupHTTPSrc:source:
streaming stopped, reason not-linked (-1)
[2019-05-07 18:56:15.778070] [0x00007f3d882ec940] [debug] (player.cpp:51) - uri: http://ice2.somafm.com/dubstep-256-mp3
[2019-05-07 18:56:15.778156] [0x00007f3d882ec940] [debug] (player.cpp:63) - buffer-size=640000, buffer-duration=2
[2019-05-07 18:56:16.280198] [0x00007f3d882ec940] [error] (player.cpp:201) - error received from element source: Internal data stream error. , 3,806:1
[2019-05-07 18:56:16.280346] [0x00007f3d882ec940] [error] (player.cpp:204) - debugging information: /gentoo/tmp/portage/media-libs/gstreamer-1.14.4/work/gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPlayBin3:player/GstURIDecodeBin3:uridecodebin3-1/GstURISourceBin:urisourcebin1/GstSoupHTTPSrc:source:
streaming stopped, reason not-linked (-1)
[2019-05-07 18:56:16.282696] [0x00007f3d882ec940] [debug] (player.cpp:51) - uri: http://ice1.somafm.com/dubstep-256-mp3
[2019-05-07 18:56:16.282839] [0x00007f3d882ec940] [debug] (player.cpp:63) - buffer-size=640000, buffer-duration=2
[2019-05-07 18:56:16.831266] [0x00007f3d882ec940] [error] (player.cpp:201) - error received from element source: Internal data stream error. , 3,806:1
[2019-05-07 18:56:16.831404] [0x00007f3d882ec940] [error] (player.cpp:204) - debugging information: /gentoo/tmp/portage/media-libs/gstreamer-1.14.4/work/gstreamer-1.14.4/libs/gst/base/gstbasesrc.c(3055): gst_base_src_loop (): /GstPlayBin3:player/GstURIDecodeBin3:uridecodebin3-2/GstURISourceBin:urisourcebin2/GstSoupHTTPSrc:source:
streaming stopped, reason not-linked (-1)
[2019-05-07 18:56:16.833810] [0x00007f3d882ec940] [info ] (player.cpp:76) - playlist is empty
[2019-05-07 18:56:16.833910] [0x00007f3d882ec940] [debug] (player.cpp:221) - setting state to: stopped
[2019-05-07 18:56:16.834910] [0x00007f3d882ec940] [debug] (notification.cpp:63) - notify: Error, Internal data stream error., radiotray-ng-notification
ebruck commented 5 years ago

First thing I would do is ensure you have all the gstreamer good, bad etc. plugins installed.

zen2 commented 5 years ago

Thanks for the quick reply. I was thinking it was a problem with the playlist file but it was the MP3 and AAC codec missing. Works perfectly so far :) Thanks for this rewrite. I will try to write an ebuild for gentoo linux.