Thanks for sharing your settings Walter av, really helpful. I'm learning so much on this journey to get the best from my PI4 / Buster / Pi TV HAT (DVB-T2) setup.
I've now seen the TVHeadEnd log at the bottom of its web GUI and can see my TV card outputs MPEG2VIDEO / AUDIO. I've therefore refined my settings further to try and get the best picture quality without the PI4 stuttering;
Container:Matroska (mkv)/built-in
Resolution (height):0
.....(keep resolution as transmitted)
Channels:Copy layout
Language:Use original
Source video codec: MPEG2VIDEO
Video codec: libx264: libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
.....(MPEG2 Video will need converting)
Video codec preset:veryfast: h264 / h265 / qsv(h264)
.....(tuned with bitrate for optimum quality / no stutter)
Video bitrate (kb/s) (0=auto): 3500
.....(tuned with video codec preset for optimum quality / no stutter)
Audio codec: libvorbis: libvorbis
.....(seems to be less load on the CPU????)
Audio bitrate (kb/s) (0=auto): 0
Subtitle codec: do not use
I believe for my PI4 setup, the best performance would be to use the Video Codec "h264_omx: OpenMAX IL H.264 video encoder" to use the hardware encoding capabilities rather than software as above. Unfortunately the output from this is not quite right, ie, the picture is squashed @ 4:3 ratio on Chromecast. Anyone know if there is a fix for this?