Question / Help Have already installed ffmpeg with nvenc but studio can't see hwaccel

KGB1st

New Member
Code:
kgb1st@sabertooth-lnx:~/obs-studio/build$     ffmpeg -codecs | grep nvenc
ffmpeg version N-90807-g00099ef Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
  configuration: --prefix=/home/kgb1st/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/kgb1st/ffmpeg_build/include --extra-ldflags=-L/home/kgb1st/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/kgb1st/bin --enable-gpl --enable-libfdk-aac --enable-libx264 --enable-nonfree --enable-nvenc
  libavutil      56. 15.100 / 56. 15.100
  libavcodec     58. 19.100 / 58. 19.100
  libavformat    58. 13.100 / 58. 13.100
  libavdevice    58.  4.100 / 58.  4.100
  libavfilter     7. 19.100 /  7. 19.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample   3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_crystalhd h264_v4l2m2m h264_cuvid ) (encoders: libx264 libx264rgb h264_nvenc h264_v4l2m2m h264_vaapi nvenc nvenc_h264 )
DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_cuvid ) (encoders: nvenc_hevc hevc_nvenc hevc_vaapi )


obs-studio compiled such as typed on git

Code:
  git clone --recursive https://github.com/obsproject/obs-studio.git
  cd obs-studio
  mkdir build && cd build
  cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr ..
  make -j4
  sudo checkinstall --pkgname=obs-studio --fstrans=no --backup=no \
         --pkgversion="$(date +%Y%m%d)-git" --deldoc=yes

But when I tried to switch to hwaccel, I can't see it in listbox in obs in properties menu :\
 

TTT

New Member
I think you need to export FFmpegPath before you make. So export FFmpegPath="path/to/your/ffmpeg/build/ffmpeg".
Then build obs-studio
 
Top