<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 30/11/2022 06:05, Nirbheek Chauhan
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CADqQcK4OegRR6JZWqWsGW=D1LiFP3eOdLL+yrG2xnQFaBwJJOw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Hi Philippe,
        <div dir="auto"><br>
        </div>
        <div dir="auto">Sorry I gave you the wrong options. It's</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">-Dbad=enabled -Dgst-plugins-bad:va=enabled</div>
      </div>
    </blockquote>
    <p>Wow, it works now :) Thank you *very* much Nirbheek, really, this
      was blocking the whole project.<br>
    </p>
    <p>PS - does anybody know why I don't receive / see any of my
      messages to the list, only the replies to my messages? This is the
      first time it happens to me in years of using the mailman
      interface, I tried every sensible option, but no, I can't seem to
      receive my own messages, so I have to use the web interface to
      catch up :/<br>
    </p>
    <blockquote type="cite"
cite="mid:CADqQcK4OegRR6JZWqWsGW=D1LiFP3eOdLL+yrG2xnQFaBwJJOw@mail.gmail.com"><br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sun, 27 Nov, 2022, 19:50
          Philippe Coatmeur, <<a href="mailto:xaccrocheur@gmail.com"
            moz-do-not-send="true" class="moz-txt-link-freetext">xaccrocheur@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>
            <p>I suppose this has to do with <a
href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/commit/64725758eb3ba25f95e4fe9f105e6b8842c54b83"
                target="_blank" rel="noreferrer" moz-do-not-send="true">this
                problem</a> but I tried to pull the latest commit, and
              still, no va :(</p>
            <p>HEAD is now at dec3aa55 audioconvert, audioresample,
              audiofilter: fix divide by 0 for input buffer without caps<br>
              The Meson build system<br>
              Version: 0.63.2<br>
              Source dir: /run/build/gstreamer<br>
              Build dir: /run/build/gstreamer/_flatpak_build<br>
            </p>
            <pre>../meson.build:1:0: ERROR: Unknown options: "va"

This is really frustrating, does anybody know how I can overcome this obstacle?
</pre>
            <div>On 27/11/2022 05:19, Nirbheek Chauhan wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="auto">Hi,
                <div dir="auto"><br>
                </div>
                <div dir="auto">There have been a number of
                  vaapipostproc bugs that exhibit weird colors in the
                  output. For example:</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto"><a
href="https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/314"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true" class="moz-txt-link-freetext">https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/issues/314</a></div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">You can either tweak your pipeline to
                  work around those bugs, or you can swap out the
                  deprecated gstreamer-vaapi plugin for the new gstva
                  plugin.</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">-Dva=enabled
                  -Dgst-plugins-bad:va=enabled</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">Then, while running your app, set this
                  env var:</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">GST_PLUGIN_FEATURE_RANK=vah265dec:PRIMARY,vapostproc:PRIMARY</div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">On Sun, 27 Nov, 2022,
                  02:31 Philippe Coatmeur via gstreamer-devel, <<a
                    href="mailto:gstreamer-devel@lists.freedesktop.org"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true" class="moz-txt-link-freetext">gstreamer-devel@lists.freedesktop.org</a>>
                  wrote:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div>
                    <p>Hello everyone</p>
                    <p>I'm currently developing an application with a
                      video player component, using <a
                        href="https://docs.gtk.org/gtk4/class.Video.html"
                        rel="noreferrer noreferrer" target="_blank"
                        moz-do-not-send="true">the new Gtk4 Gtk.Video
                        class</a>, which I understand is not directly
                      gstreamer-related.</p>
                    <p>However, it does use the Gstreamer plugins ; Now,
                      on the desktop, as a standalone app, it makes use
                      of the distribution packages (base, good, bad, and
                      ugly) and everything works fine. <br>
                    </p>
                    <p>But in the portable (Flatpak) version, I build
                      them to make them available inside the app's
                      sandbox, like this:</p>
                    <p><font face="monospace">{<br>
                            "name": "gstreamer",<br>
                            "buildsystem": "meson",<br>
                            "config-opts": [<br>
                                "--buildtype=release",<br>
                                "--wrap-mode=nodownload</font></p>
                    <pre>This is really frutrating</pre>
                    <p><font face="monospace">",<br>
                        <br>
                                "-Dbase=enabled",<br>
                                "-Dgood=enabled",<br>
                                "-Dbad=enabled",<br>
                                "-Dugly=enabled",<br>
                                "-Dlibav=enabled",<br>
                                "-Dvaapi=enabled",<br>
                                "-Dsharp=disabled",<br>
                                "-Drs=disabled",<br>
                                "-Dpython=disabled",<br>
                                "-Ddevtools=disabled",<br>
                                "-Dges=disabled",<br>
                                "-Drtsp_server=disabled",<br>
                                "-Dgst-examples=disabled",<br>
                                "-Dqt5=disabled",<br>
                                "-Dtests=disabled",<br>
                                "-Dexamples=disabled",<br>
                                "-Dintrospection=enabled",<br>
                                "-Ddoc=disabled",<br>
                                "-Dgtk_doc=disabled",<br>
                                "-Dgpl=enabled",<br>
                        <br>
                                "-Dgstreamer:benchmarks=disabled",<br>
                               
                        "-Dgstreamer:gobject-cast-checks=disabled",<br>
                                "-Dgstreamer:glib-asserts=disabled",<br>
                                "-Dgstreamer:glib-checks=disabled",<br>
                                "-Dgstreamer:extra-checks=disabled",<br>
                        <br>
                               
                        "-Dgst-plugins-base:gobject-cast-checks=disabled",<br>
                               
                        "-Dgst-plugins-base:glib-asserts=disabled",<br>
                               
                        "-Dgst-plugins-base:glib-checks=disabled",<br>
                               
                        "-Dgst-plugins-base:gl_api=opengl,gles2",<br>
                               
                        "-Dgst-plugins-base:gl_platform=egl,glx",<br>
                        <br>
                               
                        "-Dgst-plugins-good:gobject-cast-checks=disabled",<br>
                               
                        "-Dgst-plugins-good:glib-asserts=disabled",<br>
                               
                        "-Dgst-plugins-good:glib-checks=disabled",<br>
                                "-Dgst-plugins-good:gtk3=disabled",<br>
                        <br>
                               
                        "-Dgst-plugins-bad:gobject-cast-checks=disabled",<br>
                               
                        "-Dgst-plugins-bad:glib-asserts=disabled",<br>
                               
                        "-Dgst-plugins-bad:glib-checks=disabled",<br>
                               
                        "-Dgst-plugins-bad:extra-checks=disabled",<br>
                                "-Dgst-plugins-bad:vulkan=disabled",<br>
                                "-Dgst-plugins-bad:webrtc=disabled",<br>
                                "-Dgst-plugins-bad:wasapi=disabled",<br>
                                "-Dgst-plugins-bad:wasapi2=disabled",<br>
                                "-Dgst-plugins-bad:winks=disabled",<br>
                               
                        "-Dgst-plugins-bad:winscreencap=disabled",<br>
                                "-Dgst-plugins-bad:assrender=enabled",<br>
                                "-Dgst-plugins-bad:nvcodec=enabled",<br>
                                "-Dgst-plugins-bad:v4l2codecs=enabled",<br>
                                "-Dgst-plugins-bad:va=enabled",<br>
                        <br>
                        <br>
                               
                        "-Dgst-plugins-ugly:gobject-cast-checks=disabled",<br>
                               
                        "-Dgst-plugins-ugly:glib-asserts=disabled",<br>
                               
                        "-Dgst-plugins-ugly:glib-checks=disabled",<br>
                                "-Dgst-plugins-ugly:mpeg2dec=enabled"<br>
                            ],<br>
                            "sources": [<br>
                                {<br>
                                    "type": "git",<br>
                                    "url": <a
                          href="https://gitlab.freedesktop.org/gstreamer/gstreamer.git"
                          rel="noreferrer noreferrer" target="_blank"
                          moz-do-not-send="true">"https://gitlab.freedesktop.org/gstreamer/gstreamer.git"</a>,<br>
                                    "tag": "1.21.2",<br>
                                    "commit":
                        "a1fcf2b90a293ed6d345411a73420fd77faed4f2",<br>
                                    "disable-submodules": true<br>
                                }<br>
                            ]<br>
                        }<br>
                      </font></p>
                    <p>But as soon as I enable the vaapi option - which
                      I need to decode H.265 - all the videos become
                      red, like they lose the G and B.</p>
                    <p>This has been blocking me for several days now,
                      as I tried a lot of options combinations, and the
                      above list of options is the best I could come up
                      with:</p>
                    <ul>
                      <li>Every codec but H.265 plays fine ; or<br>
                      </li>
                      <li>Every codec plays fine but only the red
                        channel<br>
                      </li>
                    </ul>
                    <p> Does anybody know why this happens? Is it a bad
                      interaction between two incompatible options?</p>
                    <p>Thank you for your attention,</p>
                    <p><br>
                    </p>
                    <p>Phil<br>
                    </p>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
  </body>
</html>