<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 14.10.2024 22:58, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky7EtW=74Mc2g8Q5pZuJEEeGN_7UtgZjGd-iZb0fZpJ6gA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">
        <div><br>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">пн, 14 окт. 2024 г., 23:55
              Terje J. Hanssen <<a
                href="mailto:terjejhanssen@gmail.com"
                moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
            </div>
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div> <br>
                <br>
                <div>Den 14.10.2024 21:53, skrev Terje J. Hanssen:<br>
                </div>
                <blockquote type="cite"> <br>
                  <br>
                  <br>
                  <div>Den 14.10.2024 21:30, skrev Andrew Randrianasulu:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="auto">
                      <div><br>
                        <br>
                        <div class="gmail_quote">
                          <div dir="ltr" class="gmail_attr">пн, 14 окт.
                            2024 г., 22:20 Terje J. Hanssen <<a
                              href="mailto:terjejhanssen@gmail.com"
                              target="_blank" rel="noreferrer"
                              moz-do-not-send="true"
                              class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
                          </div>
                          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div> <br>
                              <br>
                              <br>
                              <div>Den 14.10.2024 20:03, skrev Andrew
                                Randrianasulu:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div dir="ltr"><br>
                                  </div>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr" class="gmail_attr">On
                                      Mon, Oct 14, 2024 at 8:46 PM
                                      Andrew Randrianasulu <<a
href="mailto:randrianasulu@gmail.com" rel="noreferrer noreferrer"
                                        target="_blank"
                                        moz-do-not-send="true"
                                        class="moz-txt-link-freetext">randrianasulu@gmail.com</a>>
                                      wrote:<br>
                                    </div>
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div><br>
                                          <br>
                                          <div class="gmail_quote">
                                            <div dir="ltr"
                                              class="gmail_attr">пн, 14
                                              окт. 2024 г., 18:58 Terje
                                              J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com" rel="noreferrer noreferrer"
                                                target="_blank"
                                                moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
                                            </div>
                                            <blockquote
                                              class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                              <div> <br>
                                                <div>Den 14.10.2024
                                                  00:38, skrev Andrew
                                                  Randrianasulu:<br>
                                                </div>
                                                <blockquote type="cite">
                                                  <div dir="auto">
                                                    <div><br>
                                                      <br>
                                                      <div
class="gmail_quote">
                                                        <div dir="ltr"
class="gmail_attr">пн, 14 окт. 2024 г., 01:36 Phyllis Smith <<a
href="mailto:phylsmith2017@gmail.com"
rel="noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">phylsmith2017@gmail.com</a>>:<br>
                                                        </div>
                                                        <blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                                          <div dir="ltr">
                                                          <div
style="font-size:small">Andrew, so it seems prudent to check into GIT,
                                                          the
                                                          av1_vaapi.mp4
                                                          render format
                                                          (after
                                                          successfully
                                                          tested of
                                                          course); but
                                                          what about the
                                                          QSV encoders?<br>
                                                          </div>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                    </div>
                                                    <div dir="auto"><br>
                                                    </div>
                                                    <div dir="auto"><br>
                                                    </div>
                                                    <div dir="auto">wait
                                                      for Terje's
                                                      testing OR try to
                                                      build oneVPL-cpu
                                                      (it sort of
                                                      circles back to
                                                      different branch
                                                      of ffmpeg, so
                                                      ffmpeg will think
                                                      it uses qsv but it
                                                      in fact will use
                                                      another ffmpeg
                                                      .... well, in
                                                      theory! it does
                                                      not work for me on
                                                      32-bit!)</div>
                                                    <div dir="auto">
                                                      <div
class="gmail_quote">
                                                        <blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
                                                          <div
class="gmail_quote">
                                                          <div dir="ltr"
class="gmail_attr">On Sun, Oct 13, 2024 at 2:36 PM Andrew Randrianasulu
                                                          via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org"
rel="noreferrer noreferrer noreferrer noreferrer" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>
                                                          wrote:<br>
                                                          </div>
                                                          <blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                                          <div
                                                          dir="auto">hopefully
                                                          with very
                                                          silly
                                                          top-line-as-comment
                                                          error fixed
                                                          <div
                                                          dir="auto"><br>
                                                          </div>
                                                          <div
                                                          dir="auto">SORRY!</div>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                        </blockquote>
                                                      </div>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                                <br>
                                                I saved the 6 profiles
                                                in ffmpeg/video and
                                                tested them with SD-DV
                                                input.<br>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">in
                                          cinelerra-5.1/bin/ffmpeg/video</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                              Yes, in
                              /home/cinelerra/cinelerra-5.1/ffmpeg/video<br>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">you need either execute make
                        install or put them in
                        cinelerra/bin/ffmpeg/video manually</div>
                    </div>
                  </blockquote>
                  <br>
                  Sorry, my fault that I had "lost" that bin level in
                  the path. Actually I also found the mentioned dfl file
                  there..<br>
                  I save the complete set of test profiles from this
                  first post in
                  /home/cinelerra/cinelerra-5.1/bin/ffmpeg/video and
                  retest them <br>
                  <br>
                </blockquote>
                <br>
                That went much better. Now 5 of 6 profiles work, except
                2) that still not work:<br>
                <br>
                2)<br>
                dv01_07_av1_qsv.mp4<br>
                Audio preset: h264.mp4 <br>
                Video compression: av1_qsv.mp4<br>
                Pixels: nv12 <br>
                <br>
                int FFMPEG::init_encoder(const char*):<br>
                mismatch audio/video file format:
                /Videoklipp/QSV/dv01_07_av1_qsv.mp4<br>
                <br>
                Doesn't work with Audio disabled either<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">can you double-check that first line in this
          file reads</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">mp4 av1_qsv</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">and comment (line starting with #)  is second?</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">may be I missed this one ...</div>
      </div>
    </blockquote>
    <br>
    No, the # comment line was first (see initial 2) below here).<br>
    I edited it and now it works :)<br>
    <br>
    Your last "all-profiles.tar.gz" I have temporary extracted and saved
    in $HOME/tmp/usr/share/cin/ffmpeg/<br>
    Can I copy all those (video and audio) to my
    /home/cinelerra/cinelerra-5.1/bin/ffmpeg to access them from custom
    /home/cinelerra/cinelerra-5.1/bin/cin ?<br>
    I verified that av1_qsv.mp4 is corrected here.<br>
    <br>
    <br>
     <br>
    <blockquote type="cite"
cite="mid:CA+rFky7EtW=74Mc2g8Q5pZuJEEeGN_7UtgZjGd-iZb0fZpJ6gA@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">
          <div class="gmail_quote">
            <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div> <br>
                <br>
                 <br>
                <blockquote type="cite">
                  <blockquote type="cite">
                    <div dir="auto">
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">
                        <div class="gmail_quote">
                          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div class="gmail_quote">
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">with cin
                                          launched as bin/cin from this
                                          directory?</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                              /home/cinelerra/cinelerra-5.1# bin/cin
                              (all testing as root)<br>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">so, permission problem is not for
                        you .....</div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">
                        <div class="gmail_quote">
                          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div> <br>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div class="gmail_quote">
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">sorry for such
                                          pedantry, but I get same
                                          mismatch and generally just
                                          moving commentary to second
                                          line worked.</div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">may be you need
                                          additional dfl file in
                                          ffmpeg/audio ?</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                              You remember I also got - and thought I
                              saved 13/10:<br>
                              "can you test those two attached files
                              (profile for av1_qsv.webm and default file
                              for av1_qsv, put both in bin/ffmpeg/video)
                              ?"<br>
                              <br>
                              But I have only<br>
                              /home/cinelerra/cinelerra-5.1/ffmpeg/video
                              # lls -1 av1*qsv*<br>
                              av1_qsv.mp4<br>
                              av1_qsv.webm<br>
                              <br>
                              That is no av1_qsv.dfl there!<br>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">note, cinelerra-5.1/ffmpeg is that
                        git controls, normally.</div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">on make install files from there
                        copied to bin/ffmpeg if single-user or into
                        /usr/share/cin/ffmpeg if system install.</div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">so please double-check that files
                        you get from me in bin/ffmpeg/video, not just in
                        ffmpeg/video!</div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">Also check out nuclear option
                        (tar.gz) You can see into it via say midnight
                        commander (enter on archive) and copy files you
                        need to cinelerra-5.1/bin/ffmpeg</div>
                      <div dir="auto"><br>
                      </div>
                      <div dir="auto">sorry for confusion!</div>
                      <div dir="auto">
                        <div class="gmail_quote">
                          <blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                            <div> <br>
                              <br>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div class="gmail_quote">
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">can you test
                                          without audio (checkbox audio
                                          unchecked)?</div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                              Tested 2) below without audio (unchecked):
                              same error<br>
                              <br>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div class="gmail_quote">
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto"><br>
                                        </div>
                                        <div dir="auto">
                                          <div class="gmail_quote">
                                            <blockquote
                                              class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                              <div> Only 1) av1_qsv.webm
                                                of them worked, so
                                                hopefully I have
                                                installed and tested
                                                them correctly(?)<br>
                                                <br>
                                                <font
face="Courier New, Courier, monospace"><br>
                                                  1) av1_qsv.webm:<br>
                                                  webm av1_qsv<br>
                                                  # only usable with
                                                  ext. ffmpeg<br>
                                                  cin_pix_fmt=nv12<br>
                                                  <br>
                                                  works with
                                                  pixelformats nv12 AND
                                                  p010le <br>
                                                  <br>
                                                  <br>
                                                  2) av1_qsv.mp4<br>
                                                  # only usable with
                                                  ext. ffmpeg<br>
                                                  mp4 av1_qsv<br>
                                                  cin_pix_fmt=nv12<br>
                                                  <br>
                                                  doesn't work:
                                                  pixelformat nv12<br>
                                                  int
                                                  FFMPEG::init_encoder(const
                                                  char*):<br>
                                                  mismatch audio/video
                                                  file format<br>
                                                </font></div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                    <div><br>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>does adding attached file into
                                      ffmpeg/audio/ fix this?<br>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                              Sorry, no change for 2)<br>
                              But is the attached av1_qsv.webm  for
                              av1_qsv.mp4 also, where audio preset is
                              h264.mp4 and no libvorbis visible option <br>
                              cat
                              /home/cinelerra/cinelerra-5.1/ffmpeg/audio/av1_qsv.webm<br>
                              webm libvorbis<br>
                              <br>
                              <br>
                              <br>
                              <br>
                              <br>
                              <br>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div class="gmail_quote">
                                    <div> </div>
                                    <blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                      <div dir="auto">
                                        <div dir="auto">
                                          <div class="gmail_quote">
                                            <blockquote
                                              class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
                                              <div><font
face="Courier New, Courier, monospace"> <br>
                                                  <br>
                                                  3) av1_vaapi.mp4<br>
                                                  mp4 av1_vaapi<br>
                                                  cin_hw_dev=vaapi<br>
                                                  profile=main<br>
                                                  <br>
                                                  not available?<br>
                                                  <br>
                                                  <br>
                                                  4) h264_qsv.mp4<br>
                                                  mp4 h264_qsv<br>
                                                  # only usable with
                                                  ext. ffmpeg<br>
                                                  profile=high<br>
                                                  cin_pix_fmt=nv12<br>
                                                  <br>
                                                  doesn't work:<br>
                                                  int
                                                  FFMPEG::init_encoder(const
                                                  char*):<br>
                                                  mismatch audio/video
                                                  file format:<br>
                                                  <br>
                                                  <br>
                                                  5) hevc_qsv.mp4<br>
                                                  mp4 hevc_qsv<br>
                                                  # only usable with
                                                  ext. ffmpeg, another
                                                  pixfmt is yuyv422<br>
                                                  profile=main<br>
                                                  cin_pix_fmt=nv12<br>
                                                  <br>
                                                  doesn't work:<br>
                                                  int
                                                  FFMPEG::init_encoder(const
                                                  char*):<br>
                                                  mismatch audio/video
                                                  file format:<br>
                                                  <br>
                                                  <br>
                                                  6)<br>
                                                  cat vp9_qsv.mp4<br>
                                                  mp4 vp9_qsv<br>
                                                  # only usable with
                                                  ext. ffmpeg<br>
                                                  <br>
                                                  doesn't work:<br>
                                                  int
                                                  FFMPEG::init_encoder(const
                                                  char*):<br>
                                                  mismatch audio/video
                                                  file format:</font><br>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                            </div>
                          </blockquote>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </blockquote>
                <br>
              </div>
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>