Preserve data stream

Has anyone successfully ingested/output a live video with more than two sub-streams? I.e. a live h264 or flv video with data streams alongside the video and audio channels…