[multicat-devel] [PATCH] Allow seamless reads and DTS/PTS manipulation
Christophe Massiot
cmassiot at openheadend.tv
Wed Dec 21 22:48:10 CET 2016
Hi, and sorry for the delay,
> On 17 Nov 2016, at 16:02, Dr. Net! - Eugen Rieck <eugen at drnet.at> wrote:
>
> The more important first part deals with an issue, where multicat doesn't behave as expected when reading from a FIFO while the sending side is just posting a packet: This concurrency can result in multicat reading just a part of a block and then complaining "warning: invalid TS packet (sync=0x..)”
I have just checked in a similar patch, without the while loop, and always enabled (it should be the default behaviour).
> The less important second part adds the -o (for DTS) and -O (for PTS) flags for usage with restamping (-P). They allow offsets for DTS/PTS to acommodate e.g. slow DVB heads.
However, I don’t understand why you need this. First of all, you should apply the same offset to DTS and PTS, because most elementary streams do not have a DTS so only the video would be impacted. But also, the resulting streams would be totally non-compliant with the TS buffering model.
Best,
More information about the multicat-devel
mailing list