Hello,
I have a big problem from last few days when trying to play two different .ismc files from single .ism in IIS Smooth Streaming. I don't want to do this job using CSM. I need to play two different video files (transcoded .ism) continuously without break. And for this I have done the following efforts:
1. Transcode two different files(with identical preset) and create separate .ism, .ismc and transcoded video files.
2. Created another .ism file containing all the .ismv ( audio/ video) file tags of both the .ism files.
3. Created one .ismc file for containing the chunks of both ismc files.
Pls help me out to suggest whether I am trying on right way or need to perform another way to do it. I find that the last chunk of the first .ismc could not be loaded hence the rest of the chunks of second ismc fails to download.
When I used different StreamIndex for different video/audio chunks, than only second StreamIndex is downloaded and played well.
If I reset the duration of chunks played for the first video then both videos played but total duration of play affected. Also there are some problem with video jumping from first to second.
Pls guide me to How can I work with two different .ismc to play through single .ism. the structure of both ismc are as follows:
iPhone.ismc:
<SmoothStreamingMedia
MajorVersion="2"
MinorVersion="1"
Duration="407330000">
<StreamIndex Type="video" Name="video" Chunks="6" QualityLevels="9" MaxWidth="1080" MaxHeight="720" DisplayWidth="1080" DisplayHeight="720" Url="QualityLevels({bitrate})/Fragments(video={start time})">
<QualityLevel
Index="0"
Bitrate="2800000"
FourCC="WVC1"
MaxWidth="1080"
MaxHeight="720"
CodecPrivateData="250000010FD3FE21B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="1"
Bitrate="2000000"
FourCC="WVC1"
MaxWidth="1080"
MaxHeight="720"
CodecPrivateData="250000010FD3FE21B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="2"
Bitrate="1700000"
FourCC="WVC1"
MaxWidth="720"
MaxHeight="480"
CodecPrivateData="250000010FD3F421B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="3"
Bitrate="1400000"
FourCC="WVC1"
MaxWidth="720"
MaxHeight="480"
CodecPrivateData="250000010FD3EA21B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="4"
Bitrate="1150000"
FourCC="WVC1"
MaxWidth="720"
MaxHeight="480"
CodecPrivateData="250000010FD3E221B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="5"
Bitrate="900000"
FourCC="WVC1"
MaxWidth="540"
MaxHeight="360"
CodecPrivateData="250000010FD3DC21B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="6"
Bitrate="660000"
FourCC="WVC1"
MaxWidth="540"
MaxHeight="360"
CodecPrivateData="250000010FD3D421B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="7"
Bitrate="440000"
FourCC="WVC1"
MaxWidth="360"
MaxHeight="240"
CodecPrivateData="250000010FD3CC21B1678A21B886F1C0F1080000010E5A0040" />
<QualityLevel
Index="8"
Bitrate="230000"
FourCC="WVC1"
MaxWidth="272"
MaxHeight="180"
CodecPrivateData="250000010FD3C621B1678A21B886F1C0F1080000010E5A0040" />
<c
d="19880000">
<f
i="0"
s="609"
q="3154" />
<f
i="1"
s="439"
q="2276" />
<f
i="2"
s="382"
q="1979" />
<f
i="3"
s="304"
q="1572" />
<f
i="4"
s="253"
q="1308" />
<f
i="5"
s="197"
q="1022" />
<f
i="6"
s="148"
q="764" />
<f
i="7"
s="105"
q="543" />
<f
i="8"
s="56"
q="288" />
</c>
--------------------
</StreamIndex>
<StreamIndex
Type="audio"
Index="0"
Name="audio"
Chunks="6"
QualityLevels="1"
Url="QualityLevels({bitrate})/Fragments(audio={start time})">
<QualityLevel
FourCC="WMAP"
Bitrate="128000"
SamplingRate="44100"
Channels="2"
BitsPerSample="16"
PacketSize="5945"
AudioTag="354"
CodecPrivateData="1000030000000000000000000000E0000000" />
<c
d="21246258" />
<c
d="19620862" />
<c
d="18924262" />
<c
d="20549660" />
<c
d="21246260" />
<c
d="5277097" />
</StreamIndex>
</SmoothStreamingMedia>
Wildlife.ismc
<SmoothStreamingMedia
MajorVersion="2"
MinorVersion="1"
Duration="300930000">
<StreamIndex Type="video" Name="video" Chunks="16" QualityLevels="9" MaxWidth="1280" MaxHeight="720" DisplayWidth="1280" DisplayHeight="720" Url="QualityLevels({bitrate})/Fragments(video={start time})">
<QualityLevel
Index="0"
Bitrate="2800000"
FourCC="WVC1"
MaxWidth="1280"
MaxHeight="720"
CodecPrivateData="250000010FD3FE27F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="1"
Bitrate="2000000"
FourCC="WVC1"
MaxWidth="1280"
MaxHeight="720"
CodecPrivateData="250000010FD3FE27F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="2"
Bitrate="1700000"
FourCC="WVC1"
MaxWidth="852"
MaxHeight="480"
CodecPrivateData="250000010FD3F427F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="3"
Bitrate="1400000"
FourCC="WVC1"
MaxWidth="852"
MaxHeight="480"
CodecPrivateData="250000010FD3EA27F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="4"
Bitrate="1150000"
FourCC="WVC1"
MaxWidth="852"
MaxHeight="480"
CodecPrivateData="250000010FD3E227F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="5"
Bitrate="900000"
FourCC="WVC1"
MaxWidth="640"
MaxHeight="360"
CodecPrivateData="250000010FD3DC27F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="6"
Bitrate="660000"
FourCC="WVC1"
MaxWidth="640"
MaxHeight="360"
CodecPrivateData="250000010FD3D427F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="7"
Bitrate="440000"
FourCC="WVC1"
MaxWidth="428"
MaxHeight="240"
CodecPrivateData="250000010FD3CC27F1678A27F89FF180C8800000010E5A0040" />
<QualityLevel
Index="8"
Bitrate="230000"
FourCC="WVC1"
MaxWidth="320"
MaxHeight="180"
CodecPrivateData="250000010FD3C627F1678A27F89FF180C8800000010E5A0040" />
<c
d="20020000">
<f
i="0"
s="773"
q="1046" />
<f
i="1"
s="564"
q="764" />
<f
i="2"
s="479"
q="649" />
<f
i="3"
s="418"
q="566" />
<f
i="4"
s="360"
q="487" />
<f
i="5"
s="259"
q="350" />
<f
i="6"
s="176"
q="238" />
<f
i="7"
s="110"
q="148" />
<f
i="8"
s="56"
q="76" />
</c>
-----------------
</StreamIndex>
<StreamIndex Type="audio" Index="0" Name="audio" Chunks="15" QualityLevels="1" Url="QualityLevels({bitrate})/Fragments(audio={start time})">
<QualityLevel FourCC="WMAP" Bitrate="128000" SamplingRate="44100" Channels="2" BitsPerSample="16" PacketSize="5945" AudioTag="354" CodecPrivateData="1000030000000000000000000000E0000000" />
<c d="22755555" />
<c d="19388663" />
<c d="21478457" />
<c d="18924263" />
<c d="18024490" />
<c d="22784581" />
<c d="19504762" />
<c d="18750113" />
<c d="21362358" />
<c d="18459865" />
<c d="19156462" />
<c d="21362358" />
<c d="19040363" />
<c d="19853061" />
<c d="20548979" />
</StreamIndex>
</SmoothStreamingMedia>
Many thanks in advance.