Use GST_TAG_TRACK_KIND to get track "kind".
Add MPEG-TS PMT cues.
Set the first audio and video track's kind="main" for MPEG-TS files.