This looks like a (strange) hack to me.
First, you cannot just throw some pids out - that will make a non-standard
compliant stream. PMT will signal missing streams; PCR pid will be missing
also. So let's assume that your tool can also rewrite PMT.
Secondly, there is supposed to be one and only one
From 44c9f3d96c5969349bd2dc4d63e9a8b8e6b5a0e2 Mon Sep 17 00:00:00 2001
From: M. Sanders
Date: Sat, 27 Oct 2018 21:39:44 +0200
Subject: [PATCH] libavformat: add multiple PCR streams in MPEGTS muxer
---
This simple patch adds two new options to the MPEG-TS muxer.
You can use them to mark PCRs in ad
This simple patch adds two new options to the MPEG-TS muxer.
You can use them to mark PCRs in additional VIDEO and/or AUDIO streams.
It's useful when you will remux the output with pid filtering tools.
For example, if you put PCR in all audio streams, then you can filter
each audio stream to creat