<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>238952</bug_id>
          
          <creation_ts>2022-04-07 12:08:07 -0700</creation_ts>
          <short_desc>[GStreamer] Some youtube videos are not playing</short_desc>
          <delta_ts>2022-12-21 05:31:28 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>WebKit Local Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=238991</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="247">mad_fer_it</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>philn</cc>
    
    <cc>pnormand</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1859360</commentid>
    <comment_count>0</comment_count>
    <who name="247">mad_fer_it</who>
    <bug_when>2022-04-07 12:08:07 -0700</bug_when>
    <thetext>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 &apos;avdec_av1&apos; has no property named &apos;max-threads&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859644</commentid>
    <comment_count>1</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-08 03:17:13 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859647</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-08 03:25:03 -0700</bug_when>
    <thetext>
&gt; (WebKitWebProcess:2): GLib-GObject-WARNING **: 20:34:32.280:
&gt; g_object_set_is_valid_property: object class &apos;avdec_av1&apos; has no property
&gt; named &apos;max-threads&apos;

Let&apos;s handle this one in https://bugs.webkit.org/show_bug.cgi?id=238991</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859665</commentid>
    <comment_count>3</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-08 04:31:05 -0700</bug_when>
    <thetext>Please attach logs here... not in the other bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1859669</commentid>
    <comment_count>4</comment_count>
    <who name="247">mad_fer_it</who>
    <bug_when>2022-04-08 04:36:24 -0700</bug_when>
    <thetext>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...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860111</commentid>
    <comment_count>5</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-10 08:24:43 -0700</bug_when>
    <thetext>(In reply to 247 from comment #4)
&gt; my bad i found later the right command, anyway i would love to help you but
&gt; unfortunately the folder in tmp that should contain logs is empty...

That&apos;s quite odd, I doubt Fedora disables GStreamer debug logging. Not sure I can help much without this...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1860713</commentid>
    <comment_count>6</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-12 10:19:44 -0700</bug_when>
    <thetext>GST_DEBUG=&quot;3,webkit*:6&quot; GST_DEBUG_DUMP_DOT_DIR=/tmp epiphany &quot;https://www.youtube.com/watch?v=XIAor5VAjuE&quot;

shows nothing either?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861440</commentid>
    <comment_count>7</comment_count>
    <who name="247">mad_fer_it</who>
    <bug_when>2022-04-14 03:31:37 -0700</bug_when>
    <thetext>if the folder is /tmp/epiphany-luca247-e8l4pX then yes it&apos;s empty...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861844</commentid>
    <comment_count>8</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-15 10:40:54 -0700</bug_when>
    <thetext>I mean in the terminal output...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861845</commentid>
    <comment_count>9</comment_count>
    <who name="247">mad_fer_it</who>
    <bug_when>2022-04-15 10:45:39 -0700</bug_when>
    <thetext>it&apos;s actually full of

c:2068:gst_ffmpegviddec_handle_frame:&lt;avdec_av1-0&gt; 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:&lt;avdec_av1-0&gt; Failed to send data for decoding</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861846</commentid>
    <comment_count>10</comment_count>
    <who name="Philippe Normand">pnormand</who>
    <bug_when>2022-04-15 10:58:49 -0700</bug_when>
    <thetext>Try this?

export GST_PLUGIN_FEATURE_RANK=avdec_av1:NONE

Then run epiphany again</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1862093</commentid>
    <comment_count>11</comment_count>
    <who name="247">mad_fer_it</who>
    <bug_when>2022-04-16 16:02:32 -0700</bug_when>
    <thetext>this solves the problem, thank you...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891722</commentid>
    <comment_count>12</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2022-08-16 11:58:22 -0700</bug_when>
    <thetext>What&apos;s the ffmpeg version you have? I think this should be reported in their bug tracker if the issue is still happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921043</commentid>
    <comment_count>13</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2022-12-21 05:31:28 -0800</bug_when>
    <thetext>The ffmpeg av1 decoder is going to be disabled in GStreamer 1.20, see https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3610

Closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>