Michal-Szczepaniak / microtube

This app is an youtube client for SailfishOS
GNU General Public License v3.0
14 stars 10 forks source link

Internal data stream error on playback #99

Closed paulvt closed 1 month ago

paulvt commented 1 month ago

When I try to play any video, I get a the famous GStreamer error: internal data stream error. Everything else works fine!4. The journal contains the following:

Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Failed to obtain EGL Display
Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Failed to obtain EGL Display
Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Failed to obtain EGL Display
Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Failed to obtain EGL Display
Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Error Internal data stream error.   ../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:video-player/GstURIDecodeBin:VideoSource/GstSoupHTTPSrc:source:
                                 streaming stopped, reason not-negotiated (-4)
Sep 21 18:10:15 impulse [18507]: [C] unknown:0 - Failed to obtain EGL Display
Sep 21 18:10:15 impulse microtube[18507]: ../gobject/gsignal.c:2777: instance '0x56042a11c0' has no handler with id '590'

If I download the video, the media player can play it, so it doesn't seem to be a matter of missing codecs to me?

I am using Sailfish OS 4.6.0.15 (Sauna) on the Sony Xperia 10 V. Let me know if I can provide more extensive debugging/logs!

Michal-Szczepaniak commented 1 month ago

It is the matter of mising codecs. your phone cannot decode vp9. When you're downloading video its avc1 so just enable avc1 only in settings and enjoy 360p only until jolla fixes either vp9 or avc1 split stream

paulvt commented 1 month ago

Ah that makes sense. So possible VP9 for this device in the future then.

I've enabled this setting, but it does not seem to help unfortunately. The error and log is the same.

Michal-Szczepaniak commented 1 month ago

Then its something broken in the port…

or getting the video is broken, but it works fine here, so i would bet on the first one

Michal-Szczepaniak commented 1 month ago

https://forum.sailfishos.org/t/xperia-1-iv-5-iv-and-10-iv-support/11394/259

Both Sony Xperia 10 IV and Xperia 10 V are missing hardware codecs

yeap

paulvt commented 1 month ago

Hadn't seen that, it was not repeated as a known bug in the release notes. So I'll have to wait then, or download everything. Thanks!