<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <br>
    <br>
    <div class="moz-cite-prefix">Den 12.10.2024 00:04, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky5hzxhkwgrfFsyjewip4ncVU=V3qSFMp3h1TSfobCq7sw@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">сб, 12 окт. 2024 г., 00:36
              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 11.10.2024 23:13, skrev Andrew Randrianasulu:<br>
                </div>
                <blockquote type="cite">
                  <div dir="auto">
                    <div><br>
                      <br>
                      <div class="gmail_quote">
                        <div dir="ltr" class="gmail_attr">сб, 12 окт.
                          2024 г., 00:04 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>
                            <div>Den 11.10.2024 22:39, skrev Andrew
                              Randrianasulu:<br>
                            </div>
                            <blockquote type="cite">
                              <div dir="auto">
                                <div><br>
                                  <br>
                                  <div class="gmail_quote">
                                    <div dir="ltr" class="gmail_attr">пт,
                                      11 окт. 2024 г., 23:36 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                      <div> <br>
                                        <br>
                                        <div>Den 11.10.2024 22:13, skrev
                                          Terje J. Hanssen:<br>
                                        </div>
                                        <blockquote type="cite"> <br>
                                          <br>
                                          <div>Den 11.10.2024 21:04,
                                            skrev Andrew Randrianasulu:<br>
                                          </div>
                                          <blockquote type="cite">
                                            <div dir="auto">So, Terje,
                                              can you run your usual
                                              working ffmpeg command
                                              encoding av1 via system
                                              fmmpeg/qsv but with added
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">-loglevel
                                                debug<br>
                                              </div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">?</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">and post
                                                full output here.</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">Then we
                                                can set same loglevel in
                                                bin/ffmpeg/encode.opts</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">so we
                                                hopefully will spot
                                                difference in parameters
                                                send down to line ...</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">then we
                                                can try to make ffmpeg
                                                fail by adding say
                                                -profile=main to
                                                ffmpeg's command line
                                                and see more detailed
                                                error</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">then
                                                hopefully we can tweak
                                                qsv_av1 profile back
                                                into usability.</div>
                                              <div dir="auto"><br>
                                              </div>
                                              <div dir="auto">Repeat for
                                                vp9/h264. </div>
                                            </div>
                                          </blockquote>
                                          <br>
                                          <br>
                                          Andrew, I think use two input
                                          video examples<br>
                                          1) SD-DV <br>
                                          2) HDV <br>
                                          <br>
                                          Currently ffmpeg-7-7.0.2 on
                                          Tumbleweed-Slowroll (but have
                                          also ffmpeg-7-7.1 on Leap if
                                          wanted)<br>
                                          I use output.log file. For
                                          some reason the terminal
                                          output alone is seemingly more
                                          verbose, and longer than I can
                                          scroll back to copy.<br>
                                          <br>
                                        </blockquote>
                                        Oh, the reason was the ffmpeg
                                        output file existed and it
                                        wasn't overwritten.<br>
                                        I also shows that the output is
                                        too long for Cingg messages, and
                                        I try to post the two log files
                                        compressed by email if
                                        acceptable(?)<br>
                                      </div>
                                    </blockquote>
                                  </div>
                                </div>
                                <div dir="auto"><br>
                                </div>
                                <div dir="auto">I think only parts where
                                  we see setup.of MXF session are
                                  important, but I hope log files
                                  compress well. If they still too big
                                  post them to me directly.</div>
                              </div>
                            </blockquote>
                            <br>
                            I posted them directly this time  as .gz<br>
                            If you tell me what to 'grep' or search for
                            I can extract it and post it here next
                            (searched 'mxf without finding something) .<br>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">true, it was prefixed by</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">[av1_qsv @<br>
                    </div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">try to search for av1_qsv lines ?</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Anyway, I think we get our working
                      baseline, now (or may be tomorrow? depend on
                      localtime) it will be time to get creative with
                      ffmpeg switches.</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">You probably can save lig files in
                      folders named</div>
                  </div>
                </blockquote>
                <br>
                "lig files" (similar for h264/hevc/vp9 ?)<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">log files - typo!</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="auto">
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">working</div>
                    <div dir="auto">param1_level10_profile_main</div>
                    <div dir="auto">param2_level30_profile_main10</div>
                    <div dir="auto">param3_level0_profile_high_notworking</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">so it will be easer to see where
                      working vs non-working logs are.</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">Quote a chore. I suggest to create
                      just few working and few non-working cases.</div>
                    <div dir="auto"><br>
                    </div>
                    <div dir="auto">May be for tommorow?</div>
                  </div>
                </blockquote>
                <br>
                Late now, so good suggestion.<br>
                Tomorrow I  will be some on and off.<br>
              </div>
            </blockquote>
          </div>
        </div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">I tend to stay up at night, but then I'll sleep
          most of light day! (depending on my dog of course).</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">so .. see you!</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto"><br>
        </div>
      </div>
    </blockquote>
    <br>
    Two additional ffmpeg code lines 3) and 4 for HEVC QSV follow. These
    are not correspondingly to 1) and 2), but working codes I have
    tested before.<br>
    Log files via email.<br>
    <br>
    <font face="Courier New, Courier, monospace">3)<br>
      1080i HDV-> HEVC_QSV<br>
      --------------------<br>
      ffmpeg -hide_banner -loglevel debug -hwaccel_output_format qsv -i
      hdv09_04.m2t -pix_fmt p010le -c:v hevc_qsv -profile:v main10
      hdv09_04_hevc_qsv.mp4 > hdv09_04_hevc_qsv.log 2>&1<br>
      <br>
      4)<br>
      HEVC qsv decode + HEVC qsv encode<br>
      ---------------------------------<br>
      ffmpeg -hide_banner -loglevel debug -hwaccel_output_format qsv
      -c:v hevc_qsv -i h265_yuv420p+opus.mp4 -c:v hevc_qsv
      hevc_yuv420p+opus_qsv.mp4 > hevc_yuv420p+opus_qsv.log
      2>&1<br>
        </font><br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky5hzxhkwgrfFsyjewip4ncVU=V3qSFMp3h1TSfobCq7sw@mail.gmail.com">
      <div dir="auto">
        <div dir="auto">
          <blockquote type="cite">
            <div dir="auto">
              <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="auto">
                          <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>
                                  <font
face="Courier New, Courier, monospace">1)<br>
                                    576i SD-DV -> AV1_QSV at bv1570k<br>
                                    --------------------------------<br>
                                    ffmpeg -loglevel debug
                                    -hwaccel_output_format qsv
                                    -qsv_device /dev/dri/renderD128 -i
                                    dv01_07.dv -c:v av1_qsv -preset 4
                                    -b:v 1570k
                                    dv01_07_av1_qsv_pr4_bv1570k.webm
                                    > dv01_07_av1_qsv.log 2>&1<br>
                                    <br>
                                    2)<br>
                                    1080i HDV->AV1_QSV at bv3700k<br>
                                    -----------------------------<br>
                                    fmpeg -hide_banner
                                    -hwaccel_output_format qsv
                                    -qsv_device /dev/dri/renderD128
                                    -extra_hw_frames 16 -i hdv09_04.m2t
                                    -c:v av1_qsv -preset 4 -b:v 3700k
                                    hdv09_04_av1_qsv_pr4_bv3700k.webm
                                    > hdv09_04_av1_qsv.log
                                    2>&1<br>
                                    <br>
                                  </font> </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                      <br>
                    </div>
                  </blockquote>
                </div>
              </div>
            </div>
          </blockquote>
          <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">
            </blockquote>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>