asticode / go-astits

Demux and mux MPEG Transport Streams (.ts) natively in GO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] Realtime muxer

SonnyWalkman opened this issue · comments

Hello @asticode,

great work here and I'm new to programming in Go! I've been using TSduck in exec to do what I need to however, a quick look at what you have done is promising. How far off are implementation of TDT and TOT tables.?

I'm using Teletext PES and guessing the muxer is capable of muxing the PES from another program once formatted correctly. The teletext PES need its own PTS clock or does your mux do all the PCR and PTS metrics?

@SonnyWalkman thanks for your interest in the project 👍

How far off are implementation of TDT and TOT tables.?

TOT tables are demuxed (see here) but not muxed and TDT tables are neither demuxed nor muxed.

The teletext PES need its own PTS clock or does your mux do all the PCR and PTS metrics?

Right now only PAT and PMT tables can be generated manually using the WriteTables method or automatically using the MuxerOptTablesRetransmitPeriod option. The muxer's WriteData method must be provided a *MuxerData which contains the information you want to write; astits doesn't "interfere" with this information therefore the teletext PES needs its own PTS.