[Cin] so, it looks like qsv integration a bit harder than just adding few lines ....

Terje J. Hanssen terjejhanssen at gmail.com
Wed Sep 25 18:05:13 CEST 2024



Den 25.09.2024 17:25, skrev Terje J. Hanssen:
>
>
> Den 25.09.2024 00:27, skrev Andrew Randrianasulu:
>> try this git patch, do not forgot to make install again, or put 
>> profiles in bin/ffmpeg/video folder manually.
>
> # cd /home/cinelerra/cinelerra-5.1
> # mv /home/terje/0001-Qsv-encoders-for-testing.patch .
>
> # git am 0001-Qsv-encoders-for-testing.patch
> Applying: Qsv encoders for testing
>
>
> make install > make_install.log 2&1
> [1] 21180
>  1: command not found
> localhost:/home/cinelerra/cinelerra-5.1 # make: *** No rule to make 
> target '2'.  Stop.
> ^C
> [1]+  Exit 2                  make install 2 > make_install.log
>
> attach make_install.log with an email.
>
>
> Qsv test 1:
> -----------------
>
> localhost:/home/cinelerra/cinelerra-5.1 # bin/cin
> Cinelerra Infinity - built: Sep 23 2024 10:31:07
>
> Loaded hdv09_04.m2t
> Render:
> Output to file: /Videoklipp/QSV/hdv09_04_h264_qsv.mp4
> File format: FFMPEG-mp4
> Compression: h264_qsv.mp4
> Pixels: qsv
>
> Cingg render error:
> libva info: VA-API version 1.22.0
> libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_21
> libva info: va_openDriver() returns 0
> libva info: VA-API version 1.22.0
> libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
> libva info: Found init function __vaDriverInit_1_21
> libva info: va_openDriver() returns 0
> FFMPEG::open_encoder  err: Internal bug, should not have happened
> int FFMPEG::open_encoder(const char*, const char*):
> open failed h264_qsv:/Videoklipp/QSV/hdv09_04_h264_qsv.mp4
> Render::render_single: Session finished.
>
>

Notice, in case this matters:

This is on Arc 750 GPU and i915 driver

# inxi -GSz
System:
   Kernel: 6.6.52-1-longterm arch: x86_64 bits: 64
   Console: pty pts/0 Distro: openSUSE Tumbleweed-Slowroll 20240901
Graphics:
   Device-1: Intel DG2 [Arc A750] driver: i915 v: kernel
   Device-2: Microdia Camera driver: snd-usb-audio,uvcvideo type: USB
   Display: unspecified server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.2
     driver: X: loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
     resolution: 2560x1440~60Hz
   API: OpenGL v: 4.6 vendor: intel mesa v: 24.1.3 renderer: Mesa Intel Arc
     A750 Graphics (DG2)
   API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib
   API: EGL Message: EGL data requires eglinfo. Check --recommends.


# vainfo
Trying display: wayland
Trying display: x11
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_21
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 
24.1.5 ()
vainfo: Supported profile and entrypoints
       VAProfileNone                   :    VAEntrypointVideoProc
       VAProfileNone                   :    VAEntrypointStats
       VAProfileMPEG2Simple            :    VAEntrypointVLD
       VAProfileMPEG2Main              :    VAEntrypointVLD
       VAProfileH264Main               :    VAEntrypointVLD
       VAProfileH264Main               :    VAEntrypointEncSliceLP
       VAProfileH264High               :    VAEntrypointVLD
       VAProfileH264High               :    VAEntrypointEncSliceLP
       VAProfileJPEGBaseline           :    VAEntrypointVLD
       VAProfileJPEGBaseline           :    VAEntrypointEncPicture
       VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
       VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
       VAProfileHEVCMain               :    VAEntrypointVLD
       VAProfileHEVCMain               :    VAEntrypointEncSliceLP
       VAProfileHEVCMain10             :    VAEntrypointVLD
       VAProfileHEVCMain10             :    VAEntrypointEncSliceLP
       VAProfileVP9Profile0            :    VAEntrypointVLD
       VAProfileVP9Profile0            :    VAEntrypointEncSliceLP
       VAProfileVP9Profile1            :    VAEntrypointVLD
       VAProfileVP9Profile1            :    VAEntrypointEncSliceLP
       VAProfileVP9Profile2            :    VAEntrypointVLD
       VAProfileVP9Profile2            :    VAEntrypointEncSliceLP
       VAProfileVP9Profile3            :    VAEntrypointVLD
       VAProfileVP9Profile3            :    VAEntrypointEncSliceLP
       VAProfileHEVCMain12             :    VAEntrypointVLD
       VAProfileHEVCMain422_10         :    VAEntrypointVLD
       VAProfileHEVCMain422_10         :    VAEntrypointEncSliceLP
       VAProfileHEVCMain422_12         :    VAEntrypointVLD
       VAProfileHEVCMain444            :    VAEntrypointVLD
       VAProfileHEVCMain444            :    VAEntrypointEncSliceLP
       VAProfileHEVCMain444_10         :    VAEntrypointVLD
       VAProfileHEVCMain444_10         :    VAEntrypointEncSliceLP
       VAProfileHEVCMain444_12         :    VAEntrypointVLD
       VAProfileHEVCSccMain            :    VAEntrypointVLD
       VAProfileHEVCSccMain            :    VAEntrypointEncSliceLP
       VAProfileHEVCSccMain10          :    VAEntrypointVLD
       VAProfileHEVCSccMain10          :    VAEntrypointEncSliceLP
       VAProfileHEVCSccMain444         :    VAEntrypointVLD
       VAProfileHEVCSccMain444         :    VAEntrypointEncSliceLP
       VAProfileAV1Profile0            :    VAEntrypointVLD
       VAProfileAV1Profile0            :    VAEntrypointEncSliceLP
       VAProfileHEVCSccMain444_10      :    VAEntrypointVLD
       VAProfileHEVCSccMain444_10      :    VAEntrypointEncSliceLP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240925/a846a396/attachment-0001.htm>


More information about the Cin mailing list