Bug 230096

Summary: [GStreamer] Videos from Twitter can't be read
Product: WebKit Reporter: sunnlife
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, bugs-noreply, mcatanzaro, pnormand, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

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.
Comment 3 Philippe Normand 2022-04-10 10:47:12 PDT
 https://twitter.com/i/status/1435941570323238912

plays fine in Tangram now (they updated to gst 1.18)