Using Docker install on Jammy
here is the log from streaming:
1/2/2025 2:29:26 PM -05:00 Debug Session started; returning multi-variant playlist for channel 3
1/2/2025 2:29:26 PM -05:00 Debug WaitForPlaylistSegments took "00:00:03.1327977"
1/2/2025 2:29:26 PM -05:00 Debug Playlist exists
1/2/2025 2:29:26 PM -05:00 Debug Segment count 0 of 1
1/2/2025 2:29:23 PM -05:00 Debug FFmpeg pipeline ["ThreadCountOption","NoStandardInputOption","HideBannerOption","NoStatsOption","LoglevelErrorOption","StandardFormatFlags","NoDemuxDecodeDelayOutputOption","FastStartOutputOption","ClosedGopOutputOption","NoBFramesOutputOption","NoSceneDetectOutputOption","TimeLimitOutputOption","VaapiHardwareAccelerationOption","LibvaDriverNameVariable","VideoTrackTimescaleOutputOption","EncoderRawVideo","EncoderPcmS16Le","AudioChannelsOutputOption","DoNotMapMetadataOutputOption","MetadataServiceProviderOutputOption","MetadataServiceNameOutputOption","MetadataAudioLanguageOutputOption","OutputFormatMkv","PipeProtocol","ComplexFilter"], ["AudioFirstPtsFilter","AudioPadFilter"], ["ScaleVaapiFilter","PadFilter","EncoderRawVideo"]
1/2/2025 2:29:23 PM -05:00 Debug FFmpeg environment variables ["EnvironmentVariable { Key = LIBVA_DRIVER_NAME, Value = iHD }"]
1/2/2025 2:29:23 PM -05:00 Debug Next playout item process will transcode until "2025-01-02T14:51:15.7220000-05:00"
1/2/2025 2:29:23 PM -05:00 Debug ffmpeg arguments -threads 1 -nostdin -hide_banner -nostats -loglevel error -fflags +genpts+discardcorrupt+igndts -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -ss 00:00:49.9627028 -hwaccel_output_format vaapi -readrate 1.0 -readrate_initial_burst 45 -i http://localhost:8409/media/plex/13//library/parts/85118/1702105973/file.mp4 -filter_complex [0:1]aresample=async=1:first_pts=0,apad[a];[0:0]scale_vaapi=1920:1080:force_divisible_by=2:force_original_aspect_ratio=decrease,setsar=1,hwdownload,format=nv12,pad=1920:1080:-1:-1:color=black[v];[v]colorspace=irange=tv:ispace=smpte170m:itrc=bt709:iprimaries=smpte170m:all=bt709:format=yuv420p[vpf] -map [vpf] -map [a] -muxdelay 0 -muxpreload 0 -movflags +faststart -flags cgop -bf 0 -sc_threshold 0 -t 00:21:52.3412972 -video_track_timescale 90000 -c:v rawvideo -c:a pcm_s16le -map_metadata -1 -metadata "service_provider=\"ErsatzTV\"" -metadata "service_name=\"Even Stevens\"" -metadata:s:a:0 language=eng -f matroska pipe:1
1/2/2025 2:29:23 PM -05:00 Debug Forcing 1 ffmpeg thread when hardware acceleration is used
1/2/2025 2:29:23 PM -05:00 Debug Using software encoder
1/2/2025 2:29:23 PM -05:00 Warning Unexpected pixel format null may have playback issues
1/2/2025 2:29:23 PM -05:00 Debug FFmpeg desired state FrameState { Realtime = False, InfiniteLoop = False, VideoFormat = h264, VideoProfile = Some(high), VideoPreset = None, AllowBFrames = False, PixelFormat = Some(ErsatzTV.FFmpeg.Format.PixelFormatYuv420P), ScaledSize = FrameSize { Width = 1440, Height = 1080 }, PaddedSize = FrameSize { Width = 1920, Height = 1080 }, CroppedSize = None, IsAnamorphic = False, FrameRate = None, VideoBitrate = Some(6000), VideoBufferSize = Some(10000), VideoTrackTimeScale = Some(90000), Deinterlaced = False, FrameDataLocation = Unknown, FFmpegAspectRatio = 16/9, BitDepth = 8 }
1/2/2025 2:29:23 PM -05:00 Debug Preferred audio language has multiple codes ["eng","en"]
1/2/2025 2:29:23 PM -05:00 Debug Checking for JS Script at /root/.local/share/ersatztv/scripts/audio-stream-selector/episode.js
1/2/2025 2:29:23 PM -05:00 Debug Unable to locate episode audio stream selector script; falling back to built-in logic
1/2/2025 2:29:23 PM -05:00 Debug SelectAudioStream duration: "00:00:00.0000790"
1/2/2025 2:29:23 PM -05:00 Debug Found 1 audio streams with preferred audio language code(s) ["eng","en"]
1/2/2025 2:29:23 PM -05:00 Debug Found audio stream flagged as default
1/2/2025 2:29:23 PM -05:00 Debug Channel 3 has no preferred audio language code
here is my VAAPI info:
Checking driver iHD device /dev/dri/renderD128
Trying display: drm
vainfo: VA-API version: 1.18 (libva 2.18.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.2.1 ()
vainfo: Supported config attributes per profile/entrypoint pair
VAProfileNone/VAEntrypointVideoProc
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGBP
VAProfileNone/VAEntrypointStats
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_YUV444
VA_RT_FORMAT_YUV411
VA_RT_FORMAT_YUV400
VA_RT_FORMAT_RGB16
VA_RT_FORMAT_RGB32
VA_RT_FORMAT_RGBP
VAProfileMPEG2Simple/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileMPEG2Simple/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FRAME
VAConfigAttribEncMaxRefFrames : l0=1
l1=1
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncSkipFrame : supported
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAProfileMPEG2Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VAConfigAttribDecProcessing : VA_DEC_PROCESSING_NONE
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileMPEG2Main/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_CQP
VA_RC_MB
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FRAME
VAConfigAttribEncMaxRefFrames : l0=1
l1=1
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 1920
VAConfigAttribMaxPictureHeight : 1920
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_NONE
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_NONE
VAConfigAttribEncSkipFrame : supported
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_ENCODE
VAConfigAttribEncDirtyRect : number of supported regions is 4
VAConfigAttribEncParallelRateControl : number of supported layers is 1
VAProfileH264Main/VAEntrypointVLD
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VA_RT_FORMAT_YUV422
VA_RT_FORMAT_RGB32
VAConfigAttribDecSliceMode : VA_DEC_SLICE_MODE_NORMAL
VA_DEC_SLICE_MODE_BASE
VAConfigAttribDecProcessing : VA_DEC_PROCESSING
VAConfigAttribMaxPictureWidth : 8192
VAConfigAttribMaxPictureHeight : 8192
VAConfigAttribProcessingRate : VA_PROCESSING_RATE_DECODE
VAProfileH264Main/VAEntrypointEncSlice
VAConfigAttribRTFormat : VA_RT_FORMAT_YUV420
VAConfigAttribRateControl : VA_RC_CBR
VA_RC_VBR
VA_RC_VCM
VA_RC_CQP
VA_RC_ICQ
VA_RC_MB
VA_RC_QVBR
VA_RC_AVBR
VAConfigAttribEncPackedHeaders : VA_ENC_PACKED_HEADER_SEQUENCE
VA_ENC_PACKED_HEADER_PICTURE
VA_ENC_PACKED_HEADER_SLICE
VA_ENC_PACKED_HEADER_MISC
VA_ENC_PACKED_HEADER_RAW_DATA
VAConfigAttribEncInterlaced : VA_ENC_INTERLACED_FIELD
VAConfigAttribEncMaxRefFrames : l0=8
l1=2
VAConfigAttribEncMaxSlices : 256
VAConfigAttribEncSliceStructure : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
VAConfigAttribMaxPictureWidth : 4096
VAConfigAttribMaxPictureHeight : 4096
VAConfigAttribEncQualityRange : number of supported quality levels is 7
VAConfigAttribEncQuantization : VA_ENC_QUANTIZATION_TRELLIS_SUPPORTED
VAConfigAttribEncIntraRefresh : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
VA_ENC_INTRA_REFRESH_ROLLING_ROW
VAConfigAttribEncSkipFrame : supported
VAConfigAttribEncROI : num_roi_regions=8
roi_rc_priority_support=1
roi_rc_qp_delta_support=1