I am working on a problem where I have to play multiple videos, one after another using DASH. I do not want them to be combined into one MP4. Each video (each represenatation) has its own segment file (single segment). Then I use MP4Box to create a single mpd file with multiple periods so that video1 is in Period 1 and video2 is in Period 2, hoping that they would run one after another. The MP4Box command is as follows
MP4Box -dash 10000 -profile onDemand -single-file video1_320_24.mp4#video:period=1 video1_480_24.mp4#video:period=1 video1_480_24.mp4#audio:period=1 video2_320_24.mp4#video:period=2 video2_480_24.mp4#video:period=2 video2_480_24.mp4#audio:period=2
This generates a single mod file with 2 periods. But when I run the video using SHAKA player https://shaka-player-demo.appspot.com/demo/#lang=en-GB, the video hangs while the switch happens from one period to another.
Could somebody please help me what am I doing wrong here?
Thanks