<!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 23.10.2024 15:08, skrev Andrew
      Randrianasulu:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+rFky4VNe1i3BYUVwcHK8nbtGZLEBSrP+bG4-84nfTza=Ardg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2024 at
            2:59 PM Terje J. Hanssen <<a
              href="mailto:terjejhanssen@gmail.com"
              moz-do-not-send="true" class="moz-txt-link-freetext">terjejhanssen@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> <br>
              <br>
              <br>
              <div>Den 23.10.2024 03:10, skrev Andrew Randrianasulu:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>Try to set vprofile instead of profile?</div>
                </div>
              </blockquote>
              <br>
              Doesn't this correspond to what we previously also
              discussed for ffmpeg 7.0.2?<br>
            </div>
          </blockquote>
          <div><br>
          </div>
          <div>ffmpeg as cli does its own option processing, as far as I
            understand.</div>
          <div><br>
          </div>
          <div>Using av_dict_* functions in c++ code was working with
            libav*/ffmpeg libs up to 7.0</div>
          <div>but evidently not after..</div>
          <div><br>
          </div>
          <div>I'll look into what ffmpeg cli does now, but if more
            changes in pipeline may be we better to skip 7.1 completely?</div>
        </div>
      </div>
    </blockquote>
    <br>
    Well, I was happy to get the system 7.1 finally, but can set it on
    hold as a bin_71 backup, f.x until 7.1 come as internal upgrade to
    Cingg.<br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky4VNe1i3BYUVwcHK8nbtGZLEBSrP+bG4-84nfTza=Ardg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <div>I also do not know why output become progressive
            (flagged?) after upgrade. May be some default changed.</div>
        </div>
      </div>
    </blockquote>
    <br>
    This was not a big thing from or to - just something I noticed when
    I looked on the result when deinterlacing was testing.<br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky4VNe1i3BYUVwcHK8nbtGZLEBSrP+bG4-84nfTza=Ardg@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_quote">
          <div><br>
          </div>
          <div>Sorry, but can I suggest to put this build aside and
            retry with 7.0 built-in (+libvpl patch) so at least we will
            have point of reference?<br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Yes, this was also my next test plan when 7.1 system was working,
    backed up (Appimage) and installed from rpm on my two legacy Skylake
    iHD/Kabylake uHD  platforms.<br>
    Now it seems reasonable to continue directly on that thread.<br>
    <br>
    <br>
    <blockquote type="cite"
cite="mid:CA+rFky4VNe1i3BYUVwcHK8nbtGZLEBSrP+bG4-84nfTza=Ardg@mail.gmail.com">
      <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> <br>
              Re: [Cin] FFmpeg supported QSV pixel formats and profiles
              12.10.2024, 15:59<br>
              <a
href="https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008811.html"
                target="_blank" moz-do-not-send="true"
                class="moz-txt-link-freetext">https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008811.html</a><br>
              <br>
              >>> I think we can concentrate on av1 for now.<br>
              >>> does it fail if you add "-profile main" to
              ffmpeg command line for dv av1 encode?<br>
              >>> dv due to it being software codec, so ffmpeg
              forced to push and convert frames from system memory, as
              opposed to hdv (hw) = > av1 on-gpu transcode)<br>
              <br>
              >> No, it doesn't fail:<br>
              >> but claims:<br>
              >> "Please use -profile:a or -profile:v, -profile is
              ambiguous"<br>
              <br>
              > ah, I think it mostly relevant to ffmpeg as cli
              application.<br>
              <br>
              <br>
              Cingg renders standard PAL DV 5765i when the h264_qsv
              "profile" is changed to "vprofile",<br>
              though there are some other fail/err messages in the
              output<br>
              <br>
              <font face="Courier New, Courier, monospace">libva info:
                va_openDriver() returns 0<br>
                FFStream::encode_frame: encode failed.<br>
                file: /Videoklipp/QSV/dv01_07_h264_qsv_nv12.mp4<br>
                  err: Resource temporarily unavailable<br>
                FFStream::flush failed<br>
                :<a moz-do-not-send="true">file:/Videoklipp/QSV/dv01_07_h264_qsv_nv12.mp4</a><br>
                  err: Operation not permitted<br>
                Render::render_single: Session finished.<br>
                ** rendered 2832 frames in 5.291 secs, 535.249 fps<br>
                audio0 pad 32 0 (32)</font><br>
              <font face="Courier New, Courier, monospace"><br>
                <br>
                Looks like this rendering automatic deinterlace DV<br>
                <br>
                ffprobe -hide_banner dv01_07.dv<br>
                [dv @ 0x55613dce4140] Estimating duration from bitrate,
                this may be inaccurate<br>
                Input #0, dv, from 'dv01_07.dv':<br>
                  Metadata:<br>
                    timecode        : 01:09:35:09<br>
                  Duration: 00:01:53.28, start: 0.000000, bitrate: 28800
                kb/s<br>
                  Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR
                16:15 DAR 4:3], 28800 kb/s, 60k fps, 25 tbr, 60k tbn<br>
                  Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16,
                1536 kb/s<br>
                <br>
                <br>
                ffprobe -hide_banner dv01_07_h264_qsv_nv12.mp4<br>
                Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
                'dv01_07_h264_qsv_nv12.mp4':<br>
                  Metadata:<br>
                    major_brand     : isom<br>
                    minor_version   : 512<br>
                    compatible_brands: isomiso2avc1mp41<br>
                    encoder         : Lavf61.7.100<br>
                  Duration: 00:01:53.28, start: 0.000000, bitrate: 2798
                kb/s<br>
                  Stream #0:0[0x1](und): Video: h264 (High) (avc1 /
                0x31637661), yuv420p(tv, bt470bg/unknown/unknown,
                progressive), 720x576 [SAR 16:15 DAR 4:3], 2674 kb/s, 25
                fps, 25 tbr, 12800 tbn (default)<br>
                      Metadata:<br>
                        handler_name    : VideoHandler<br>
                        vendor_id       : [0][0][0][0]<br>
                  Stream #0:1[0x2](und): Audio: aac (LC) (mp4a /
                0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)<br>
                      Metadata:<br>
                        handler_name    : SoundHandler<br>
                        vendor_id       : [0][0][0][0]<br>
                <br>
                ----------------<br>
                <br>
              </font>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>For invalid picture structure .. does it go away
                    if you deinterlace video track?</div>
                </div>
              </blockquote>
              <br>
              So far standard PAL 1080i HDV is not accepted as input for
              h264_qsv rendering, which is too bad (tested it worked as
              deinterlaced to DV 16:9)<br>
              <br>
              ------------<br>
              <br>
              <blockquote type="cite">i suspect that we should focus on
                one ffmpeg version that was working (7.0) instead of
                chasing new and improved breackage</blockquote>
              <br>
              For me it looks like the interface? issues lay more on the
              Cin side, because my three tested command line variants
              for av1_qsv encoding work for ffmpeg 7.1 as well as on the
              7.0.2 predecessor:<br>
              <font face="Courier New, Courier, monospace"><br>
                ffmpeg -hide_banner -hwaccel_output_format qsv
                -qsv_device /dev/dri/renderD128 -i hdv09_04.m2t -c:v
                av1_qsv hdv09_04_av1_qsv.webm<br>
                <br>
                ffmpeg -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<br>
                <br>
                ffmpeg -hide_banner -hwaccel_output_format qsv -i
                hdv09_04.m2t -pix_fmt p010le -c:v av1_qsv
                hdv09_04_av1_qsv_p010le.webm<br>
                <br>
                <br>
                745M    hdv09_04.m2t<br>
                47M     hdv09_04_av1_qsv_p010le.webm<br>
                111M    hdv09_04_av1_qsv_pr4_bv3700k.webm<br>
                47M     hdv09_04_av1_qsv.webm<br>
                <br>
                <br>
                ffprobe -hide_banner hdv09_04_av1_qsv_pr4_bv3700k.webm<br>
                Input #0, matroska,webm, from
                'hdv09_04_av1_qsv_pr4_bv3700k.webm':<br>
                  Metadata:<br>
                    ENCODER         : Lavf61.7.100<br>
                  Duration: 00:03:59.08, start: -0.007000, bitrate: 3881
                kb/s<br>
                  Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv,
                bt709), 1440x1080, SAR 4:3 DAR 16:9, 25 fps, 25 tbr, 1k
                tbn<br>
                      Metadata:<br>
                        ENCODER         : Lavc61.19.100 av1_qsv<br>
                        DURATION        : 00:03:59.080000000<br>
                  Stream #0:1: Audio: opus, 48000 Hz, stereo, fltp<br>
                      Metadata:<br>
                        ENCODER         : Lavc61.19.100 libopus<br>
                        DURATION        : 00:03:58.784000000</font><br>
              <br>
              <font face="Courier New, Courier, monospace">------------------</font><br>
              <br>
              Looking at ffmpeg vs the content of cingg's av1_qsv
              "profiles" again, I wonder why the latter don't contain a
              "vprofile" line?<br>
              <br>
              <font face="Courier New, Courier, monospace"><br>
                ffmpeg -hide_banner -h encoder=av1_qsv | egrep
                'Supported|profile|main'<br>
                    Supported hardware devices: qsv qsv qsv<br>
                    Supported pixel formats: nv12 p010le qsv<br>
                  -profile           <int>        E..V.......
                (from 0 to INT_MAX) (default unknown)<br>
                     main            1            E..V.......</font><br>
              <br>
              <font face="Courier New, Courier, monospace">/Cin/bin/ffmpeg/video>
                ls av1_qsv*<br>
                av1_qsv.dfl  av1_qsv.mp4  av1_qsv.webm<br>
                <br>
                cat av1_qsv.dfl<br>
                av1_qsv.webm<br>
                <br>
                cat av1_qsv.mp4<br>
                mp4 av1_qsv<br>
                # only usable with ext. ffmpeg<br>
                cin_pix_fmt=nv12<br>
                <br>
                cat av1_qsv.webm<br>
                webm av1_qsv<br>
                # only usable with ext. ffmpeg<br>
                cin_pix_fmt=nv12</font><br>
              <br>
              <br>
              <br>
              <blockquote type="cite"><br>
                <div class="gmail_quote">
                  <div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2024
                    at 2:49 AM Terje J. Hanssen <<a
                      href="mailto:terjejhanssen@gmail.com"
                      target="_blank" moz-do-not-send="true"
                      class="moz-txt-link-freetext">terjejhanssen@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> <br>
                      <br>
                      <br>
                      <div>Den 23.10.2024 00:18, skrev Andrew
                        Randrianasulu:<br>
                      </div>
                      <blockquote type="cite">
                        <div dir="auto">
                          <div><br>
                            <br>
                            <div class="gmail_quote">
                              <div dir="ltr" class="gmail_attr">вт, 22
                                окт. 2024 г., 21:52 Terje J. Hanssen
                                <<a
                                  href="mailto:terjejhanssen@gmail.com"
                                  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>
                                  <br>
                                  <br>
                                  <div>Den 22.10.2024 17:04, skrev
                                    Andrew Randrianasulu:<br>
                                  </div>
                                  <blockquote type="cite">
                                    <div dir="auto">
                                      <div dir="auto"><br>
                                      </div>
                                      <div dir="auto">[snip]</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>
                                              <blockquote type="cite">
                                                <blockquote type="cite">
                                                  <div dir="auto">
                                                    <div dir="auto"><br>
                                                    </div>
                                                  </div>
                                                </blockquote>
                                                <br>
                                                Yes, thanks for the
                                                help. I used <br>
                                                <br>
                                                 #export
                                                CFLAGS=-I/usr/include/ffmpeg<br>
                                                <br>
                                                and then the rest worked
                                                fine.<br>
                                                <br>
                                                Enough for me today !<br>
                                                <br>
                                                <br>
                                              </blockquote>
                                              <br>
                                              This rebuild cingg to use
                                              ffmpeg 7.1 startup ok and
                                              testing DV rendering to 
                                              av1_qsv_nv12.mp4,
                                              av1_qsv_nv12.webm and also
                                              av1_qsv_p010le.webm work.<br>
                                              <br>
                                              But the same rendering
                                              from hdv does not longer
                                              work, tried also with
                                              BT.709 setting.<br>
                                            </div>
                                          </blockquote>
                                        </div>
                                      </div>
                                      <div dir="auto"><br>
                                      </div>
                                      <div dir="auto">does ffmpeg 7.1
                                        itself work for this type of
                                        encoding and same input file ? </div>
                                    </div>
                                  </blockquote>
                                  <br>
                                  Yes, I tried three varants of ffmpeg
                                  codelines, and all renderend hdv to
                                  av1_qsv.webm ok<br>
                                  <br>
                                  <br>
                                  <blockquote type="cite">
                                    <div dir="auto">
                                      <div dir="auto">Do h264/hevc qsv
                                        encoders still work?</div>
                                      <div dir="auto"><br>
                                      </div>
                                    </div>
                                  </blockquote>
                                  No, I got the following Cingg output
                                  errors:<br>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                          <div dir="auto"><br>
                          </div>
                          <div dir="auto">looks like ffmpeg changed some
                            parsing code :/</div>
                          <div dir="auto">you can try to replace
                            high/main words with numbers like 0,1 but
                            .....it will be sad if one set of profiles
                            will not work for pre 7.1 and 7.1 :/</div>
                        </div>
                      </blockquote>
                      <br>
                      I got hevc_qsv to work both with uncommenting #
                      profile and by setting profile=0 and profile=1<br>
                      <br>
                      <font face="Courier New, Courier, monospace">libva
                        info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 20.861 secs, 286.276
                        fps<br>
                        audio0 pad 64 0 (64)<br>
                        <br>
                        <br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 21.269 secs, 280.784
                        fps<br>
                        audio0 pad 64 0 (64)<br>
                        <br>
                        <br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        Render::render_single: Session finished.<br>
                        ** rendered 5972 frames in 22.176 secs, 269.300
                        fps<br>
                        audio0 pad 64 0 (64)<br>
                        <br>
                        -----------------<br>
                        <br>
                      </font>But h264_qsv didn't work similar ..........<br>
                      <font face="Courier New, Courier, monospace"><br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        [h264_qsv @ 0x7f4108127880] Current picture
                        structure is unsupported<br>
                        [h264_qsv @ 0x7f4108127880] some encoding
                        parameters are not supported by the QSV runtime.
                        Please double check the input parameters.<br>
                        FFMPEG::open_encoder  err: Function not
                        implemented<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
                        Render::render_single: Session finished.<br>
                        <br>
                        <br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        [h264_qsv @ 0x7f40c03e6dc0] Current picture
                        structure is unsupported<br>
                        [h264_qsv @ 0x7f40c03e6dc0] some encoding
                        parameters are not supported by the QSV runtime.
                        Please double check the input parameters.<br>
                        FFMPEG::open_encoder  err: Function not
                        implemented<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
                        Render::render_single: Session finished.<br>
                        <br>
                        <br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        libva info: VA-API version 1.22.0<br>
                        libva info: Trying to open
                        /usr/lib64/dri/iHD_drv_video.so<br>
                        libva info: Found init function
                        __vaDriverInit_1_22<br>
                        libva info: va_openDriver() returns 0<br>
                        [h264_qsv @ 0x7f40b805bc80] Current picture
                        structure is unsupported<br>
                        [h264_qsv @ 0x7f40b805bc80] some encoding
                        parameters are not supported by the QSV runtime.
                        Please double check the input parameters.<br>
                        FFMPEG::open_encoder  err: Function not
                        implemented<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
                        Render::render_single: Session finished.<br>
                        <br>
                        <br>
                        [h264_qsv @ 0x7f40a4038880] [Eval @
                        0x7f40d97f36d0] Undefined constant or missing
                        '(' in 'main'<br>
                        [h264_qsv @ 0x7f40a4038880] Unable to parse
                        option value "main"<br>
                        [h264_qsv @ 0x7f40a4038880] Error setting option
                        profile to value main.<br>
                        FFMPEG::open_encoder  err: Invalid argument<br>
                        int FFMPEG::open_encoder(const char*, const
                        char*):<br>
                        open failed
                        h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4<br>
                        Render::render_single: Session finished.<br>
                        Total excess of backups: -50 <br>
                        Session time: 0:16:31<br>
                        Cpu time: user: 0:02:54.493 sys: 0:00:12.204<br>
                      </font><br>
                      <br>
                       <br>
                      <blockquote type="cite">
                        <div dir="auto">
                          <div dir="auto"><br>
                          </div>
                          <div dir="auto">thanks for testing .....</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> <br>
                                  <br>
                                  <font
face="Courier New, Courier, monospace">[h264_qsv @ 0x7f4c88107880] [Eval
                                    @ 0x7f4cb37f76d0] Undefined constant
                                    or missing '(' in 'high'<br>
                                    [h264_qsv @ 0x7f4c88107880] Unable
                                    to parse option value "high"<br>
                                    [h264_qsv @ 0x7f4c88107880] Error
                                    setting option profile to value
                                    high.<br>
                                    FFMPEG::open_encoder  err: Invalid
                                    argument<br>
                                    int FFMPEG::open_encoder(const
                                    char*, const char*):<br>
                                    open failed
                                    h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv_nv12.mp4<br>
                                    Render::render_single: Session
                                    finished.<br>
                                    <br>
                                    <br>
                                    [hevc_qsv @ 0x7f4c8406b180] [Eval @
                                    0x7f4cb8ff26d0] Undefined constant
                                    or missing '(' in 'main'<br>
                                    [hevc_qsv @ 0x7f4c8406b180] Unable
                                    to parse option value "main"<br>
                                    [hevc_qsv @ 0x7f4c8406b180] Error
                                    setting option profile to value
                                    main.<br>
                                    FFMPEG::open_encoder  err: Invalid
                                    argument<br>
                                    int FFMPEG::open_encoder(const
                                    char*, const char*):<br>
                                    open failed
                                    hevc_qsv:/Videoklipp/QSV/hdv09_04_hevc_qsv_nv12.mp4<br>
                                    Render::render_single: Session
                                    finished.<br>
                                  </font><br>
                                  I forgot to mention that I haven't
                                  applied specific patches to the last
                                  built based on ffmpeg 7.1, other than
                                  the copied profiles from previous
                                  built based on ffmpeg 7.0.2<br>
                                  <br>
                                  Have made a shortcut symlink /Cin<br>
                                  <br>
                                  <font
face="Courier New, Courier, monospace">ls -l /Cin<br>
                                    lrwxrwxrwx 1 root root 29 Oct 22
                                    20:23 /Cin ->
                                    /home/cinelerra/cinelerra-5.1<br>
                                    <br>
                                    localhost:/Cin/bin/ffmpeg/video # <br>
                                    <br>
                                    # ls *_qsv*<br>
                                    av1_qsv.dfl  av1_qsv.mp4 
                                    av1_qsv.webm  h264_qsv.mp4 
                                    h265_qsv.mp4  hevc_qsv.mp4 
                                    vp9_qsv.mp4<br>
                                    <br>
                                    Here the h264/hevc qsv profiles
                                    contain:<br>
                                    <br>
                                    # cat h264_qsv.mp4<br>
                                    mp4 h264_qsv<br>
                                    # only usable with ext. ffmpeg<br>
                                    profile=high<br>
                                    cin_pix_fmt=nv12<br>
                                    <br>
                                    # cat 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>
                                  </font> <br>
                                  <blockquote type="cite">
                                    <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> <br>
                                              The current av1_qsv
                                              profiles contents are as
                                              follows (tried to copy
                                              them from previous ffmpeg
                                              7.0.2 backup):<br>
                                              <br>
                                              <font
face="Courier New, Courier, monospace">localhost:/home/cinelerra/cinelerra-5.1/bin/ffmpeg/video
                                                # <br>
                                                <br>
                                                cat av1_qsv.dfl<br>
                                                av1_qsv.webm<br>
                                                <br>
                                                cat av1_qsv.mp4<br>
                                                mp4 av1_qsv<br>
                                                # only usable with ext.
                                                ffmpeg<br>
                                                cin_pix_fmt=nv12<br>
                                                <br>
                                                cat av1_qsv.webm<br>
                                                webm av1_qsv<br>
                                                # only usable with ext.
                                                ffmpeg<br>
                                                cin_pix_fmt=nv12<br>
                                                ------------<br>
                                                <br>
                                                As shown in the Cingg
                                                output below:<br>
                                                [av1_qsv @
                                                0x7f4788de7200] Current
                                                picture structure is
                                                unsupported<br>
                                                [av1_qsv @
                                                0x7f4788de7200] some
                                                encoding parameters are
                                                not supported by the QSV
                                                runtime. Please double
                                                check the input
                                                parameters.<br>
                                                FFMPEG::open_encoder 
                                                err: Function not
                                                implemented<br>
                                                <br>
                                                <br>
                                                Output format and
                                                profile from system
                                                ffmpeg 7.1 looks similar
                                                like from previous 7.0.2<br>
                                                <br>
                                                ffmpeg -hide_banner -h
                                                encoder=av1_qsv | egrep
                                                'Supported|profile|main'<br>
                                                    Supported hardware
                                                devices: qsv qsv qsv <br>
                                                    Supported pixel
                                                formats: nv12 p010le qsv<br>
                                                  -profile          
                                                <int>       
                                                E..V....... (from 0 to
                                                INT_MAX) (default
                                                unknown)<br>
                                                     main           
                                                1            E..V.......<br>
                                                <br>
                                                Any idea what cause this
                                                hd(v) rendering errors
                                                now in the built Cingg?<br>
                                                <br>
                                                <br>
                                                # bin/cin<br>
                                                Cinelerra Infinity -
                                                built: Oct 20 2024
                                                21:21:06<br>
                                                <br>
                                                libva info: VA-API
                                                version 1.22.0<br>
                                                libva info: Trying to
                                                open
                                                /usr/lib64/dri/iHD_drv_video.so<br>
                                                libva info: Found init
                                                function
                                                __vaDriverInit_1_22<br>
                                                libva info:
                                                va_openDriver() returns
                                                0<br>
                                                libva info: VA-API
                                                version 1.22.0<br>
                                                libva info: Trying to
                                                open
                                                /usr/lib64/dri/iHD_drv_video.so<br>
                                                libva info: Found init
                                                function
                                                __vaDriverInit_1_22<br>
                                                libva info:
                                                va_openDriver() returns
                                                0<br>
                                                [av1_qsv @
                                                0x7f4788de7200] Current
                                                picture structure is
                                                unsupported<br>
                                                [av1_qsv @
                                                0x7f4788de7200] some
                                                encoding parameters are
                                                not supported by the QSV
                                                runtime. Please double
                                                check the input
                                                parameters.<br>
                                                FFMPEG::open_encoder 
                                                err: Function not
                                                implemented<br>
                                                int
                                                FFMPEG::open_encoder(const
                                                char*, const char*):<br>
                                                open failed
                                                av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_nv12.webm<br>
                                                Render::render_single:
                                                Session finished.<br>
                                                <br>
                                                -----------------<br>
                                                <br>
                                                libva info: VA-API
                                                version 1.22.0<br>
                                                libva info: Trying to
                                                open
                                                /usr/lib64/dri/iHD_drv_video.so<br>
                                                libva info: Found init
                                                function
                                                __vaDriverInit_1_22<br>
                                                libva info:
                                                va_openDriver() returns
                                                0<br>
                                                libva info: VA-API
                                                version 1.22.0<br>
                                                libva info: Trying to
                                                open
                                                /usr/lib64/dri/iHD_drv_video.so<br>
                                                libva info: Found init
                                                function
                                                __vaDriverInit_1_22<br>
                                                libva info:
                                                va_openDriver() returns
                                                0<br>
                                                [av1_qsv @
                                                0x7f47b0040840] Current
                                                picture structure is
                                                unsupported<br>
                                                [av1_qsv @
                                                0x7f47b0040840] some
                                                encoding parameters are
                                                not supported by the QSV
                                                runtime. Please double
                                                check the input
                                                parameters.<br>
                                                FFMPEG::open_encoder 
                                                err: Function not
                                                implemented<br>
                                                int
                                                FFMPEG::open_encoder(const
                                                char*, const char*):<br>
                                                open failed
                                                av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_p010le.webm<br>
                                                Render::render_single:
                                                Session finished.<br>
                                                Total excess of backups:
                                                -50 <br>
                                                Session time: 0:06:36<br>
                                                Cpu time: user:
                                                0:00:08.543 sys:
                                                0:00:03.847<br>
                                                unjoined tids / owner 2<br>
                                                  00007f47c5ffb6c0 /
                                                00007f48377fe6c0
                                                12RenderEngine<br>
                                                  00007f47c7fff6c0 /
                                                00007f48377fe6c0
                                                12RenderEngine<br>
                                                <br>
                                                <br>
                                                <br>
                                                <br>
                                              </font><br>
                                            </div>
                                          </blockquote>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                  <br>
                                </div>
                              </blockquote>
                            </div>
                          </div>
                        </div>
                      </blockquote>
                      <br>
                    </div>
                  </blockquote>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>