Bug 230096 - [GStreamer] Videos from Twitter can't be read
Summary: [GStreamer] Videos from Twitter can't be read
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-09-09 07:10 PDT by sunnlife
Modified: 2021-09-11 04:08 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sunnlife 2021-09-09 07:10:50 PDT
Hello,
I'm on ubuntu 20.04 LTS and I installed Tangram via Flatpak. When I'm on Twitter some videos (like this one: https://twitter.com/i/status/1435941570323238912) can't be read... I tried on Gnome Web and I have the same problem (not on firefox) 
I installed GStreamer and gst-libav as advised on this post (https://bugs.webkit.org/show_bug.cgi?id=162133) but the problem persists... 

Can you help me please

Thanks

Alex
Comment 1 Radar WebKit Bug Importer 2021-09-09 07:11:00 PDT
<rdar://problem/82923221>
Comment 2 Philippe Normand 2021-09-11 04:08:31 PDT
The Tangram runtime has gst 1.16.3, which seems to not work very well in WebKit:

0:00:01.939132655     2 0x55d20c2ebde0 WARN                hlsdemux gsthlsdemux.c:840:gst_hls_demux_handle_buffer:<hlsdemux0> error: Could not determine type of stream

** (WebKitWebProcess:2): CRITICAL **: 10:35:10.583: gst_hls_demux_change_playlist: assertion 'adaptive_demux->streams != NULL' failed
0:00:01.955429658     2 0x55d20be53750 ERROR      webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1781:handleMessage: Error 4: Could not determine type of stream (url=https://video.twimg.com/ext_tw_video/1435941461682389000/pu/pl/lzpeFNrCTgtgqvW6.m3u8?tag=12&container=fmp4&descending=true)
0:00:01.955471546     2 0x55d20be53750 ERROR      webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1794:handleMessage: Decode error, let the Media element emit a stalled event.
0:00:02.216527955     2 0x55d20c2f1920 WARN    codecparsers_mpegvideo gstmpegvideoparser.c:861:gst_mpeg_video_packet_parse_picture_header: Unsupported picture type : 5
0:00:02.216602293     2 0x55d20c2f1920 WARN    codecparsers_mpegvideo gstmpegvideoparser.c:861:gst_mpeg_video_packet_parse_picture_header: Unsupported picture type : 0
0:00:02.216623731     2 0x55d20c2f1920 WARN    codecparsers_mpegvideo gstmpegvideoparser.c:367:gst_mpeg_video_packet_parse_sequence_header: Failed to parse sequence header
0:00:02.216969560     2 0x55d20c2f1920 WARN    codecparsers_mpegvideo gstmpegvideoparser.c:861:gst_mpeg_video_packet_parse_picture_header: Unsupported picture type : 0

Tangram should upgrade to gst 1.18, it's easy to do with flatpak.

The Epiphany.Devel flatpak plays this video fine.