[Libav-user] MPEG-TS continuity counter

Selmeci, Tamás tselmeci at open-st.eu
Wed Oct 1 14:26:02 CEST 2014

Hello all!

My program creates multiple small MPEG-TS files. The output file
contains three AVStreams:
- one for the video;
- one for the audio;
- one for user-specific data;

User-specific data:
I've found the way to put these data into a custom PID, and my MPEG-TS
analyzer shows that the continuity counter of the PID increases as it
should. The problem is that when a new MPEG-TS file is created, the
counter resets.

Can I tell somehow the MPEG-TS multiplexer the desired start continuity
counter value for my specific PID? (It obviously can be done by hacking,
but first I'd prefer the nice path)

Thanks, regards,
Selmeci, Tamás

More information about the Libav-user mailing list