I have been building a DVB streaming server with Raspberry Pi 4 in the past couple of weeks.1 The setup turns out to work pretty well as Raspberry Pi 4 can render 720p in realtime with hardware encoding. Streaming MPEG2TS is also possible with Ethernet. However, FFmpeg version shipped with Raspbian do not retain a metadata required for maintaining aspect ratio when using OpenMAX hardware encoder/decoder (
h264_omx). This can be fixed by patching FFmpeg and recompile from source.