No video playback in many applications, but works in Ubu chroot and SFOS browser

asked 2019-12-22 03:34:09 +0300

Kabouik gravatar image

updated 2020-01-03 22:34:44 +0300

Most native applications fail to decode any video or stream on my Pro¹ running the SFOS port. I initially thought it was due to the port, but other people running SFOS on their Pro¹ do not have this issue. I am running the same version of the port as them, and I got the issue right after flashing the OS (no tweaks yet), so I don't know what makes the difference between me and them.

Microtube will crash softly and return to the search results. Twitchtube just never ends buffering, and Twitter videos do not start. Local files fail in the SFOS player as well as in Pico Player. LLSVideoplayer says the following:

"Could not configure supporting library. The video cannot be played due to a problem allocating resources."

Music works.

The only applications that can play local videos so far are Kodi and Sailfish browser (Youtube), however Sailfish browser still fails to play Twitter videos. If I install Ubu chroot on SFOS and try to play videos in the Ubu browser from both Youtube and Twitter sources, everything works with no issue.

I checked Gstreamer1.0 and confirm it is installed. Could anyone help me by telling me where to start for troubleshooting?

Some output from command line:

[root@Sailfish nemo]# gst-launch-1.0 filesrc location=/home/nemo/Videos/MEDIA/Cycles.mkv                           
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming stopped, reason not-linked (-1)
Execution ended after 0:00:00.000074791
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

And:

[nemo@Sailfish ~]$ gst-launch-1.0 -v playbin video-sink=glimagesink uri=file:///home/nemo/Videos/MEDIA/Cycles.mkv             
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-size = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: buffer-duration = -1
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: use-buffering = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: download = false
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: uri = file:///home/nemo/Videos/MEDIA/The First S01E03 Cycles.mkv
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: connection-speed = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: source = "\(GstFileSrc\)\ source"
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = video/x-matroska
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src: caps = NULL
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_0: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDroidVDec:droidvdec0.GstPad:sink: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstPad:src_1: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)96000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDroidADec:droidadec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)48000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)48000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAacParse:aacparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)96000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_0: caps = video/x-h264, level=(string)3.1, profile=(string)main, codec_data=(buffer)014d401fffe10021674d401feca028026fcbff800780083501010140000003004000afc803c60c658001000568ebe172c8, stream-format=(string)avc, alignment=(string)au, width=(int)1280, height=(int)600, pixel-aspect-ratio=(fraction)15/16, framerate=(fraction)24000/1001
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0.GstMultiQueuePad:sink_1: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)96000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)48000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDroidADec:droidadec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500, level=(string)2, base-profile=(string)lc, profile=(string)lc, channels=(int)2, rate=(int)48000
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-buffers = 5
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDroidADec:droidadec0: Could not configure supporting library.
Additional debug info:
gstdroidadec.c(93): gst_droidadec_create_codec (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDroidADec:droidadec0:
Failed to create decoder
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
edit retag flag offensive close delete

Comments

which device, which OS version, please update your tags.

Spam Hunter ( 2019-12-22 12:25:15 +0300 )edit

F(x)tec Pro¹, but sorry I forgot to mention the SFOS version: 3.2.0.12.

Kabouik ( 2019-12-22 13:09:05 +0300 )edit