Transcoder Not Starting Correctly

I'm using ADBTuner with a HDMI Encoder to Tune these channels and I keep getting this error. When I turn the incoming stream to h.265 I don't get errors but my server runs a bit hotter.

025/10/13 00:25:09.251929 [ENC] Starting encoder for ch249 in /mnt/nfs/channelsdvr/Streaming/sessions/ch249-dANY-caad885bc23c-786950875/encoder-1-2413431351 at 1 (0.837011) (encoder=h264_vaapi, codec=, acodec=, resolution=, deinterlacer=hardware, bitrate=4300, segment_size=0.01)
2025/10/13 00:25:09.355090 [HLS] ffmpeg: ch249-dANY-caad885bc23c-1-----4300-0--0-0--hardware-false-false-0.01-0:  [h264 @ 0x1098ba00] Failed setup for format vaapi: hwaccel initialisation returned error.

Please install the drivers for your gpu

I have drivers installed, and it seemingly works with H.265 streams.

vainfo
Trying display: wayland
Trying display: x11
error: can't connect to X server!
Trying display: drm
libva info: VA-API version 1.22.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
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 - 25.2.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          :	VAEntrypointVLD
      VAProfileVP8Version0_3          :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD

what hdmi encoder/source are you using it may be applying drm. I recommend a linkpi/onn pro

edit: try opening the stream in vlc if it plays there rescan your hardware in channels dvr. if you are running channels in a docker make sure you passed through your gpu.

edit2: do not record directly to nfs use a local drive then setup a cronjob to move your files over once a day or so then add the nfs folder under personal media

what hdmi encoder/source are you using it may be applying drm. I recommend a linkpi/onn pro
I am not using a LinkPi but I am using an encoder that uses the same encoder as some LinkPi devices use. The streamer is a Google Chromecast with Google TV.

edit: try opening the stream in vlc if it plays there rescan your hardware in channels dvr. if you are running channels in a docker make sure you passed through your gpu.
I am running this on an ubuntu server directly, The streams have no issue running through VLC.

edit2: do not record directly to nfs use a local drive then setup a cronjob to move your files over once a day or so then add the nfs folder under personal media

I have played around with writing locally vs on the network and it hasn't proven to be a problem. I am currently writing to local disk though.

Did you follow all the steps here (Channels — Channels DVR Server) specifically the steps for Intel gpus?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.