OpenH264 broken after update to 2.3.1, need to figure out how to publish extension
We need to figure out what's wrong with OpenH264 after !1793 (merged). I have run:
$ flatpak run --command=/bin/bash --filesystem=home org.gnome.Epiphany.Devel
[📦 org.gnome.Epiphany.Devel ~]$ export GST_DEBUG="3,webkit*:6" GST_DEBUG_FILE="$HOME/gst.log" GST_DEBUG_NO_COLOR=1 WEBKIT_FORCE_SANDBOX=0
[📦 org.gnome.Epiphany.Devel ~]$ epiphany -p https://www.reddit.com/r/IdiotsInCars/comments/xztban/lucky_driver/
Here is the debug log:
The most interesting bits:
0:00:05.655490737 67 0x55d36eb43550 ERROR webkitcommon GStreamerCommon.cpp:459:operator():<MSE-media-player-1> Got message: error message: 0x7f64ac001980, time 99:99:99.999999999, seq-num 658, element 'openh264dec0', GstMessageError, gerror=(GError)NULL, debug=(string)"../gst-libs/gst/video/gstvideodecoder.c\(2917\):\ gst_video_decoder_change_state\ \(\):\ /GstPlayBin3:MSE-media-player-1/GstURIDecodeBin3:uridecodebin3-0/GstDecodebin3:decodebin3-0/GstOpenh264Dec:openh264dec0:\012Failed\ to\ start\ decoder";
0:00:05.655502960 67 0x55d36eb43550 LOG webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1734:handleMessage:<MSE-media-player-1> Message error received from element openh264dec0
0:00:05.655514432 67 0x55d36eb43550 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1738:handleMessage:<MSE-media-player-1> Could not initialize supporting library. (url=mediasourceblob:https://www.reddit.com/cf498092-e472-4a24-982d-3cfdd0f7a97a) (code=3)
And:
0:00:08.011009488 67 0x7f64a000b180 WARN videodecoder gstvideodecoder.c:2917:gst_video_decoder_change_state:<openh264dec1> error: Failed to start decoder
0:00:08.011057189 67 0x7f64a000b180 WARN decodebin gstdecodebin2.c:2551:connect_pad:<decodebin1> Couldn't set openh264dec1 to PAUSED
0:00:08.011231570 67 0x7f64a000b180 WARN uridecodebin gsturidecodebin.c:960:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)2.1, profile=(string)high, width=(int)480, height=(int)268, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'.
0:00:08.011269873 67 0x7f64a000b180 WARN decodebin gstdecodebin2.c:4701:gst_decode_bin_expose:<decodebin1> error: no suitable plugins found:
Couldn't set openh264dec1 to PAUSED:
Could not initialize supporting library.
Could not initialize supporting library.
../gst-libs/gst/video/gstvideodecoder.c(2917): gst_video_decoder_change_state (): /GstPlayBin:media-player-2/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin1/GstOpenh264Dec:openh264dec1:
Failed to start decoder
0:00:08.011301283 67 0x7f64a000b180 WARN uridecodebin gsturidecodebin.c:1027:no_more_pads_full:<uridecodebin1> error: no suitable plugins found:
../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstPlayBin:media-player-2/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin1:
no suitable plugins found:
Couldn't set openh264dec1 to PAUSED:
Could not initialize supporting library.
Could not initialize supporting library.
../gst-libs/gst/video/gstvideodecoder.c(2917): gst_video_decoder_change_state (): /GstPlayBin:media-player-2/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin1/GstOpenh264Dec:openh264dec1:
Failed to start decoder
0:00:08.011590372 67 0x7f64a000ac00 WARN qtdemux qtdemux.c:6749:gst_qtdemux_loop:<qtdemux2> error: Internal data stream error.
0:00:08.011622934 67 0x7f64a000ac00 WARN qtdemux qtdemux.c:6749:gst_qtdemux_loop:<qtdemux2> error: streaming stopped, reason not-linked (-1)
In the past, we've had problems when the version of noopenh264 that GStreamer was compiled against did not match OpenH264. Hopefully that is not a problem this time.