Project

General

Profile

Transcoding Intel VAAPI or Nvidia (GT 630)?

Added by A T almost 5 years ago

Hi,

im using a Asrock J4205 board and i want to get transcoding for recordings and livetv working.

I want to know if i should use the intel vaapi or my Gt 630 with nvenc?
With Vaapi i got it generally working but had some problems:
-wrong format and settings somehow bugged
-transcoded files not supported by firetv (not sure if it was wrong settings/container format)

Is nvenc better in some ways?
I usually build tvh from git, is there a good stable branch/package?
Maybe some general tips?


Replies (5)

RE: Transcoding Intel VAAPI or Nvidia (GT 630)? - Added by A T almost 5 years ago

Sry

Ubuntu 17.10 64bit
Linux server 4.13.0-32-generic


Is that patch needed for nvidia? I thought the newer versions support hardware accel. natively.
I havent installed the nvidia card yet i just remember getting drivers, cuda and nvenc rdy was a hassle..

Not even sure if its worth it..

ffmpeg -v
ffmpeg version 3.3.4-2

ffmpeg -encoders | grep nv
 V..... h264_nvenc           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc                NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_h264           NVIDIA NVENC H.264 encoder (codec h264)
 V..... nvenc_hevc           NVIDIA NVENC hevc encoder (codec hevc)
 V..... hevc_nvenc           NVIDIA NVENC hevc encoder (codec hevc)
..................
 V..... h264_vaapi           H.264/AVC (VAAPI) (codec h264)
 V..... hevc_vaapi           H.265/HEVC (VAAPI) (codec hevc)
 V..... mjpeg_vaapi          MJPEG (VAAPI) (codec mjpeg)
 V..... mpeg2_vaapi          MPEG-2 (VAAPI) (codec mpeg2video)
 V..... vp8_vaapi            VP8 (VAAPI) (codec vp8)

RE: Transcoding Intel VAAPI or Nvidia (GT 630)? - Added by saen acro almost 5 years ago

Cool ffmpeg with nvenc compiled, but is there a nvenc enabled device?
vainfo vdpauinfo

RE: Transcoding Intel VAAPI or Nvidia (GT 630)? - Added by A T almost 5 years ago

At the moment not. I took the nvidia card out again.
I hope i find the time today.

I tried few days ago but i have problems to get everything working together (nv,prime, hardware accel on xorg/wayland).

RE: Transcoding Intel VAAPI or Nvidia (GT 630)? - Added by saen acro almost 5 years ago

Need to install nvidia proprietary driver and disable nouveau to load
nvidia-smi is not so good on this card but

in idle

in transcoding

as you see only temp, power profile and mem usage are changed

command used

watch nvidia-smi

    (1-5/5)