Bug 238952
| Summary: | [GStreamer] Some youtube videos are not playing | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | 247 <mad_fer_it> |
| Component: | Media | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
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
> (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
Please attach logs here... not in the other bug.
247
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
(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
GST_DEBUG="3,webkit*:6" GST_DEBUG_DUMP_DOT_DIR=/tmp epiphany "https://www.youtube.com/watch?v=XIAor5VAjuE"
shows nothing either?
247
if the folder is /tmp/epiphany-luca247-e8l4pX then yes it's empty...
Philippe Normand
I mean in the terminal output...
247
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
Try this?
export GST_PLUGIN_FEATURE_RANK=avdec_av1:NONE
Then run epiphany again
247
this solves the problem, thank you...
Philippe Normand
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
The ffmpeg av1 decoder is going to be disabled in GStreamer 1.20, see https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3610
Closing.