mpeg icon indicating copy to clipboard operation
mpeg copied to clipboard

What if a mpeg file with multiple video streams is provided?

Open donmor opened this issue 1 year ago • 1 comments

There's method NumVideoStreams, which, as referred in the doc, only returns 0 or 1. So will it return 2 if a clip with 2 video streams is provided?

And there's SetAudioStream but no SetVideoStream. Will there be one if multiple video streams is supported?

donmor avatar Aug 25 '24 19:08 donmor

Note that there is support only for MPEG-PS (Program Stream) container, not for MPEG-TS (Transport Stream) or multiplexed MPEG-1 stream. TS supports multiple programs whereas PS is usually a single program (video track) and one or more audio tracks.

gen2brain avatar Aug 26 '24 10:08 gen2brain