I have a problem with transcoding on a Synology @ ersatztv:latest-vaapi

System.InvalidOperationException: Sequence contains no matching element
Error transcoding channel 1

Setup:

Synology DS423+ (with Plex (as a container))

ErsatzTV container:

services:
  ersatztv:
    container_name: ersatztv
    image: jasongdove/ersatztv:latest-vaapi
    environment:
      - TZ=Europe/Copenhagen
      - PUID=1028
      - PGID=100
    ports:
      - 8409:8409
    volumes:
      - /volume2/StorageSSD/Programs/Ersatztv:/root/.local/share/ersatztv
      - /volume2/StorageSSD/Programs/Ersatztv/transcode:/root/.local/share/etv-transcode
    devices:
      - /dev/dri:/dev/dri
    restart: unless-stopped

The 1028 user is an administrator

Channel:

MPEG-TS

FFmpeg Profile:
Video: Vaapi - iHD - /dev/dri/card0 (i have also tried RenderD128 but still same problem)
Audio: AAC

I get the following error when trying to play the channel from Plex:

2025/01/02 05:30:07	stdout	   at ErsatzTV.Application.Streaming.HlsSessionWorker.Transcode(Boolean realtime, CancellationToken cancellationToken) in /source/ErsatzTV.Application/Streaming/HlsSessionWorker.cs:line 417
2025/01/02 05:30:07	stdout	   at ErsatzTV.Application.Streaming.FFmpegProcessHandler`1.Handle(T request, CancellationToken cancellationToken) in /source/ErsatzTV.Application/Streaming/Queries/FFmpegProcessHandler.cs:line 21
2025/01/02 05:30:07	stdout	   at ErsatzTV.Application.Streaming.FFmpegProcessHandler`1.Handle(T request, CancellationToken cancellationToken) in /source/ErsatzTV.Application/Streaming/Queries/FFmpegProcessHandler.cs:line 21
2025/01/02 05:30:07	stdout	   at ErsatzTV.Application.Streaming.GetPlayoutItemProcessByChannelNumberHandler.GetProcess(TvContext dbContext, GetPlayoutItemProcessByChannelNumber request, Channel channel, String ffmpegPath, String ffprobePath, CancellationToken cancellationToken) in /source/ErsatzTV.Application/Streaming/Queries/GetPlayoutItemProcessByChannelNumberHandler.cs:line 277
2025/01/02 05:30:07	stdout	   at ErsatzTV.Core.FFmpeg.FFmpegLibraryProcessService.ForPlayoutItem(String ffmpegPath, String ffprobePath, Boolean saveReports, Channel channel, MediaVersion videoVersion, MediaItemAudioVersion audioVersion, String videoPath, String audioPath, Func`2 getSubtitles, String preferredAudioLanguage, String preferredAudioTitle, String preferredSubtitleLanguage, ChannelSubtitleMode subtitleMode, DateTimeOffset start, DateTimeOffset finish, DateTimeOffset now, Option`1 playoutItemWatermark, Option`1 globalWatermark, VaapiDriver vaapiDriver, String vaapiDevice, Option`1 qsvExtraHardwareFrames, Boolean hlsRealtime, FillerKind fillerKind, TimeSpan inPoint, TimeSpan outPoint, Int64 ptsOffset, Option`1 targetFramerate, Boolean disableWatermarks, Action`1 pipelineAction) in /source/ErsatzTV.Core/FFmpeg/FFmpegLibraryProcessService.cs:line 74
2025/01/02 05:30:07	stdout	   at ErsatzTV.Core.FFmpeg.FFmpegStreamSelector.SelectVideoStream(MediaVersion version) in /source/ErsatzTV.Core/FFmpeg/FFmpegStreamSelector.cs:line 40
2025/01/02 05:30:07	stdout	   at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
2025/01/02 05:30:07	stdout	   at System.Linq.ThrowHelper.ThrowNoMatchException()
2025/01/02 05:30:07	stdout	System.InvalidOperationException: Sequence contains no matching element
2025/01/02 05:30:07	stdout	[14:30:07 ERR] Error transcoding channel 1
2025/01/02 05:30:07	stdout	[14:30:07 DBG] Found playout item [Redacted] with path http://localhost:8409/media/plex/2//library/parts/91747/1638295551/file.mkv
2025/01/02 05:30:07	stdout	[14:30:07 DBG] Attempting to stream Plex file [Redacted] using key /library/parts/91747/1638295551/file.mkv
2025/01/02 05:30:06	stdout	[14:30:06 DBG] HLS session state: SeekAndWorkAhead
2025/01/02 05:30:06	stdout	[14:30:06 DBG] HLS segmenter will work ahead for channel 1
2025/01/02 05:30:05	stdout	[14:30:05 INF] Starting HLS session for channel 1
2025/01/02 05:30:05	stdout	[14:30:05 DBG] Preparing transcode folder /root/.local/share/etv-transcode/1
2025/01/02 05:30:05	stdout	[14:30:05 DBG] Maybe starting ffmpeg session for channel 1, mode segmenter
2025/01/02 05:30:05	stdout	[14:30:05 DBG] ffmpeg arguments -nostdin -threads 1 -hide_banner -loglevel error -nostats -fflags +genpts+discardcorrupt+igndts -readrate 1.0 -i http://localhost:8409/iptv/channel/1.m3u8?mode=segmenter -map 0 -c copy -metadata "service_provider=\"ErsatzTV\"" -metadata "service_name=\"ErsatzTV\"" -f mpegts pipe:1
2025/01/02 05:30:05	stdout	[14:30:05 INF] Starting ts stream for channel 1
2025/01/02 05:30:05	stdout	[14:30:05 DBG] FFmpeg pipeline ["NoStandardInputOption", "ThreadCountOption", "HideBannerOption", "LoglevelErrorOption", "NoStatsOption", "StandardFormatFlags", "MapAllStreamsOutputOption", "EncoderCopyAll", "MetadataServiceProviderOutputOption", "MetadataServiceNameOutputOption", "OutputFormatMpegTs", "PipeProtocol"], [], []

VAAPI Capability for card0 drm:

Checking driver iHD device /dev/dri/card0

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          : 2048
    VAConfigAttribMaxPictureHeight         : 2048
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

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          : 2048
    VAConfigAttribMaxPictureHeight         : 2048
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

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          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264Main/VAEntrypointFEI
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIFunctionType          : VA_FEI_FUNCTION_ENC
                                             VA_FEI_FUNCTION_PAK
                                             VA_FEI_FUNCTION_ENC_PAK
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264Main/VAEntrypointEncSliceLP
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=0
    VAConfigAttribEncMaxSlices             : 256
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
                                             VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
    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=3
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264High/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          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileH264High/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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264High/VAEntrypointFEI
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIFunctionType          : VA_FEI_FUNCTION_ENC
                                             VA_FEI_FUNCTION_PAK
                                             VA_FEI_FUNCTION_ENC_PAK
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264High/VAEntrypointEncSliceLP
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=0
    VAConfigAttribEncMaxSlices             : 256
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
                                             VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
    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=3
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileVC1Simple/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          : 2048
    VAConfigAttribMaxPictureHeight         : 2048
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileVC1Main/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          : 2048
    VAConfigAttribMaxPictureHeight         : 2048
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileVC1Advanced/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          : 2048
    VAConfigAttribMaxPictureHeight         : 2048
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileJPEGBaseline/VAEntrypointVLD
    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
    VAConfigAttribDecSliceMode             : VA_DEC_SLICE_MODE_NORMAL
    VAConfigAttribDecJPEG                  : VA_ROTATION_NONE
                                             VA_ROTATION_90
                                             VA_ROTATION_180
                                             VA_ROTATION_270
    VAConfigAttribDecProcessing            : VA_DEC_PROCESSING_NONE
    VAConfigAttribMaxPictureWidth          : 16384
    VAConfigAttribMaxPictureHeight         : 16384
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileJPEGBaseline/VAEntrypointEncPicture
    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
    VAConfigAttribEncPackedHeaders         : VA_ENC_PACKED_HEADER_RAW_DATA
    VAConfigAttribMaxPictureWidth          : 16384
    VAConfigAttribMaxPictureHeight         : 16384
    VAConfigAttribEncJPEG                  : arithmatic_coding_mode=0
                                             progressive_dct_mode=0
                                             non_interleaved_mode=0
                                             differential_mode=0
                                             differential_mode=0
                                             max_num_components=3
                                             max_num_scans=1
                                             max_num_huffman_tables=2
                                             max_num_quantization_tables=3
    VAConfigAttribEncQualityRange          : number of supported quality levels is 1

VAProfileH264ConstrainedBaseline/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          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileH264ConstrainedBaseline/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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264ConstrainedBaseline/VAEntrypointFEI
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIFunctionType          : VA_FEI_FUNCTION_ENC
                                             VA_FEI_FUNCTION_PAK
                                             VA_FEI_FUNCTION_ENC_PAK
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribQPBlockSize              : supported
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileH264ConstrainedBaseline/VAEntrypointEncSliceLP
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=0
    VAConfigAttribEncMaxSlices             : 256
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_EQUAL_ROWS
                                             VA_ENC_SLICE_STRUCTURE_MAX_SLICE_SIZE
    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=3
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4
    VAConfigAttribMaxFrameSize             : max_frame_size=1
                                             multiple_pass=1

VAProfileVP8Version0_3/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          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileVP8Version0_3/VAEntrypointEncSlice
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CBR
                                             VA_RC_VBR
                                             VA_RC_CQP
                                             VA_RC_MB
    VAConfigAttribEncPackedHeaders         : VA_ENC_PACKED_HEADER_NONE
    VAConfigAttribEncInterlaced            : VA_ENC_INTERLACED_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=0
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
    VAConfigAttribMaxPictureWidth          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    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

VAProfileHEVCMain/VAEntrypointVLD
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
                                             VA_RT_FORMAT_YUV422
                                             VA_RT_FORMAT_RGB32
    VAConfigAttribDecSliceMode             : VA_DEC_SLICE_MODE_NORMAL
    VAConfigAttribDecProcessing            : VA_DEC_PROCESSING
    VAConfigAttribMaxPictureWidth          : 8192
    VAConfigAttribMaxPictureHeight         : 8192
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileHEVCMain/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
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=1
    VAConfigAttribEncMaxSlices             : 200
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
    VAConfigAttribMaxPictureWidth          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribEncQualityRange          : number of supported quality levels is 7
    VAConfigAttribEncQuantization          : VA_ENC_QUANTIZATION_NONE
    VAConfigAttribEncIntraRefresh          : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
    VAConfigAttribEncSkipFrame             : supported
    VAConfigAttribEncROI                   : num_roi_regions=16
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4

VAProfileHEVCMain/VAEntrypointFEI
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
    VAConfigAttribRateControl              : VA_RC_CQP
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=1
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
    VAConfigAttribMaxPictureWidth          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribEncQualityRange          : number of supported quality levels is 7
    VAConfigAttribEncQuantization          : VA_ENC_QUANTIZATION_NONE
    VAConfigAttribEncIntraRefresh          : VA_ENC_INTRA_REFRESH_NONE
    VAConfigAttribEncSkipFrame             : supported
    VAConfigAttribEncROI                   : num_roi_regions=16
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIFunctionType          : VA_FEI_FUNCTION_ENC_PAK
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4

VAProfileHEVCMain10/VAEntrypointVLD
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
                                             VA_RT_FORMAT_YUV420_10
                                             VA_RT_FORMAT_YUV420_10BPP
    VAConfigAttribDecSliceMode             : VA_DEC_SLICE_MODE_NORMAL
    VAConfigAttribDecProcessing            : VA_DEC_PROCESSING
    VAConfigAttribMaxPictureWidth          : 8192
    VAConfigAttribMaxPictureHeight         : 8192
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileHEVCMain10/VAEntrypointEncSlice
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420_10
                                             VA_RT_FORMAT_YUV420_10BPP
    VAConfigAttribRateControl              : VA_RC_CBR
                                             VA_RC_VBR
                                             VA_RC_VCM
                                             VA_RC_CQP
                                             VA_RC_ICQ
                                             VA_RC_MB
                                             VA_RC_QVBR
    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_NONE
    VAConfigAttribEncMaxRefFrames          : l0=3
                                             l1=1
    VAConfigAttribEncMaxSlices             : 200
    VAConfigAttribEncSliceStructure        : VA_ENC_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS
    VAConfigAttribMaxPictureWidth          : 4096
    VAConfigAttribMaxPictureHeight         : 4096
    VAConfigAttribEncQualityRange          : number of supported quality levels is 7
    VAConfigAttribEncQuantization          : VA_ENC_QUANTIZATION_NONE
    VAConfigAttribEncIntraRefresh          : VA_ENC_INTRA_REFRESH_ROLLING_COLUMN
    VAConfigAttribEncSkipFrame             : supported
    VAConfigAttribEncROI                   : num_roi_regions=16
                                             roi_rc_priority_support=0
                                             roi_rc_qp_delta_support=1
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_ENCODE
    VAConfigAttribEncDirtyRect             : number of supported regions is 4
    VAConfigAttribEncParallelRateControl   : number of supported layers is 1
    VAConfigAttribFEIMVPredictors          : number of supported MV predictors is 4

VAProfileVP9Profile0/VAEntrypointVLD
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
                                             VA_RT_FORMAT_YUV422
                                             VA_RT_FORMAT_YUV420_10
                                             VA_RT_FORMAT_RGB32
                                             VA_RT_FORMAT_YUV420_10BPP
    VAConfigAttribDecSliceMode             : VA_DEC_SLICE_MODE_NORMAL
                                             VA_DEC_SLICE_MODE_BASE
    VAConfigAttribDecProcessing            : VA_DEC_PROCESSING_NONE
    VAConfigAttribMaxPictureWidth          : 8192
    VAConfigAttribMaxPictureHeight         : 8192
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE

VAProfileVP9Profile2/VAEntrypointVLD
    VAConfigAttribRTFormat                 : VA_RT_FORMAT_YUV420
                                             VA_RT_FORMAT_YUV422
                                             VA_RT_FORMAT_YUV420_10
                                             VA_RT_FORMAT_RGB32
                                             VA_RT_FORMAT_YUV420_10BPP
    VAConfigAttribDecSliceMode             : VA_DEC_SLICE_MODE_NORMAL
                                             VA_DEC_SLICE_MODE_BASE
    VAConfigAttribDecProcessing            : VA_DEC_PROCESSING_NONE
    VAConfigAttribMaxPictureWidth          : 8192
    VAConfigAttribMaxPictureHeight         : 8192
    VAConfigAttribProcessingRate           : VA_PROCESSING_RATE_DECODE