Bug 238952

Summary: [GStreamer] Some youtube videos are not playing
Product: WebKit Reporter: 247 <mad_fer_it>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: philn, pnormand
Priority: P2    
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=238991

247
Reported 2022-04-07 12:08:07 PDT
hello, seems that webkitgtk has some troubles with some youtube videos, as they are not playing while some others are gathered this on the terminal, from epiphany in fedora 35, maybe it will help? (WebKitWebProcess:2): GLib-GObject-WARNING **: 20:34:32.280: g_object_set_is_valid_property: object class 'avdec_av1' has no property named 'max-threads'
Attachments
Philippe Normand
Comment 1 2022-04-08 03:17:13 PDT
Thanks for the bug-report. Can you gather some logs please? The procedure is explained there: https://github.com/Igalia/meta-webkit/wiki/Providing-useful-GStreamer-Zero-copy-issue-reports#in-webkit
Philippe Normand
Comment 2 2022-04-08 03:25:03 PDT
> (WebKitWebProcess:2): GLib-GObject-WARNING **: 20:34:32.280: > g_object_set_is_valid_property: object class 'avdec_av1' has no property > named 'max-threads' Let's handle this one in https://bugs.webkit.org/show_bug.cgi?id=238991
Philippe Normand
Comment 3 2022-04-08 04:31:05 PDT
Please attach logs here... not in the other bug.
247
Comment 4 2022-04-08 04:36:24 PDT
my bad i found later the right command, anyway i would love to help you but unfortunately the folder in tmp that should contain logs is empty...
Philippe Normand
Comment 5 2022-04-10 08:24:43 PDT
(In reply to 247 from comment #4) > my bad i found later the right command, anyway i would love to help you but > unfortunately the folder in tmp that should contain logs is empty... That's quite odd, I doubt Fedora disables GStreamer debug logging. Not sure I can help much without this...
Philippe Normand
Comment 6 2022-04-12 10:19:44 PDT
GST_DEBUG="3,webkit*:6" GST_DEBUG_DUMP_DOT_DIR=/tmp epiphany "https://www.youtube.com/watch?v=XIAor5VAjuE" shows nothing either?
247
Comment 7 2022-04-14 03:31:37 PDT
if the folder is /tmp/epiphany-luca247-e8l4pX then yes it's empty...
Philippe Normand
Comment 8 2022-04-15 10:40:54 PDT
I mean in the terminal output...
247
Comment 9 2022-04-15 10:45:39 PDT
it's actually full of c:2068:gst_ffmpegviddec_handle_frame:<avdec_av1-0> Failed to send data for decoding 0:00:22.626063912 2 0x7fc17c00b760 ERROR libav :0:: video_get_buffer: image parameters invalid 0:00:22.626071981 2 0x7fc17c00b760 ERROR libav :0:: get_buffer() failed 0:00:22.626077629 2 0x7fc17c00b760 ERROR libav :0:: thread_get_buffer() failed 0:00:22.626083319 2 0x7fc17c00b760 ERROR libav :0:: Failed to allocate space for current frame. 0:00:22.626088690 2 0x7fc17c00b760 ERROR libav :0:: Get current frame error 0:00:22.626095629 2 0x7fc17c00b760 WARN libav gstavviddec.c:2068:gst_ffmpegviddec_handle_frame:<avdec_av1-0> Failed to send data for decoding
Philippe Normand
Comment 10 2022-04-15 10:58:49 PDT
Try this? export GST_PLUGIN_FEATURE_RANK=avdec_av1:NONE Then run epiphany again
247
Comment 11 2022-04-16 16:02:32 PDT
this solves the problem, thank you...
Philippe Normand
Comment 12 2022-08-16 11:58:22 PDT
What's the ffmpeg version you have? I think this should be reported in their bug tracker if the issue is still happening.
Philippe Normand
Comment 13 2022-12-21 05:31:28 PST
The ffmpeg av1 decoder is going to be disabled in GStreamer 1.20, see https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3610 Closing.
Note You need to log in before you can comment on or make changes to this bug.