ATSC3.0 Broadcast and AC-4 Sound

You need to create a new stream profile first. The existing ones are not spawn profiles. MPEG-TS Spawn/built-in. If you read up the topic a little I explain how to create it: Live TV (IPTV Support) - #66 by sixxnet

This is a sample command line argument for a spawn profile that I already use to transcode the audio on every stream so it stays the same between sources. Edit it as per your needs:

/usr/bin/ffmpeg -hide_banner -loglevel error -i pipe:0 -f lavfi -i anullsrc -c:v copy -c:a ac3 -b:a 640k -ac 6 -shortest -f mpegts pipe:1

Technically you already have the command line from your first post just need to mod it a little for input and output. Reference the one I just supplied.

I could make the executable but it would be system and library dependent so it’s not going to do much good unless your system is the same. But there’s straight forward instructions here: CompilationGuide – FFmpeg