* WebKit: Failing to play most HTML5 videos @ 2018-12-08 12:30 Pierre Neidhardt 2018-12-08 12:39 ` Pierre Neidhardt ` (2 more replies) 0 siblings, 3 replies; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-08 12:30 UTC (permalink / raw) To: help-guix [-- Attachment #1: Type: text/plain, Size: 289 bytes --] Hey, since a general update a week ago or so, it seems that I'm unable to play most HTML5 videos. Youtube works. imdb.com fails, and so do most other websites with a similar error. Did something broke with gstreamer / gst-plugins? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-08 12:30 WebKit: Failing to play most HTML5 videos Pierre Neidhardt @ 2018-12-08 12:39 ` Pierre Neidhardt 2018-12-08 14:31 ` swedebugia 2018-12-09 5:51 ` Leo Famulari 2018-12-11 8:15 ` Ricardo Wurmus 2 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-08 12:39 UTC (permalink / raw) To: help-guix [-- Attachment #1: Type: text/plain, Size: 141 bytes --] Forgot to mention: I've tested with Epiphany, Vimb and Next browser, with similar results. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-08 12:39 ` Pierre Neidhardt @ 2018-12-08 14:31 ` swedebugia 2018-12-08 15:30 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: swedebugia @ 2018-12-08 14:31 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix, Help-Guix On 2018-12-08 13:39, Pierre Neidhardt wrote: > Forgot to mention: I've tested with Epiphany, Vimb and Next browser, with > similar results. I tested with Next and epiphany. All sites fail here. svtplay.se and youtube.com tested. -- Cheers Swedebugia ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-08 14:31 ` swedebugia @ 2018-12-08 15:30 ` Pierre Neidhardt 0 siblings, 0 replies; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-08 15:30 UTC (permalink / raw) To: swedebugia; +Cc: help-guix, Help-Guix [-- Attachment #1: Type: text/plain, Size: 110 bytes --] I got Youtube to work with Vimb when gst-libav is installed. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-08 12:30 WebKit: Failing to play most HTML5 videos Pierre Neidhardt 2018-12-08 12:39 ` Pierre Neidhardt @ 2018-12-09 5:51 ` Leo Famulari 2018-12-09 12:21 ` Pierre Neidhardt 2018-12-11 8:15 ` Ricardo Wurmus 2 siblings, 1 reply; 30+ messages in thread From: Leo Famulari @ 2018-12-09 5:51 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 591 bytes --] On Sat, Dec 08, 2018 at 01:30:46PM +0100, Pierre Neidhardt wrote: > Hey, > > since a general update a week ago or so, it seems that I'm unable to > play most HTML5 videos. Youtube works. > imdb.com fails, and so do most other websites with a similar error. > > Did something broke with gstreamer / gst-plugins? It works for me on Debian if I install (at least) gst-plugins-base and gst-plugins-good. gst-plugins-base is already in the graph of epiphany, but epiphany does not keep a store reference to it. I think the browser should support these videos "out of the box". [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-09 5:51 ` Leo Famulari @ 2018-12-09 12:21 ` Pierre Neidhardt 2018-12-11 7:23 ` swedebugia 2018-12-11 8:02 ` Ricardo Wurmus 0 siblings, 2 replies; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-09 12:21 UTC (permalink / raw) To: Leo Famulari; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 530 bytes --] Leo Famulari <leo@famulari.name> writes: > It works for me on Debian if I install (at least) gst-plugins-base and... Hmm, weird. Possible explanations I can see: - It's hardware related. I have an Intel HD 620, driver i915. - Something is not purely functional in the dependency graph. - It's kernel related, I am on GuixSD. It used to work perfectly a few weeks ago. I'll have to try out the different kernel/mesa/gstreamer combinations. Pfeww, lots of work :( -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-09 12:21 ` Pierre Neidhardt @ 2018-12-11 7:23 ` swedebugia 2018-12-11 8:02 ` Ricardo Wurmus 1 sibling, 0 replies; 30+ messages in thread From: swedebugia @ 2018-12-11 7:23 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: Help-Guix, help-guix On 2018-12-09 13:21, Pierre Neidhardt wrote: > Leo Famulari <leo@famulari.name> writes: >> It works for me on Debian if I install (at least) gst-plugins-base and... > > Hmm, weird. Possible explanations I can see: > > - It's hardware related. I have an Intel HD 620, driver i915. I really doubt that. I just changed from a o686 to a x86_64 machine with different hardware and it is exactly the same issue. When it plays it is lacky, glitchy. On parabola/antergos on the same machine it plays smoothly (so not HW issue). > - Something is not purely functional in the dependency graph. > - It's kernel related, I am on GuixSD. > > It used to work perfectly a few weeks ago. I'll have to try out the different > kernel/mesa/gstreamer combinations. Pfeww, lots of work :( Good luck hunting :) -- Cheers Swedebugia ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-09 12:21 ` Pierre Neidhardt 2018-12-11 7:23 ` swedebugia @ 2018-12-11 8:02 ` Ricardo Wurmus 1 sibling, 0 replies; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-11 8:02 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > Leo Famulari <leo@famulari.name> writes: >> It works for me on Debian if I install (at least) gst-plugins-base and... > > Hmm, weird. Possible explanations I can see: > > - It's hardware related. I have an Intel HD 620, driver i915. > - Something is not purely functional in the dependency graph. > - It's kernel related, I am on GuixSD. > > It used to work perfectly a few weeks ago. I'll have to try out the different > kernel/mesa/gstreamer combinations. Pfeww, lots of work :( I don’t think the kernel is at fault. This is usually a problem with gstreamer only. Do not forget about environment variables. I’d suggest looking for gstreamer debugging options and tracing the discovery of plugins specifically. I’m seeing the same behaviour in epiphany (and eolie), both webkit browsers. I have these gstreamer packages installed: gst-plugins-good 1.14.3 out /gnu/store/ar5i930rzx6gx0fllxlj7v0di8av98dn-gst-plugins-good-1.14.3 gst-plugins-ugly 1.14.3 out /gnu/store/7w2bqvdnylh4y87m6r40k644pxd17g3x-gst-plugins-ugly-1.14.3 gst-plugins-bad 1.14.3 out /gnu/store/x8m0kdj9x6smm6ybwd3rzkcpqw809pim-gst-plugins-bad-1.14.3 gst-plugins-base 1.14.3 out /gnu/store/hyjjxxc2q5sfhkmm9iq3g34afm21b62v-gst-plugins-base-1.14.3 I used to also have gst-libav, which made a lot of things work better at a time. Relevant environment variables: GST_PLUGIN_SYSTEM_PATH=/home/rekado/.guix-profile/lib/gstreamer-1.0:/run/current-system/profile/lib/gstreamer-1.0 GST_PLUGIN_PATH=/home/rekado/.guix-profile/lib/gstreamer-1.0 -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-08 12:30 WebKit: Failing to play most HTML5 videos Pierre Neidhardt 2018-12-08 12:39 ` Pierre Neidhardt 2018-12-09 5:51 ` Leo Famulari @ 2018-12-11 8:15 ` Ricardo Wurmus 2018-12-11 17:22 ` Pierre Neidhardt 2 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-11 8:15 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > Hey, > > since a general update a week ago or so, it seems that I'm unable to > play most HTML5 videos. Youtube works. > imdb.com fails, and so do most other websites with a similar error. > > Did something broke with gstreamer / gst-plugins? Here’s what I tried: --8<---------------cut here---------------start------------->8--- $ GST_DEBUG=2 eolie https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ [INFO] 2018-12-11 09:11:25 You need to set MOZ_PLUGIN_PATH to use plugins 0:00:08.868869189 6188 0x126cf20 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type trep 0:00:08.868943452 6188 0x126cf20 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type pasp 0:00:09.618668035 6188 0x7fc9a814e5e0 WARN curlhttpsrc gstcurlhttpsrc.c:1068:gst_curl_http_src_handle_response:<curlhttpsrc0> Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK 0:00:09.618810492 6188 0x7fc9a814e5e0 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<curlhttpsrc0> error: Internal data stream error. 0:00:09.618871820 6188 0x7fc9a814e5e0 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<curlhttpsrc0> error: streaming stopped, reason error (-5) 0:00:09.619011634 6188 0x7fc9a814e5e0 WARN uridownloader gsturidownloader.c:242:gst_uri_downloader_bus_handler:<uridownloader0> Received error: Internal data stream error. from curlhttpsrc0, the download will be cancelled 0:00:09.619497097 6188 0x1205f70 WARN hlsdemux gsthlsdemux.c:655:gst_hls_demux_process_manifest:<hlsdemux0> error: Could not fetch media playlist: Internal data stream error.: gstbasesrc.c(3055): gst_base_src_loop (): /GstCurlHttpSrc:curlhttpsrc0: streaming stopped, reason error (-5) 0:00:09.619593010 6188 0x1205f70 WARN adaptivedemux gstadaptivedemux.c:677:gst_adaptive_demux_sink_event:<hlsdemux0> error: Invalid manifest. 0:00:09.746622376 6188 0xf9c830 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1180:handleMessage: Error 1: GStreamer encountered a general stream error. (url=webkit+https://v.redd.it/htlleai2qk321/HLSPlaylist.m3u8) --8<---------------cut here---------------end--------------->8--- This is a good hint: “Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK”. Gstreamer probably uses libcurl, which does not honour any environment variables by default. We may have to patch this to allow users to override the location of the cert bundle. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-11 8:15 ` Ricardo Wurmus @ 2018-12-11 17:22 ` Pierre Neidhardt 2018-12-11 17:32 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-11 17:22 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 2342 bytes --] Thanks for this, Ricardo. On my end, I get another, very different issue with Next: --8<---------------cut here---------------start------------->8--- ** Message: 18:18:48.587: Method parameter(s): 0, Next - Finally redone correctly. : funny - https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ 0:00:02.051478122 .[332m14317.[00m 0x7f76e8004100 .[33;01mWARN .[00m .[00;01;36m GST_PLUGIN_LOADING gstplugin.c:792:_priv_gst_plugin_load_file_for_registry:.[00m module_open failed: /home/ambrevar/.guix-profile/lib/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_get_range_full (WebKitWebProcess:14317): GStreamer-WARNING **: 18:18:49.129: Failed to load plugin '/home/ambrevar/.guix-profile/lib/gstreamer-1.0/libgstcoreelements.so': /home/ambrevar/.guix-profile/lib/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_get_range_full 0:00:02.051531648 .[332m14317.[00m 0x7f76e8004100 .[33;01mWARN .[00m .[00;01;36m GST_PLUGIN_LOADING gstplugin.c:1329:gst_plugin_load_by_name:.[00m load_plugin error: Opening module failed: /home/ambrevar/.guix-profile/lib/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_get_range_full 0:00:02.051536679 .[332m14317.[00m 0x7f76e8004100 .[33;01mWARN .[00m .[00;01;36m GST_PLUGIN_LOADING gstpluginfeature.c:133:gst_plugin_feature_load:.[00m Failed to load plugin containing feature 'funnel'. 0:00:02.051564072 .[332m14317.[00m 0x7f76e8004100 .[33;01mWARN .[00m .[00;01;37;41m GST_ELEMENT_FACTORY gstelementfactory.c:397:gst_element_factory_create:<funnel>.[00m loading plugin containing feature (null) returned NULL! (WebKitWebProcess:14317): GStreamer-CRITICAL **: 18:18:49.129: gst_bin_add: assertion 'GST_IS_ELEMENT (element)' failed (WebKitWebProcess:14317): GStreamer-CRITICAL **: 18:18:49.129: gst_element_get_static_pad: assertion 'GST_IS_ELEMENT (element)' failed (WebKitWebProcess:14317): GStreamer-CRITICAL **: 18:18:49.129: gst_ghost_pad_new: assertion 'GST_IS_PAD (target)' failed (WebKitWebProcess:14317): GStreamer-CRITICAL **: 18:18:49.129: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed --8<---------------cut here---------------end--------------->8--- Looks like the plugins don't match the core. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-11 17:22 ` Pierre Neidhardt @ 2018-12-11 17:32 ` Pierre Neidhardt 2018-12-11 17:33 ` Pierre Neidhardt 2018-12-12 1:52 ` Ricardo Wurmus 0 siblings, 2 replies; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-11 17:32 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 5642 bytes --] With Epiphany: --8<---------------cut here---------------start------------->8--- > env GST_DEBUG=2 epiphany https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ (epiphany:6890): Gtk-WARNING **: 18:30:45.075: Could not find the icon 'ephy-bookmarks-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it. You can get a copy from: http://icon-theme.freedesktop.org/releases ** Message: 18:30:45.167: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files ** (WebKitWebProcess:6908): WARNING **: 18:30:45.167: Failed to search secrets in password schema: The name org.freedesktop.secrets was not provided by any .service files 0:00:02.423776399 6908 0xde0850 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type trep 0:00:02.423834800 6908 0xde0850 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type pasp 0:00:02.427741230 6908 0xde0850 WARN uridecodebin gsturidecodebin.c:921:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'. 0:00:02.427904432 6908 0xde0850 WARN decodebin gstdecodebin2.c:4640:gst_decode_bin_expose:<decodebin1> error: no suitable plugins found: Missing decoder: H.264 (Main Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true) 0:00:02.427978200 6908 0xde0850 WARN uridecodebin gsturidecodebin.c:988:no_more_pads_full:<uridecodebin1> error: no suitable plugins found: gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPlayBin:play_0x7f9bd43ca000/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin1: no suitable plugins found: Missing decoder: H.264 (Main Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true) 0:00:02.430424060 6908 0xde0850 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error. 0:00:02.430518418 6908 0xde0850 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason not-linked (-1) 0:00:02.444056430 6908 0xdc3320 WARN curlhttpsrc gstcurlhttpsrc.c:1068:gst_curl_http_src_handle_response:<curlhttpsrc0> Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK 0:00:02.444091392 6908 0xdc3320 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<curlhttpsrc0> error: Internal data stream error. 0:00:02.444098767 6908 0xdc3320 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop:<curlhttpsrc0> error: streaming stopped, reason error (-5) 0:00:02.444128776 6908 0xdc3320 WARN uridownloader gsturidownloader.c:242:gst_uri_downloader_bus_handler:<uridownloader0> Received error: Internal data stream error. from curlhttpsrc0, the download will be cancelled 0:00:02.444236237 6908 0x13928f0 WARN hlsdemux gsthlsdemux.c:655:gst_hls_demux_process_manifest:<hlsdemux0> error: Could not fetch media playlist: Internal data stream error.: gstbasesrc.c(3055): gst_base_src_loop (): /GstCurlHttpSrc:curlhttpsrc0: streaming stopped, reason error (-5) 0:00:02.444285924 6908 0x13928f0 WARN adaptivedemux gstadaptivedemux.c:677:gst_adaptive_demux_sink_event:<hlsdemux0> error: Invalid manifest. 0:00:02.509856463 6908 0x7f9bc4004d60 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1180:handleMessage: Error 1: GStreamer encountered a general stream error. (url=webkit+https://v.redd.it/htlleai2qk321/HLSPlaylist.m3u8) 0:00:02.510754376 6908 0x7f9bc4004d60 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1180:handleMessage: Error 12: Your GStreamer installation is missing a plug-in. (url=webkit+https://v.redd.it/htlleai2qk321/DASH_600_K) 0:00:02.512161307 6908 0x7f9bc4004d60 WARN downloadbuffer gstdownloadbuffer.c:961:gst_download_buffer_close_temp_location_file:<downloadbuffer0> Failed to remove temporary file /var/tmp/WebKit-Media-XDCKTZ: No such file or directory (epiphany:6890): GLib-GIO-CRITICAL **: 18:30:52.172: g_dbus_connection_call_internal: assertion 'object_path != NULL && g_variant_is_object_path (object_path)' failed --8<---------------cut here---------------end--------------->8--- -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-11 17:32 ` Pierre Neidhardt @ 2018-12-11 17:33 ` Pierre Neidhardt 2018-12-12 1:52 ` Ricardo Wurmus 1 sibling, 0 replies; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-11 17:33 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 97 bytes --] My "next" test is built against WebKitGTK 2.22. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-11 17:32 ` Pierre Neidhardt 2018-12-11 17:33 ` Pierre Neidhardt @ 2018-12-12 1:52 ` Ricardo Wurmus 2018-12-12 7:49 ` Ricardo Wurmus 1 sibling, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-12 1:52 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > With Epiphany: […] > 0:00:02.444056430 6908 0xdc3320 WARN curlhttpsrc gstcurlhttpsrc.c:1068:gst_curl_http_src_handle_response:<curlhttpsrc0> Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK That’s the same error I got. It may be worth checking if we can patch gstcurlhttpsrc.c to ensure that the path of the certificate bundle is set via environment variable. A hack to check that this is indeed the cause might be to place the cert bundle in the expected default location that libcurl uses when the client does not specify a location. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-12 1:52 ` Ricardo Wurmus @ 2018-12-12 7:49 ` Ricardo Wurmus 2018-12-12 7:56 ` Ricardo Wurmus 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-12 7:49 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Ricardo Wurmus <rekado@elephly.net> writes: > Pierre Neidhardt <mail@ambrevar.xyz> writes: > >> With Epiphany: […] >> 0:00:02.444056430 6908 0xdc3320 WARN curlhttpsrc gstcurlhttpsrc.c:1068:gst_curl_http_src_handle_response:<curlhttpsrc0> Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK > > That’s the same error I got. It may be worth checking if we can patch > gstcurlhttpsrc.c to ensure that the path of the certificate bundle is > set via environment variable. > > A hack to check that this is indeed the cause might be to place the cert > bundle in the expected default location that libcurl uses when the > client does not specify a location. Here’s a little patch to confirm that indeed this problem is caused by gstcurlhttpsrc.c (of gst-plugins-bad) not configuring libcurl to look for certificates in the right place: --8<---------------cut here---------------start------------->8--- diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index f43a0fc2f..7a39e6653 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -286,7 +286,15 @@ developers consider to have good quality code and correct functionality.") #:configure-flags (list (string-append "--with-html-dir=" (assoc-ref %outputs "doc") - "/share/gtk-doc/html")))) + "/share/gtk-doc/html")) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'foo + (lambda _ + (substitute* "ext/curl/gstcurlhttpsrc.c" + (("source->custom_ca_file = NULL;") + "source->custom_ca_file = \"/etc/ssl/certs/ca-certificates.crt\";")) + #t))))) (propagated-inputs `(("gst-plugins-base" ,gst-plugins-base))) (native-inputs --8<---------------cut here---------------end--------------->8--- With this patch and gst-plugins-bad installed I do see the video when using this command: GST_DEBUG=2 eolie https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ Can you confirm this? -- Ricardo ^ permalink raw reply related [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-12 7:49 ` Ricardo Wurmus @ 2018-12-12 7:56 ` Ricardo Wurmus 2018-12-20 10:23 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-12 7:56 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Ricardo Wurmus <rekado@elephly.net> writes: > Ricardo Wurmus <rekado@elephly.net> writes: > >> Pierre Neidhardt <mail@ambrevar.xyz> writes: >> >>> With Epiphany: […] >>> 0:00:02.444056430 6908 0xdc3320 WARN curlhttpsrc gstcurlhttpsrc.c:1068:gst_curl_http_src_handle_response:<curlhttpsrc0> Curl failed the transfer (60): SSL peer certificate or SSH remote key was not OK >> >> That’s the same error I got. It may be worth checking if we can patch >> gstcurlhttpsrc.c to ensure that the path of the certificate bundle is >> set via environment variable. >> >> A hack to check that this is indeed the cause might be to place the cert >> bundle in the expected default location that libcurl uses when the >> client does not specify a location. > > Here’s a little patch to confirm that indeed this problem is caused by > gstcurlhttpsrc.c (of gst-plugins-bad) not configuring libcurl to look > for certificates in the right place: […] I should note that gstcurlhttpsrc.c has a mechanism to set the location of the ca-certificates.crt file: --8<---------------cut here---------------start------------->8--- g_object_class_install_property (gobject_class, PROP_SSL_CA_FILE, g_param_spec_string ("ssl-ca-file", "SSL CA File", "Location of an SSL CA file to use for checking SSL certificates", GSTCURL_HANDLE_DEFAULT_CURLOPT_CAINFO, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); --8<---------------cut here---------------end--------------->8--- I just don’t know how we could possibly provide a value for this property as we don’t call the plugin on the command line. It would be nicer, of course, if we could use this mechanism instead of using a patch similar to what I showed in my previous email. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-12 7:56 ` Ricardo Wurmus @ 2018-12-20 10:23 ` Pierre Neidhardt 2018-12-20 10:40 ` Ricardo Wurmus 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-20 10:23 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 6363 bytes --] OK, I had time to try your patch. It does fix the certificate issue indeed, but it turns out that it might not be the problem. See: --8<---------------cut here---------------start------------->8--- > *env GST_DEBUG=2 vimb https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ GLib-GIO-Message: 11:19:33.864: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. 0:00:00.643276212 21838 0x145ae80 WARN uridecodebin gsturidecodebin.c:921:unknown_type_cb:<uridecodebin0> warning: No decoder available for type 'video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true'. 0:00:00.643406496 21838 0x145ae80 WARN decodebin gstdecodebin2.c:4640:gst_decode_bin_expose:<decodebin0> error: no suitable plugins found: Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true) 0:00:00.643445113 21838 0x145ae80 WARN uridecodebin gsturidecodebin.c:988:no_more_pads_full:<uridecodebin0> error: no suitable plugins found: gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0: no suitable plugins found: Missing decoder: H.264 (video/x-h264, stream-format=(string)byte-stream, alignment=(string)nal, parsed=(boolean)true) 0:00:00.655680097 21838 0x7fc568069e30 WARN queue gstqueue.c:1566:gst_queue_loop:<queue2> error: Internal data stream error. 0:00:00.655701969 21838 0x7fc568069e30 WARN queue gstqueue.c:1566:gst_queue_loop:<queue2> error: streaming stopped, reason not-linked (-1) 0:00:00.655740424 21838 0x7fc568069e30 WARN adaptivedemux gstadaptivedemux.c:876:gst_adaptive_demux_handle_message:<hlsdemux0:src_0> Source posted error: 3626:1 Internal data stream error. (gstqueue.c(1566): gst_queue_loop (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstHLSDemux:hlsdemux0/GstBin:srcbin-src_0/GstQueue:queue2: streaming stopped, reason not-linked (-1)) 0:00:00.655854401 21838 0x7fc568069720 WARN adaptivedemux gstadaptivedemux.c:3818:gst_adaptive_demux_stream_download_loop:<hlsdemux0> error: Internal data stream error. 0:00:00.655867008 21838 0x7fc568069720 WARN adaptivedemux gstadaptivedemux.c:3818:gst_adaptive_demux_stream_download_loop:<hlsdemux0> error: streaming stopped, reason not-linked (-1) 0:00:00.661742678 21838 0x7fc568069e80 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type trep 0:00:00.661760483 21838 0x7fc568069e80 WARN qtdemux qtdemux_types.c:233:qtdemux_type_get: unknown QuickTime node type pasp 0:00:00.921014742 21838 0x7fc568069e80 WARN uridecodebin gsturidecodebin.c:921:unknown_type_cb:<uridecodebin1> warning: No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true'. 0:00:00.922072199 21838 0x7fc568069e80 WARN decodebin gstdecodebin2.c:4640:gst_decode_bin_expose:<decodebin1> error: no suitable plugins found: Missing decoder: H.264 (Main Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true) 0:00:00.922217740 21838 0x7fc568069e80 WARN uridecodebin gsturidecodebin.c:988:no_more_pads_full:<uridecodebin1> error: no suitable plugins found: gstdecodebin2.c(4640): gst_decode_bin_expose (): /GstPlayBin:play/GstURIDecodeBin:uridecodebin1/GstDecodeBin:decodebin1: no suitable plugins found: Missing decoder: H.264 (Main Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)main, codec_data=(buffer)014d401effe10017674d401eeca1e3f60220000003002000000781e2c5b2c001000468efb2c8, width=(int)240, height=(int)240, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true) 0:00:00.925297299 21838 0x7fc568069e80 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: Internal data stream error. 0:00:00.925372803 21838 0x7fc568069e80 WARN qtdemux qtdemux.c:6073:gst_qtdemux_loop:<qtdemux0> error: streaming stopped, reason not-linked (-1) 0:00:01.227826788 21838 0x11508a0 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:956:handleMessage: Error 12: Your GStreamer installation is missing a plug-in. (url=webkit+https://v.redd.it/htlleai2qk321/HLSPlaylist.m3u8) 0:00:01.227848902 21838 0x11508a0 WARN webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1860:loadingFailed: Loading failed, error: 4 0:00:01.228134028 21838 0x11508a0 ERROR webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:956:handleMessage: Error 12: Your GStreamer installation is missing a plug-in. (url=webkit+https://v.redd.it/htlleai2qk321/DASH_600_K) 0:00:01.228145779 21838 0x11508a0 WARN webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1860:loadingFailed: Loading failed, error: 4 0:00:01.228846796 21838 0x11508a0 WARN downloadbuffer gstdownloadbuffer.c:961:gst_download_buffer_close_temp_location_file:<downloadbuffer0> Failed to remove temporary file /var/tmp/WebKit-Media-UK76TZ: No such file or directory --8<---------------cut here---------------end--------------->8--- So I think we are simply not building Gstreamer(-plugins-*) against some important codecs, namely x264. Does anyone know more about this? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 10:23 ` Pierre Neidhardt @ 2018-12-20 10:40 ` Ricardo Wurmus 2018-12-20 10:50 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-20 10:40 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > OK, I had time to try your patch. It does fix the certificate issue indeed, but > it turns out that it might not be the problem. […] What plugins do you have? gst-libav does support x264 IIRC. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 10:40 ` Ricardo Wurmus @ 2018-12-20 10:50 ` Pierre Neidhardt 2018-12-20 14:31 ` Ricardo Wurmus 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-20 10:50 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 1233 bytes --] I have all of it. libx264 is linked in gst-plugins-ugly. I found some more information here: https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html https://stackoverflow.com/questions/17096139/your-gstreamer-installation-is-missing-a-plug-in-gsturidecodebin Then I tried this: --8<---------------cut here---------------start------------->8--- > gst-launch-1.0 -v uridecodebin uri=https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ Setting pipeline to PAUSED ... Pipeline is PREROLLING ... /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0: source = "\(GstCurlHttpSrc\)\ source" ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstCurlHttpSrc:source: Internal data stream error. Additional debug info: gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:uridecodebin0/GstCurlHttpSrc:source: streaming stopped, reason error (-5) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... --8<---------------cut here---------------end--------------->8--- Which is precisely what your patch is trying to fix. Hmm... -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 10:50 ` Pierre Neidhardt @ 2018-12-20 14:31 ` Ricardo Wurmus 2018-12-20 16:56 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-20 14:31 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > I have all of it. > > libx264 is linked in gst-plugins-ugly. > > I found some more information here: > > https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html > https://stackoverflow.com/questions/17096139/your-gstreamer-installation-is-missing-a-plug-in-gsturidecodebin > > Then I tried this: > > --8<---------------cut here---------------start------------->8--- >> gst-launch-1.0 -v uridecodebin uri=https://old.reddit.com/r/funny/comments/a53e07/finally_redone_correctly/ To be sure that this is not caused by a stale cache, please run this first: rm -rf $HOME/.cache/gstreamer-1.0 This is a class of bugs that we haven’t yet addressed in Guix. This is the same for IBus input methods; these caches can go stale and point to old store items that may have been GC’d already. Please also append “--gst-debug-level=4” to get some more information. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 14:31 ` Ricardo Wurmus @ 2018-12-20 16:56 ` Pierre Neidhardt 2018-12-20 21:23 ` Ricardo Wurmus 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-20 16:56 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 151 bytes --] You are right, this was it! Thank you so much! So, what about your patch now? Shall we merge it? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 16:56 ` Pierre Neidhardt @ 2018-12-20 21:23 ` Ricardo Wurmus 2018-12-21 10:55 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-20 21:23 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: > You are right, this was it! Thank you so much! > > So, what about your patch now? Shall we merge it? The patch is a bit crude. We shouldn’t hard-code the location of the cert bundle. Instead we should run getenv to get the location from one of the common environment variables and only fall back to “/etc/ssl/certs/ca-certificates.crt” if it isn’t set. Would you like to change the patch to accomplish this? Please present it here before pushing it. Another thing: I found that my browser tab freezes when a video rewinds to loop. I have gst-libav installed (in addition to all the “gst-plugins-*” packages), so that may be responsible here. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-20 21:23 ` Ricardo Wurmus @ 2018-12-21 10:55 ` Pierre Neidhardt 2018-12-21 11:58 ` Ricardo Wurmus 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-21 10:55 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 769 bytes --] > Instead we should run getenv to get the location from one > of the common environment variables and only fall back to > “/etc/ssl/certs/ca-certificates.crt” if it isn’t set. You mean add getenv in C, right? Wouldn't there be a way with environment variables though? From an executable wrapper, or maybe in ./etc/profile. > Would you like to change the patch to accomplish this? Please present > it here before pushing it. Sure. > Another thing: I found that my browser tab freezes when a video rewinds > to loop. I have gst-libav installed (in addition to all the > “gst-plugins-*” packages), so that may be responsible here. I have the same issue. Which browser are you using? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-21 10:55 ` Pierre Neidhardt @ 2018-12-21 11:58 ` Ricardo Wurmus 2018-12-21 12:39 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Ricardo Wurmus @ 2018-12-21 11:58 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix Pierre Neidhardt <mail@ambrevar.xyz> writes: >> Instead we should run getenv to get the location from one >> of the common environment variables and only fall back to >> “/etc/ssl/certs/ca-certificates.crt” if it isn’t set. > > You mean add getenv in C, right? Yes. > Wouldn't there be a way with environment variables though? From an executable > wrapper, or maybe in ./etc/profile. I haven’t looked if that’s possible. Users of libcurl are supposed to set the location of the cert bundle or else have to use the default for *libcurl* provided at configure time. This plugin does have a knob to override the location, but I don’t know how to turn it. It looks like it’s used as a command line argument, but nobody uses this plugin on the command line. If you can find a way that doesn’t involve patching in a getenv call I’d be happier, but if we can’t figure out another way and the alternative is to have a broken plugin I’d rather go down the getenv route. What do you think? >> Another thing: I found that my browser tab freezes when a video rewinds >> to loop. I have gst-libav installed (in addition to all the >> “gst-plugins-*” packages), so that may be responsible here. > > I have the same issue. > Which browser are you using? I used epiphany for the test. -- Ricardo ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-21 11:58 ` Ricardo Wurmus @ 2018-12-21 12:39 ` Pierre Neidhardt 2019-01-13 19:40 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2018-12-21 12:39 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 87 bytes --] Acknowledged. I'll investigate then. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2018-12-21 12:39 ` Pierre Neidhardt @ 2019-01-13 19:40 ` Pierre Neidhardt 2019-01-14 15:22 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2019-01-13 19:40 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 2072 bytes --] I've investigated some bits. gst-plugins-bad uses the CURLOPT_CAPATH and CURLOPT_CAINFO environment variables to find the certificate. Ricardo, do you know some other knobs? Looking at existing Guix packages, I found those: - Curl: --8<---------------cut here---------------start------------->8--- ;; Note: This search path is respected by the `curl` command-line tool only. ;; Ideally we would bake this into libcurl itself so other users can benefit, ;; but it's not supported upstream due to thread safety concerns. (list (search-path-specification (variable "CURL_CA_BUNDLE") (file-type 'regular) (separator #f) ;single entry (files '("etc/ssl/certs/ca-certificates.crt")))) --8<---------------cut here---------------end--------------->8--- - Feh: --8<---------------cut here---------------start------------->8--- (native-search-paths ;; Feh allows overriding the libcurl builtin CA path (unset in Guix) ;; with the same variable as the `curl` command line HTTP tool. (package-native-search-paths curl)) --8<---------------cut here---------------end--------------->8--- - Octave-cli --8<---------------cut here---------------start------------->8--- ;; Octave code uses this variable to detect directories holding multiple CA ;; certificates to verify peers with. This is required for the networking ;; functions that require encryption to work properly. (native-search-paths (list (search-path-specification (variable "CURLOPT_CAPATH") (files '("etc/ssl/certs"))))) --8<---------------cut here---------------end--------------->8--- So my best bet would be to add the aforementioned variables to curl, and then do a: (native-search-paths (package-native-search-paths curl)) from gst-plugins-bad or, if it does not work, from the individual web browsers. I'll test this and report. Thoughts? -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2019-01-13 19:40 ` Pierre Neidhardt @ 2019-01-14 15:22 ` Pierre Neidhardt 2019-01-14 22:11 ` swedebugia 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2019-01-14 15:22 UTC (permalink / raw) To: Ricardo Wurmus; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 205 bytes --] Weird, I've re-installed the original gst-plugins-bad and I've deleted ~/.cache/gstreamer-1* but it keeps playing normally. I can't reproduce the issue. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2019-01-14 15:22 ` Pierre Neidhardt @ 2019-01-14 22:11 ` swedebugia 2019-01-14 22:42 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: swedebugia @ 2019-01-14 22:11 UTC (permalink / raw) To: Pierre Neidhardt; +Cc: help-guix, Help-Guix On 2019-01-14 15:22, Pierre Neidhardt wrote: > Weird, I've re-installed the original gst-plugins-bad and I've deleted > ~/.cache/gstreamer-1* but it keeps playing normally. I can't reproduce the > issue. On vanilla 0.16 64bit I can play these videoes in icecat: https://vimeo.com/ondemand/ibelieveicanfly/81591839 https://www.dr.dk/tv/se/peitersen-og-feldthaus/peitersen-og-feldthause/peitersen-og-feldthaus-2-5-2#!/02:13 Svtplay.se does not work in the browser for some reason, but with mpv videos play fine: https://www.svtplay.se/video/20630456/mannen-under-trappan/mannen-under-trappan-sasong-1-avsnitt-1 (+) Video --vid=1 (*) (h264 1280x720) (+) Audio --aid=1 (*) 'DASH audio' (aac 2ch 48000Hz) (external) Subs --sid=1 --slang=sv 'vtt' (webvtt) (external) AO: [pulse] 48000Hz stereo 2ch float VO: [gpu] 1280x720 yuv420p I have no gst-* package installed: sdb@antelope ~$ gp -l |grep -v Gene emacs-paredit 24 out /gnu/store/1zha5anxg029qfl7r569aap5lfyrb66a-emacs-paredit-24 emacs-no-x 26.1 out /gnu/store/9v7m3c83rm1rgi99ph5xdkpnnd0c62x4-emacs-no-x-26.1 setxkbmap 1.3.1 out /gnu/store/3px1119mhx9q7xzmi5jlg5wylhkx84cr-setxkbmap-1.3.1 git 2.19.2 out /gnu/store/iffgahfxnk13narndlaqf9xm0yhyhyyv-git-2.19.2 + lynx 2.8.9rel.1 out /gnu/store/nziwhxiknf28ap5z0wgmyrm0ds84a0pf-lynx-2.8.9rel.1 + screen 4.6.2 out /gnu/store/xrb73jf6ffv5gm4dc6fili7vr6nahhfz-screen-4.6.2 + libgcrypt 1.8.3 out /gnu/store/87fdwmippyfs01870x5hq7v2lcyfczpi-libgcrypt-1.8.3 + mc 4.8.20 out /gnu/store/glxbmvcj3kza3cdabfrdmd4wr4zvm4xa-mc-4.8.20 + file 5.33 out /gnu/store/wb03gzlrxs8ihrmn9cdxv9r16iyl7x6m-file-5.33 + ccache 3.5 out /gnu/store/367qmfdrsi2hi9ibvbqik1zpcrnpq2kh-ccache-3.5 + gnupg 2.2.11 out /gnu/store/x1nd7dazhbc3s0lrpf6ap3ilqy0q4p2x-gnupg-2.2.11 + android-udev-rules 20180112 out /gnu/store/flc82b0g7193kfgcc1ddd5fpfdk0dkd2-android-udev-rules-20180112 + alsa-utils 1.1.6 out /gnu/store/hwshd31clxqlaia041cysp0pfgfw9k3j-alsa-utils-1.1.6 + emacs-debbugs 0.16 out /gnu/store/arnli7acr106p4p490z1wg9f5fb0hsfd-emacs-debbugs-0.16 + emacs-magit 2.13.0 out /gnu/store/lbxc9l8b1b843w84lqswal27dvry92qp-emacs-magit-2.13.0 + lzip 1.20 out /gnu/store/2kwysbg8f175gmqmsd5kjggmy6hvxi5k-lzip-1.20 + zlib 1.2.11 out /gnu/store/nq4lsyipmfb0q7g26ra45rwwqrh3x8zw-zlib-1.2.11 + ncurses 6.1 out /gnu/store/4h03mp5nggsblscs6j0n7s6sbpfy6kxh-ncurses-6.1 + ninja 1.8.2 out /gnu/store/cjg91bd3szl9zj8ymyllig92jah7jln5-ninja-1.8.2 + make 4.2.1 out /gnu/store/p62f90him5qvm4f1zaqyrhdwkqxqj2c4-make-4.2.1 + cmake 3.12.2 out /gnu/store/1amd2s1n83kzkl590p6l0j56qbppz50d-cmake-3.12.2 + gcc 8.2.0 out /gnu/store/px8nkcmr1bp76mhfm2lbzz2h3n9wfbz5-gcc-8.2.0 + docbook-xsl 1.79.1 out /gnu/store/agq4fnja1mlywp6iqhfvlfvi5m9377wa-docbook-xsl-1.79.1 + docbook-xml 4.5 out /gnu/store/n837qp708wbvqf8yv9f4rdf1qqnlxs3b-docbook-xml-4.5 + libxml2 2.9.8 out /gnu/store/l2f5m536i38z1403fyxjnrbrfk6d9xqb-libxml2-2.9.8 + libxslt 1.1.32 out /gnu/store/d873smkv345rsb5bj3db0qj225lsl9gs-libxslt-1.1.32 + evince 3.28.2 out /gnu/store/nrkzk9hb243r10828snw5fzr8wh7b8j1-evince-3.28.2 + zip 3.0 out /gnu/store/f8fvjnqz091053099wghflw4gbrphqcr-zip-3.0 + wget 1.19.5 out /gnu/store/jic99a7c275g4lv8bc8mxigzw6c9b0h4-wget-1.19.5 + icecat 60.3.0-gnu1 out /gnu/store/rllrc55ygi4yhxnhq8v41ynl6mg5ak56-icecat-60.3.0-gnu1 + graphviz 2.40.1 out /gnu/store/155d09rr27fj9wjcajn4d2rmvwsn3hwx-graphviz-2.40.1 + font-gnu-freefont-ttf 20120503 out /gnu/store/w5jl7bvk86srfawxyfsg2n4b11zwwnfy-font-gnu-freefont-ttf-20120503 + workrave 1.10.21 out /gnu/store/bli5m4m8hvkkhrphv13qkgyln7zghzvs-workrave-1.10.21 + youtube-dl 2018.11.07 out /gnu/store/20wr2z2qnm36mwcdmmzpsvr9f4899gc9-youtube-dl-2018.11.07 + xfce4-clipman-plugin 1.2.6 out /gnu/store/ja8sv7jmpvdn6bs264p3xxbzlkqxi2il-xfce4-clipman-plugin-1.2.6 + xfce4-taskmanager 1.1.0 out /gnu/store/7s67w5pd7v5g3wyrvrc8ikqinlvbaa6w-xfce4-taskmanager-1.1.0 + nload 0.7.4 out /gnu/store/4596mpsg2w7zmv8zz0ln1qn8pq80bkk7-nload-0.7.4 + strace 4.25 out /gnu/store/jwsi74vkwb3y32w7hbnxsbssi0fp73l8-strace-4.25 + emacs 26.1 out /gnu/store/gppr8msvzgxr87psbj3w6hc07lnnzpvx-emacs-26.1 + emacs-atom-one-dark-theme 0.4.0-0.1f1185b out /gnu/store/mlxnvrkgmiaf5jr1afp1dswwnn0jq4w1-emacs-atom-one-dark-theme-0.4.0-0.1f1185b + node-test 0.6.0 out /gnu/store/y32myp8pdraqk6iay4advvwlfdqlh4g0-node-test-0.6.0 + node-minimist 1.2.0 out /gnu/store/dcl9qs1p2ckqjqhczj44gaasfmsljqgl-node-minimist-1.2.0 + guile-readline 2.2.4 out /gnu/store/2fsg1jl3hwxnak9h39f6vzx87hp48dsm-guile-readline-2.2.4 + node-semver 5.6.0 out /gnu/store/kqp94lm2gnrrck8mmgk2s20lpnxngj15-node-semver-5.6.0 + mpv 0.29.1 out /gnu/store/98mfmg8ig0pzg06n252km4nil7rzpzls-mpv-0.29.1 + pavucontrol 3.0 out /gnu/store/w64idpi253b6p7jhcmsxyghglvlgil4j-pavucontrol-3.0 + emacs-guix 0.5 out /gnu/store/0db00065vhmy5qkpkgrnvxhxrc0mbp6z-emacs-guix-0.5 + openssh 7.9p1 out /gnu/store/f9xad574zlhpgr97kl4xzvg1vlnr7yps-openssh-7.9p1 + emacs-bbdb 3.1.2 out /gnu/store/9s774yrqi1c7dfsh2hba022vfqbb1swg-emacs-bbdb-3.1.2 + emacs-emojify 0.4 out /gnu/store/kwfibj4s5wcr0m0m57fwvhjqpzlyjwrg-emacs-emojify-0.4 Should we close this bug? -- Cheers Swedebugia ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2019-01-14 22:11 ` swedebugia @ 2019-01-14 22:42 ` Pierre Neidhardt 2019-02-05 17:55 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2019-01-14 22:42 UTC (permalink / raw) To: swedebugia; +Cc: help-guix, Help-Guix [-- Attachment #1: Type: text/plain, Size: 251 bytes --] Swedebugia, you might be misunderstood: neighter Icecat not mpv are WebKit-based, which is at the root of this issue. If you'd like to test, you should try with, say, eolie, epiphany, vimb or next. -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2019-01-14 22:42 ` Pierre Neidhardt @ 2019-02-05 17:55 ` Pierre Neidhardt 2019-02-10 18:27 ` Pierre Neidhardt 0 siblings, 1 reply; 30+ messages in thread From: Pierre Neidhardt @ 2019-02-05 17:55 UTC (permalink / raw) To: swedebugia; +Cc: help-guix, Help-Guix [-- Attachment #1: Type: text/plain, Size: 268 bytes --] I can reproduce on a fresh Guix install. It bugs me that I don't seem to be able to reproduce the issue reliably (I tried removing the Gstreamer cache). Anyone else? Well, I guess I'll work on a patch then :) -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: WebKit: Failing to play most HTML5 videos 2019-02-05 17:55 ` Pierre Neidhardt @ 2019-02-10 18:27 ` Pierre Neidhardt 0 siblings, 0 replies; 30+ messages in thread From: Pierre Neidhardt @ 2019-02-10 18:27 UTC (permalink / raw) To: swedebugia; +Cc: help-guix, Help-Guix [-- Attachment #1: Type: text/plain, Size: 917 bytes --] I just tried the following in gst-plugins-bad: --8<---------------cut here---------------start------------->8--- (build-system gnu-build-system) + (native-search-paths + ;; Note: This search path is respected by the `curl` command-line tool only. + ;; Ideally we would bake this into libcurl itself so other users can benefit, + ;; but it's not supported upstream due to thread safety concerns. + (list (search-path-specification + (variable "CURLOPT_CAPATH") + (files '("etc/ssl/certs"))) + (search-path-specification + (variable "CURLOPT_CAINFO") + (files '("etc/ssl/certs/ca-certificates.crt"))))) (arguments '(#:tests? #f ; XXX: 13 of 53 tests fail --8<---------------cut here---------------end--------------->8--- Didn't work :/ Gotta try harder... -- Pierre Neidhardt https://ambrevar.xyz/ [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 487 bytes --] ^ permalink raw reply [flat|nested] 30+ messages in thread
end of thread, other threads:[~2019-02-10 18:27 UTC | newest] Thread overview: 30+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-12-08 12:30 WebKit: Failing to play most HTML5 videos Pierre Neidhardt 2018-12-08 12:39 ` Pierre Neidhardt 2018-12-08 14:31 ` swedebugia 2018-12-08 15:30 ` Pierre Neidhardt 2018-12-09 5:51 ` Leo Famulari 2018-12-09 12:21 ` Pierre Neidhardt 2018-12-11 7:23 ` swedebugia 2018-12-11 8:02 ` Ricardo Wurmus 2018-12-11 8:15 ` Ricardo Wurmus 2018-12-11 17:22 ` Pierre Neidhardt 2018-12-11 17:32 ` Pierre Neidhardt 2018-12-11 17:33 ` Pierre Neidhardt 2018-12-12 1:52 ` Ricardo Wurmus 2018-12-12 7:49 ` Ricardo Wurmus 2018-12-12 7:56 ` Ricardo Wurmus 2018-12-20 10:23 ` Pierre Neidhardt 2018-12-20 10:40 ` Ricardo Wurmus 2018-12-20 10:50 ` Pierre Neidhardt 2018-12-20 14:31 ` Ricardo Wurmus 2018-12-20 16:56 ` Pierre Neidhardt 2018-12-20 21:23 ` Ricardo Wurmus 2018-12-21 10:55 ` Pierre Neidhardt 2018-12-21 11:58 ` Ricardo Wurmus 2018-12-21 12:39 ` Pierre Neidhardt 2019-01-13 19:40 ` Pierre Neidhardt 2019-01-14 15:22 ` Pierre Neidhardt 2019-01-14 22:11 ` swedebugia 2019-01-14 22:42 ` Pierre Neidhardt 2019-02-05 17:55 ` Pierre Neidhardt 2019-02-10 18:27 ` Pierre Neidhardt
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).