You are not logged in.
Hello all!
According to this, my GPU is capable of HEVC Main encoding using vaapi:
vainfo: VA-API version: 1.6 (libva 2.6.0)
vainfo: Driver version: Mesa Gallium driver 19.3.4 for AMD RAVEN (DRM 3.36.0, 5.5.4-arch1-1, LLVM 9.0.1)
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileHEVCMain : VAEntrypointVLD
VAProfileHEVCMain : VAEntrypointEncSlice
VAProfileHEVCMain10 : VAEntrypointVLD
VAProfileJPEGBaseline : VAEntrypointVLD
VAProfileVP9Profile0 : VAEntrypointVLD
VAProfileVP9Profile2 : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
However, when attempting to record on OBS Studio version 24.0.6 using FFMPEG custom output (and no special parameters),
i always get the following error in a message box:
Failed to open video codec: Invalid argument
The OBS logs dont seem to give me anything particularily useful:
03:56:14 AM.488: CPU Name: AMD Ryzen 7 2700U with Radeon Vega Mobile Gfx
03:56:14 AM.488: CPU Speed: 2329.908MHz
03:56:14 AM.489: Physical Cores: 4, Logical Cores: 8
03:56:14 AM.489: Physical Memory: 15699MB Total, 8209MB Free
03:56:14 AM.489: Kernel Version: Linux 5.5.4-arch1-1
03:56:14 AM.489: Distribution: "Arch Linux" Unknown
03:56:14 AM.490: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.7
03:56:14 AM.491: Portable mode: false
03:56:14 AM.572: OBS 24.0.6-1 (linux)
03:56:14 AM.572: ---------------------------------
03:56:14 AM.573: ---------------------------------
03:56:14 AM.573: audio settings reset:
03:56:14 AM.573: samples per sec: 44100
03:56:14 AM.573: speakers: 2
03:56:14 AM.580: ---------------------------------
03:56:14 AM.580: Initializing OpenGL...
03:56:14 AM.765: Loading up OpenGL on adapter X.Org AMD RAVEN (DRM 3.36.0, 5.5.4-arch1-1, LLVM 9.0.1)
03:56:14 AM.765: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 19.3.4, shading language 4.50
03:56:14 AM.796: ---------------------------------
03:56:14 AM.796: video settings reset:
03:56:14 AM.796: base resolution: 1920x1080
03:56:14 AM.796: output resolution: 1920x1080
03:56:14 AM.796: downscale filter: Bicubic
03:56:14 AM.796: fps: 30/1
03:56:14 AM.796: format: NV12
03:56:14 AM.796: YUV mode: 601/Partial
03:56:14 AM.796: NV12 texture support not available
03:56:14 AM.801: Audio monitoring device:
03:56:14 AM.801: name: Default
03:56:14 AM.801: id: default
03:56:14 AM.802: ---------------------------------
03:56:14 AM.805: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
03:56:14 AM.948: No blackmagic support
03:56:14 AM.962: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
03:56:14 AM.962:
03:56:14 AM.962: FFMPEG VAAPI supported
03:56:14 AM.963: os_dlopen(/usr//lib/obs-plugins/obs-libfdk.so->/usr//lib/obs-plugins/obs-libfdk.so): libfdk-aac.so.2: cannot open shared object file: No such file or directory
03:56:14 AM.963:
03:56:14 AM.963: Module '/usr//lib/obs-plugins/obs-libfdk.so' not loaded
03:56:14 AM.979: VLC found, VLC video source enabled
03:56:14 AM.979: ---------------------------------
03:56:14 AM.979: Loaded Modules:
03:56:14 AM.979: vlc-video.so
03:56:14 AM.979: v4l2sink.so
03:56:14 AM.979: text-freetype2.so
03:56:14 AM.979: rtmp-services.so
03:56:14 AM.979: obs-x264.so
03:56:14 AM.979: obs-transitions.so
03:56:14 AM.979: obs-outputs.so
03:56:14 AM.979: obs-filters.so
03:56:14 AM.979: obs-ffmpeg.so
03:56:14 AM.979: linux-v4l2.so
03:56:14 AM.979: linux-pulseaudio.so
03:56:14 AM.979: linux-jack.so
03:56:14 AM.979: linux-decklink.so
03:56:14 AM.980: linux-capture.so
03:56:14 AM.980: linux-alsa.so
03:56:14 AM.980: libobs-linuxbrowser.so
03:56:14 AM.980: image-source.so
03:56:14 AM.980: frontend-tools.so
03:56:14 AM.980: decklink-ouput-ui.so
03:56:14 AM.980: ---------------------------------
03:56:14 AM.980: ==== Startup complete ===============================================
03:56:14 AM.980: Service '' not found
03:56:14 AM.983: All scene data cleared
03:56:14 AM.983: ------------------------------------------------
03:56:14 AM.987: pulse-input: Server name: 'pulseaudio 13.0'
03:56:14 AM.987: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
03:56:14 AM.987: pulse-input: Started recording from 'alsa_output.pci-0000_05_00.6.analog-stereo.monitor'
03:56:14 AM.989: xshm-input: Geometry 1920x1080 @ 0,0
03:56:14 AM.996: Switched to scene 'Scene'
03:56:14 AM.996: ------------------------------------------------
03:56:14 AM.996: Loaded scenes:
03:56:14 AM.996: - scene 'Scene':
03:56:14 AM.996: - source: 'VSCode' (xcomposite_input)
03:56:14 AM.996: - source: 'primary screen' (xshm_input)
03:56:14 AM.996: ------------------------------------------------
03:56:54 AM.921: Settings changed (outputs)
03:56:54 AM.921: ------------------------------------------------
03:56:56 AM.607: Starting recording due to hotkey
03:56:56 AM.613: Failed to open video codec: Invalid argument
03:56:56 AM.613: ffmpeg_data_init failed
03:56:56 AM.613: ==== Recording Stop ================================================
Is this a configuration error on my side, a system issue or an issue with OBS?
Thanks in advance.
Offline
03:56:14 AM.962: FFMPEG VAAPI supported
03:56:14 AM.963: os_dlopen(/usr//lib/obs-plugins/obs-libfdk.so->/usr//lib/obs-plugins/obs-libfdk.so): libfdk-aac.so.2: cannot open shared object file: No such file or directory
$ pacman -F libfdk-aac.so.2
community/libfdk-aac 2.0.1-1
usr/lib/libfdk-aac.so.2
$
Try installing that package.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
In case anyone winds up here from searching I put up a pkgbuild on the aur for OBS with the hevc vaapi profile patch upstream rejected.
Offline