Date: Sat, 6 Jan 2024 19:23:08 +0300 From: Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com> To: Mario Marietto <marietto2008@gmail.com> Cc: multimedia@freebsd.org Subject: Re: FFmpeg VAAPI H264 /HEVC encoding not supported Message-ID: <CAOgwaMt9QOQCWPKGA_LUXe-rk2K1kdXop2zXo-s=EwRtyQk7uA@mail.gmail.com> In-Reply-To: <CA%2B1FSigT0kW_XBuWrf2-%2BuNi=A=PoB-1Bi%2BzqO4TbwtbOhS58A@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Perhaps the following pages may be useful : https://trac.ffmpeg.org/wiki/HWAccelIntro Another issue about video encoders and decoders is patents . https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp is VAAPI HEVC encoding patented or not https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-wiz-serp is VAAPI H264 encoding patented or not Mehmet Erol Sanliturk On Sat, Jan 6, 2024 at 5:51 PM Mario Marietto <marietto2008@gmail.com> wrote: > Hello to everyone. > > I'm using FreeBSD 14.0-p3 with the latest packages and I'm trying to > enable the VAAPI H264 / HEVC encoding for obs-studio,but it says that they > aren't supported. There may be a bug somewhere ? > > start-obs : > > sh << EOF > env LD_LIBMAP="`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs > EOF > > root@marietto:/compat # ./start-obs > shim init > > info: Using EGL/X11 > info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz > info: CPU Speed: 3600.00MHz > info: Physical Cores: 8, Logical Cores: 16 > info: Physical Memory: 31734MB Total, 19859MB Free > info: Kernel Version: FreeBSD 14.0-RELEASE-p3 > info: Distribution: FreeBSD "14.0" > info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 > info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled) > info: Portable mode: false > info: OBS 30.0.2 (freebsd) > info: --------------------------------- > info: --------------------------------- > info: audio settings reset: > samples per sec: 48000 > speakers: 2 > max buffering: 960 milliseconds > buffering type: dynamically increasing > info: --------------------------------- > info: Initializing OpenGL... > info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX > 1060 3GB/PCIe/SSE2 > info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading > language 3.30 NVIDIA via Cg compiler > > info: --------------------------------- > info: video settings reset: > base resolution: 1920x1080 > output resolution: 1280x720 > downscale filter: Bicubic > fps: 30/1 > format: NV12 > YUV mode: Rec. 709/Partial > info: NV12 texture support not available > info: P010 texture support not available > info: Audio monitoring device: > name: Default > id: default > info: --------------------------------- > info: [pipewire] No captures available > warning: v4l2loopback not installed, virtual camera disabled > info: NVENC supported > > > *info: FFmpeg VAAPI H264 encoding not supported info: FFmpeg VAAPI HEVC > encoding not supported* > > info: [obs-websocket] [obs_module_load] you can haz websockets (Version: > 5.0.1 | RPC Version: 1) > info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | > Qt version (run-time): 6.6.1 > info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201 > info: [obs-websocket] [obs_module_load] Module loaded. > info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled > info: --------------------------------- > info: Loaded Modules: > info: vlc-video.so > info: text-freetype2.so > info: sndio.so > info: rtmp-services.so > info: oss-audio.so > info: obs-x264.so > info: obs-websocket.so > info: obs-webrtc.so > info: obs-transitions.so > info: obs-outputs.so > info: obs-filters.so > info: obs-ffmpeg.so > info: linux-v4l2.so > info: linux-pulseaudio.so > info: linux-pipewire.so > info: linux-jack.so > info: linux-capture.so > info: image-source.so > info: frontend-tools.so > info: --------------------------------- > info: ==== Startup complete =============================================== > info: All scene data cleared > info: ------------------------------------------------ > info: Switched to scene 'Scene' > info: ------------------------------------------------ > info: Loaded scenes: > info: - scene 'Scene': > info: ------------------------------------------------ > info: ==== Shutting down ================================================== > info: All scene data cleared > info: ------------------------------------------------ > info: [obs-websocket] [obs_module_unload] Shutting down... > error: Tried to call obs_frontend_remove_event_callback with no callbacks! > error: Tried to call obs_frontend_get_global_config with no callbacks! > error: [obs-websocket] [Config::Save] Unable to fetch OBS config! > info: [obs-websocket] [obs_module_unload] Finished shutting down. > info: [Scripting] Total detached callbacks: 0 > info: Freeing OBS context data > info: == Profiler Results ============================= > info: run_program_init: 663.636 ms > info: ┣OBSApp::AppInit: 3.125 ms > info: ┃ ┗OBSApp::InitLocale: 0.784 ms > info: ┗OBSApp::OBSInit: 626.884 ms > info: ┣obs_startup: 1.247 ms > info: ┗OBSBasic::OBSInit: 598.145 ms > info: ┣OBSBasic::InitBasicConfig: 0.085 ms > info: ┣OBSBasic::ResetAudio: 0.149 ms > info: ┣OBSBasic::ResetVideo: 92.565 ms > info: ┃ ┗obs_init_graphics: 92.317 ms > info: ┃ ┗shader compilation: 22.654 ms > info: ┣OBSBasic::InitOBSCallbacks: 0.005 ms > info: ┣OBSBasic::InitHotkeys: 0.022 ms > info: ┣obs_load_all_modules2: 365.069 ms > info: ┃ ┣obs_init_module(frontend-tools.so): 27.908 ms > info: ┃ ┣obs_init_module(image-source.so): 0.009 ms > info: ┃ ┣obs_init_module(linux-capture.so): 0.374 ms > info: ┃ ┣obs_init_module(linux-jack.so): 0.004 ms > info: ┃ ┣obs_init_module(linux-pipewire.so): 3.652 ms > info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms > info: ┃ ┣obs_init_module(linux-v4l2.so): 0.856 ms > info: ┃ ┣obs_init_module(obs-ffmpeg.so): 5.617 ms > info: ┃ ┃ ┗nvenc_check: 5.362 ms > info: ┃ ┣obs_init_module(obs-filters.so): 0.029 ms > info: ┃ ┣obs_init_module(obs-outputs.so): 0.007 ms > info: ┃ ┣obs_init_module(obs-transitions.so): 0.009 ms > info: ┃ ┣obs_init_module(obs-webrtc.so): 0.029 ms > info: ┃ ┣obs_init_module(obs-websocket.so): 4.649 ms > info: ┃ ┣obs_init_module(obs-x264.so): 0.003 ms > info: ┃ ┣obs_init_module(oss-audio.so): 0.004 ms > info: ┃ ┣obs_init_module(rtmp-services.so): 0.993 ms > info: ┃ ┣obs_init_module(sndio.so): 0.005 ms > info: ┃ ┣obs_init_module(text-freetype2.so): 0.035 ms > info: ┃ ┗obs_init_module(vlc-video.so): 0.635 ms > info: ┣OBSBasic::InitService: 0.773 ms > info: ┣OBSBasic::ResetOutputs: 0.509 ms > info: ┣OBSBasic::CreateHotkeys: 0.026 ms > info: ┣OBSBasic::InitPrimitives: 0.162 ms > info: ┗OBSBasic::Load: 67.014 ms > info: obs_hotkey_thread(25 ms): min=0.03 ms, median=0.17 ms, max=10.834 > ms, 99th percentile=8.279 ms > , 100% below 25 ms > info: audio_thread(Audio): min=0.005 ms, median=0.036 ms, max=0.149 ms, > 99th percentile=0.101 ms > info: obs_graphics_thread(33.3333 ms): min=0.084 ms, median=0.987 ms, > max=22.184 ms, 99th percentile > =22.184 ms, 100% below 33.333 ms > info: ┣tick_sources: min=0.001 ms, median=0.009 ms, max=0.658 ms, 99th > percentile=0.658 ms > info: ┣output_frame: min=0.041 ms, median=0.212 ms, max=8.411 ms, 99th > percentile=8.411 ms > info: ┃ ┗gs_context(video->graphics): min=0.04 ms, median=0.211 ms, > max=8.41 ms, 99th percentile=8. > 41 ms > info: ┃ ┣render_video: min=0.02 ms, median=0.125 ms, max=8.379 ms, 99th > percentile=8.379 ms > info: ┃ ┃ ┗render_main_texture: min=0.015 ms, median=0.098 ms, max=8.356 > ms, 99th percentile=8.35 > 6 ms > info: ┃ ┗gs_flush: min=0.003 ms, median=0.018 ms, max=7.648 ms, 99th > percentile=7.648 ms > info: ┗render_displays: min=0.009 ms, median=0.603 ms, max=22.032 ms, 99th > percentile=22.032 ms > info: ================================================= > info: == Profiler Time Between Calls ================== > info: obs_hotkey_thread(25 ms): min=25.037 ms, median=25.19 ms, max=65.219 > ms, 91.0569% within ±2% o > f 25 ms (0% lower, 8.94309% higher) > info: obs_graphics_thread(33.3333 ms): min=12.188 ms, median=33.322 ms, > max=52.604 ms, 78.8889% with > in ±2% of 33.333 ms (10% lower, 11.1111% higher) > info: ================================================= > info: Number of memory leaks: 0 > > > * but the vaapi codecs are recognized correctly :* > > > # ffmpeg -codecs | grep vaapi > > ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers > built with FreeBSD clang version 16.0.6 ( > https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0 > -g7cbf1a259152) > > configuration: --prefix=/usr/local --mandir=/usr/local/man > --datadir=/usr/local/share/ffmpeg --doc > dir=/usr/local/share/doc/ffmpeg > --pkgconfigdir=/usr/local/libdata/pkgconfig --disable-static --disab > le-libcelt --enable-shared --enable-pic --enable-gpl --cc=cc --cxx=c++ > --disable-alsa --disable-libo > pencore-amrnb --disable-libopencore-amrwb --enable-libaom > --disable-libaribb24 --disable-libaribcapt > ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca > --disable-libcdio --disable-lib > codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 > --disable-debug --enable-htmlpages - > -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig > --enable-libfreetype --en > able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang > --disable-libgme --enable-gmp > --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz > --enable-iconv --disable-li > bilbc --disable-libjack --enable-libjxl --disable-libklvanc > --disable-libkvazaar --disable-ladspa -- > enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray > --enable-libplacebo --disa > ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 > --disable-mbedtls --disable-libmfx --di > sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree > --enable-nvenc --disable-ope > nal --disable-opencl --disable-opengl --disable-libopenh264 > --disable-libopenjpeg --disable-libopenm > pt --disable-openssl --disable-libopenvino --enable-optimizations > --enable-libopus --disable-pockets > phinx --disable-libpulse --disable-librabbitmq --disable-librav1e > --disable-librist --enable-runtime > -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc > --disable-libsmbclient --disab > le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex > --disable-libsrt --disable-libssh > --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract > --disable-libtheora --disable-libt > wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi > --disable-vapoursynth --enable-vdpau --di > sable-libvidstab --enable-libvmaf --enable-libvorbis > --disable-libvo-amrwbenc --disable-libvpl --ena > ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 > --enable-libx265 --disable-libxavs2 --e > nable-libxcb --disable-libxvid --disable-outdev=xv --disable-libzimg > --disable-libzmq --disable-libz > vbi > libavutil 58. 29.100 / 58. 29.100 > libavcodec 60. 31.102 / 60. 31.102 > libavformat 60. 16.100 / 60. 16.100 > libavdevice 60. 3.100 / 60. 3.100 > libavfilter 9. 12.100 / 9. 12.100 > libswscale 7. 5.100 / 7. 5.100 > libswresample 4. 12.100 / 4. 12.100 > libpostproc 57. 3.100 / 57. 3.100 > > DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av1 > av1_cuvi > d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi) > DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 > h264_v4l2m2m > h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m > h264_vaapi) > DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc > hevc_v4l2m2 > m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi) > DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg > mjpeg_vaapi) > DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo > mpeg2_v4l2m2m mpeg2_cuvid) > (encoders: mpeg2video mpeg2_vaapi) > DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: > libvpx > vp8_v4l2m2m vp8_vaapi) > DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) > (encoders: > libvpx-vp9 vp9_vaapi) > > -- > Mario. > [-- Attachment #2 --] <div dir="ltr"><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large">Perhaps the following pages may be useful :</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><a href="https://trac.ffmpeg.org/wiki/HWAccelIntro">https://trac.ffmpeg.org/wiki/HWAccelIntro</a></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large">Another issue about video encoders and decoders is patents .</div><div><br></div><div><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><a href="https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp">https://www.google.com/search?q=is+VAAPI+HEVC+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKnkHnL5dsq45dd5uDNCjL9Olnwl_A%3A1704557479981&ei=p3uZZZXGOLbjxc8P9e66mAU&ved=0ahUKEwjVtdy4k8mDAxW2cfEDHXW3DlMQ4dUDCBA&uact=5&oq=is+VAAPI+HEVC+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEhFVkMgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90SO6EAVDyCliigQFwAXgBkAEAmAGiAaAB9xGqAQQwLjE5uAEDyAEA-AEBwgIKEAAYRxjWBBiwA8ICBxAjGLACGCfCAggQABgIGB4YDcICCxAAGIAEGIoFGIYDwgIKECEYChigARjDBMICCBAhGKABGMMEwgIFECEYoAHCAgQQIRgV4gMEGAAgQYgGAZAGCA&sclient=gws-wiz-serp</a></div><div class="gmail_default" style="font-family:monospace;font-size:large">is VAAPI HEVC encoding patented or not</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><a href="https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-wiz-serp">https://www.google.com/search?q=is+VAAPI+H264+encoding+patented+or+not&sca_esv=596226834&sxsrf=AM9HkKl4fSR7Myk6mZQSftwHYdNbZhnr4Q%3A1704557529388&ei=2XuZZYKcF8m9xc8Pj6u0OA&ved=0ahUKEwjC7KbQk8mDAxXJXvEDHY8VDQcQ4dUDCBA&uact=5&oq=is+VAAPI+H264+encoding+patented+or+not&gs_lp=Egxnd3Mtd2l6LXNlcnAiJmlzIFZBQVBJIEgyNjQgZW5jb2RpbmcgcGF0ZW50ZWQgb3Igbm90MggQABiABBiiBEiP0wZQ5psGWLu5BnADeAGQAQCYAaoBoAGiBqoBAzAuNrgBA8gBAPgBAcICChAAGEcY1gQYsAPiAwQYACBBiAYBkAYI&sclient=gws-wiz-serp</a></div><div class="gmail_default" style="font-family:monospace;font-size:large">is VAAPI H264 encoding patented or not</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large">Mehmet Erol Sanliturk</div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div><div class="gmail_default" style="font-family:monospace;font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 6, 2024 at 5:51 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@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="ltr"><div>Hello to everyone.</div><div><br></div><div>I'm using FreeBSD 14.0-p3 with the latest packages and I'm trying to enable the VAAPI H264 / HEVC encoding for obs-studio,but it says that they aren't supported. There may be a bug somewhere ? <br></div> <br> start-obs :<br> <br> sh << EOF<br> env LD_LIBMAP="`nv-sglrun printenv LD_LIBMAP | grep -v libGL`" obs<br> EOF<br> <br> root@marietto:/compat # ./start-obs<br> shim init<br> <br> info: Using EGL/X11<br> info: CPU Name: Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz<br> info: CPU Speed: 3600.00MHz<br> info: Physical Cores: 8, Logical Cores: 16<br> info: Physical Memory: 31734MB Total, 19859MB Free<br> info: Kernel Version: FreeBSD 14.0-RELEASE-p3<br> info: Distribution: FreeBSD "14.0"<br> info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1<br> info: Qt Version: 6.6.1 (runtime), 6.6.1 (compiled)<br> info: Portable mode: false<br> info: OBS 30.0.2 (freebsd)<br> info: ---------------------------------<br> info: ---------------------------------<br> info: audio settings reset:<br> samples per sec: 48000<br> speakers: 2<br> max buffering: 960 milliseconds<br> buffering type: dynamically increasing<br> info: ---------------------------------<br> info: Initializing OpenGL...<br> info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1060 3GB/PCIe/SSE2<br> info: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.146.02, shading language 3.30 NVIDIA via Cg compiler<br> <br> info: ---------------------------------<br> info: video settings reset:<br> base resolution: 1920x1080<br> output resolution: 1280x720<br> downscale filter: Bicubic<br> fps: 30/1<br> format: NV12<br> YUV mode: Rec. 709/Partial<br> info: NV12 texture support not available<br> info: P010 texture support not available<br> info: Audio monitoring device:<br> name: Default<br> id: default<br> info: ---------------------------------<br> info: [pipewire] No captures available<br> warning: v4l2loopback not installed, virtual camera disabled<br> info: NVENC supported<br> <br> <b>info: FFmpeg VAAPI H264 encoding not supported<br> info: FFmpeg VAAPI HEVC encoding not supported</b><br> <br> info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)<br> info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.6.1 | Qt version (run-time): 6.6.1<br> info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201<br> info: [obs-websocket] [obs_module_load] Module loaded.<br> info: [vlc-video]: VLC 3.0.20 Vetinari found, VLC video source enabled<br> info: ---------------------------------<br> info: Loaded Modules:<br> info: vlc-video.so<br> info: text-freetype2.so<br> info: sndio.so<br> info: rtmp-services.so<br> info: oss-audio.so<br> info: obs-x264.so<br> info: obs-websocket.so<br> info: obs-webrtc.so<br> info: obs-transitions.so<br> info: obs-outputs.so<br> info: obs-filters.so<br> info: obs-ffmpeg.so<br> info: linux-v4l2.so<br> info: linux-pulseaudio.so<br> info: linux-pipewire.so<br> info: linux-jack.so<br> info: linux-capture.so<br> info: image-source.so<br> info: frontend-tools.so<br> info: ---------------------------------<br> info: ==== Startup complete ===============================================<br> info: All scene data cleared<br> info: ------------------------------------------------<br> info: Switched to scene 'Scene'<br> info: ------------------------------------------------<br> info: Loaded scenes:<br> info: - scene 'Scene':<br> info: ------------------------------------------------<br> info: ==== Shutting down ==================================================<br> info: All scene data cleared<br> info: ------------------------------------------------<br> info: [obs-websocket] [obs_module_unload] Shutting down...<br> error: Tried to call obs_frontend_remove_event_callback with no callbacks!<br> error: Tried to call obs_frontend_get_global_config with no callbacks!<br> error: [obs-websocket] [Config::Save] Unable to fetch OBS config!<br> info: [obs-websocket] [obs_module_unload] Finished shutting down.<br> info: [Scripting] Total detached callbacks: 0<br> info: Freeing OBS context data<br> info: == Profiler Results =============================<br> info: run_program_init: 663.636 ms<br> info: ┣OBSApp::AppInit: 3.125 ms<br> info: ┃ ┗OBSApp::InitLocale: 0.784 ms<br> info: ┗OBSApp::OBSInit: 626.884 ms<br> info: ┣obs_startup: 1.247 ms<br> info: ┗OBSBasic::OBSInit: 598.145 ms<br> info: ┣OBSBasic::InitBasicConfig: 0.085 ms<br> info: ┣OBSBasic::ResetAudio: 0.149 ms<br> info: ┣OBSBasic::ResetVideo: 92.565 ms<br> info: ┃ ┗obs_init_graphics: 92.317 ms<br> info: ┃ ┗shader compilation: 22.654 ms<br> info: ┣OBSBasic::InitOBSCallbacks: 0.005 ms<br> info: ┣OBSBasic::InitHotkeys: 0.022 ms<br> info: ┣obs_load_all_modules2: 365.069 ms<br> info: ┃ ┣obs_init_module(frontend-tools.so): 27.908 ms<br> info: ┃ ┣obs_init_module(image-source.so): 0.009 ms<br> info: ┃ ┣obs_init_module(linux-capture.so): 0.374 ms<br> info: ┃ ┣obs_init_module(linux-jack.so): 0.004 ms<br> info: ┃ ┣obs_init_module(linux-pipewire.so): 3.652 ms<br> info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms<br> info: ┃ ┣obs_init_module(linux-v4l2.so): 0.856 ms<br> info: ┃ ┣obs_init_module(obs-ffmpeg.so): 5.617 ms<br> info: ┃ ┃ ┗nvenc_check: 5.362 ms<br> info: ┃ ┣obs_init_module(obs-filters.so): 0.029 ms<br> info: ┃ ┣obs_init_module(obs-outputs.so): 0.007 ms<br> info: ┃ ┣obs_init_module(obs-transitions.so): 0.009 ms<br> info: ┃ ┣obs_init_module(obs-webrtc.so): 0.029 ms<br> info: ┃ ┣obs_init_module(obs-websocket.so): 4.649 ms<br> info: ┃ ┣obs_init_module(obs-x264.so): 0.003 ms<br> info: ┃ ┣obs_init_module(oss-audio.so): 0.004 ms<br> info: ┃ ┣obs_init_module(rtmp-services.so): 0.993 ms<br> info: ┃ ┣obs_init_module(sndio.so): 0.005 ms<br> info: ┃ ┣obs_init_module(text-freetype2.so): 0.035 ms<br> info: ┃ ┗obs_init_module(vlc-video.so): 0.635 ms<br> info: ┣OBSBasic::InitService: 0.773 ms<br> info: ┣OBSBasic::ResetOutputs: 0.509 ms<br> info: ┣OBSBasic::CreateHotkeys: 0.026 ms<br> info: ┣OBSBasic::InitPrimitives: 0.162 ms<br> info: ┗OBSBasic::Load: 67.014 ms<br> info: obs_hotkey_thread(25 ms): min=0.03 ms, median=0.17 ms, max=10.834 ms, 99th percentile=8.279 ms<br> , 100% below 25 ms<br> info: audio_thread(Audio): min=0.005 ms, median=0.036 ms, max=0.149 ms, 99th percentile=0.101 ms<br> info: obs_graphics_thread(33.3333 ms): min=0.084 ms, median=0.987 ms, max=22.184 ms, 99th percentile<br> =22.184 ms, 100% below 33.333 ms<br> info: ┣tick_sources: min=0.001 ms, median=0.009 ms, max=0.658 ms, 99th percentile=0.658 ms<br> info: ┣output_frame: min=0.041 ms, median=0.212 ms, max=8.411 ms, 99th percentile=8.411 ms<br> info: ┃ ┗gs_context(video->graphics): min=0.04 ms, median=0.211 ms, max=8.41 ms, 99th percentile=8.<br> 41 ms<br> info: ┃ ┣render_video: min=0.02 ms, median=0.125 ms, max=8.379 ms, 99th percentile=8.379 ms<br> info: ┃ ┃ ┗render_main_texture: min=0.015 ms, median=0.098 ms, max=8.356 ms, 99th percentile=8.35<br> 6 ms<br> info: ┃ ┗gs_flush: min=0.003 ms, median=0.018 ms, max=7.648 ms, 99th percentile=7.648 ms<br> info: ┗render_displays: min=0.009 ms, median=0.603 ms, max=22.032 ms, 99th percentile=22.032 ms<br> info: =================================================<br> info: == Profiler Time Between Calls ==================<br> info: obs_hotkey_thread(25 ms): min=25.037 ms, median=25.19 ms, max=65.219 ms, 91.0569% within ±2% o<br> f 25 ms (0% lower, 8.94309% higher)<br> info: obs_graphics_thread(33.3333 ms): min=12.188 ms, median=33.322 ms, max=52.604 ms, 78.8889% with<br> in ±2% of 33.333 ms (10% lower, 11.1111% higher)<br> info: =================================================<br> info: Number of memory leaks: 0<br> <br> <br><b> but the vaapi codecs are recognized correctly :</b><br> <br> <br> # ffmpeg -codecs | grep vaapi<br> <br> ffmpeg version 6.1 Copyright (c) 2000-2023 the FFmpeg developers<br> built with FreeBSD clang version 16.0.6 (<a href="https://github.com/llvm/llvm-project.git" rel="nofollow ugc noopener" target="_blank">https://github.com/llvm/llvm-project.git</a> llvmorg-16.0.6-0<br> -g7cbf1a259152)<br> <br> configuration: --prefix=/usr/local --mandir=/usr/local/man --datadir=/usr/local/share/ffmpeg --doc<br> dir=/usr/local/share/doc/ffmpeg --pkgconfigdir=/usr/local/libdata/pkgconfig --disable-static --disab<br> le-libcelt --enable-shared --enable-pic --enable-gpl --cc=cc --cxx=c++ --disable-alsa --disable-libo<br> pencore-amrnb --disable-libopencore-amrwb --enable-libaom --disable-libaribb24 --disable-libaribcapt<br> ion --enable-asm --enable-libass --disable-libbs2b --disable-libcaca --disable-libcdio --disable-lib<br> codec2 --enable-libdav1d --disable-libdavs2 --disable-libdc1394 --disable-debug --enable-htmlpages -<br> -enable-libdrm --disable-libfdk-aac --disable-libflite --enable-fontconfig --enable-libfreetype --en<br> able-frei0r --disable-libfribidi --disable-gcrypt --disable-libglslang --disable-libgme --enable-gmp<br> --enable-gnutls --enable-version3 --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-li<br> bilbc --disable-libjack --enable-libjxl --disable-libklvanc --disable-libkvazaar --disable-ladspa --<br> enable-libmp3lame --enable-lcms2 --disable-liblensfun --disable-libbluray --enable-libplacebo --disa<br> ble-librsvg --disable-librtmp --enable-libxml2 --disable-lv2 --disable-mbedtls --disable-libmfx --di<br> sable-libmodplug --disable-libmysofa --enable-network --disable-nonfree --enable-nvenc --disable-ope<br> nal --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenm<br> pt --disable-openssl --disable-libopenvino --enable-optimizations --enable-libopus --disable-pockets<br> phinx --disable-libpulse --disable-librabbitmq --disable-librav1e --disable-librist --enable-runtime<br> -cpudetect --disable-librubberband --disable-sdl2 --enable-libshaderc --disable-libsmbclient --disab<br> le-libsnappy --disable-sndio --disable-libsoxr --disable-libspeex --disable-libsrt --disable-libssh<br> --enable-libsvtav1 --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libt<br> wolame --disable-libuavs3d --enable-libv4l2 --enable-vaapi --disable-vapoursynth --enable-vdpau --di<br> sable-libvidstab --enable-libvmaf --enable-libvorbis --disable-libvo-amrwbenc --disable-libvpl --ena<br> ble-libvpx --enable-vulkan --enable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs2 --e<br> nable-libxcb --disable-libxvid --disable-outdev=xv --disable-libzimg --disable-libzmq --disable-libz<br> vbi<br> libavutil 58. 29.100 / 58. 29.100<br> libavcodec 60. 31.102 / 60. 31.102<br> libavformat 60. 16.100 / 60. 16.100<br> libavdevice 60. 3.100 / 60. 3.100<br> libavfilter 9. 12.100 / 9. 12.100<br> libswscale 7. 5.100 / 7. 5.100<br> libswresample 4. 12.100 / 4. 12.100<br> libpostproc 57. 3.100 / 57. 3.100<br> <br> DEV.L. av1 Alliance for Open Media AV1 (decoders: libdav1d libaom-av1 av1 av1_cuvi<br> d) (encoders: libaom-av1 libsvtav1 av1_nvenc av1_vaapi)<br> <a href="http://DEV.LS" target="_blank">DEV.LS</a> h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_v4l2m2m<br> h264_cuvid) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi)<br> DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2<br> m hevc_cuvid) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi)<br> DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid) (encoders: mjpeg mjpeg_vaapi)<br> DEV.L. mpeg2video MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_v4l2m2m mpeg2_cuvid)<br> (encoders: mpeg2video mpeg2_vaapi)<br> DEV.L. vp8 On2 VP8 (decoders: vp8 vp8_v4l2m2m libvpx vp8_cuvid) (encoders: libvpx<br> vp8_v4l2m2m vp8_vaapi)<br> DEV.L. vp9 Google VP9 (decoders: vp9 vp9_v4l2m2m libvpx-vp9 vp9_cuvid) (encoders:<br><div> libvpx-vp9 vp9_vaapi)<span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix"><br></span></div><div><span class="gmail_signature_prefix">-- </span></div><div dir="ltr" class="gmail_signature">Mario.<br></div></div> </blockquote></div>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgwaMt9QOQCWPKGA_LUXe-rk2K1kdXop2zXo-s=EwRtyQk7uA>
