Hello,
I have some trouble finding how to make the following :
I have one video file and 5 audio files (mp4 and mp3) that must play at the same time, and I need to be able to select a section of the full length (for instance from 5 sec to 10 sec) and make it loop seamlessly.
I have tried the following, but with no success :
- By using one topology, restarting the playback on the end of presentation event : it works but only for the whole file. If I use the MF_TOPONODE_MEDIASTART/STOP, then it does no more loop.
- I try to add 4 times the same unique topology (the one that contains all the nodes for playing the files together). Here I can use the MF_TOPONODE_MEDIASTART/STOP, but it only plays it once, then the session ends. I have well placed the SequencerTopologyFlags_Last only for the last AppendTopology. I receive the various MENewPresentation and MF_TOPOSTATUS_SINK_SWITCHED, but it only is played once. Is it possible to add the same topology several times ?
Do we need to create separate topologies built totally independently ? Or in this case, would it be enough to create 2 topologies and use them alternatively ?
I would appreciate some advice on that.
Dominique