View Single Post
  #6  
Old 02-05-2012, 10:11 AM
Bahman Bahman is offline
t.A.T.u.'s fan forever
 
Join Date: Sep 2011
Location: Tehran, Iran
Posts: 381
Bahman is on a distinguished road
Default

Re: Rai.tv - how capture streaming and download video on demand


Open the Manifest url:
http://smoothreplay.rai.it/ReplayTV/...e.ism/Manifest
Code:
<?xml version="1.0" ?> 
- <SmoothStreamingMedia MajorVersion="2" MinorVersion="0" Duration="35980000000" TimeScale="10000000">
- <StreamIndex Type="video" SubType="" Chunks="1800" TimeScale="10000000" Url="QualityLevels({bitrate})/Fragments(video={start time})">
  <QualityLevel Index="0" Bitrate="1500000" CodecPrivateData="00000001674d401f965605a1afcf80a040000003004000000cb888002dc60000b7187f18e0ed0a15700000000168eacd48" FourCC="AVC1" MaxWidth="720" MaxHeight="404" /> 
  <QualityLevel Index="1" Bitrate="1000000" CodecPrivateData="00000001674d401f965605a1afcf80a040000003004000000cb888007a100007a107f18e0ed0a1570000000168eacd48" FourCC="AVC1" MaxWidth="720" MaxHeight="404" /> 
  <QualityLevel Index="2" Bitrate="900000" CodecPrivateData="000000016742801e965605017fcb80a040000003004000000cb888006ddc000dbb1fc6383b42855c0000000168ca8d48" FourCC="AVC1" MaxWidth="640" MaxHeight="360" /> 
  <QualityLevel Index="3" Bitrate="630000" CodecPrivateData="000000016742801e965605017fcb80a040000003004000000cb888004ce400099c1fc6383b42855c0000000168ca8d48" FourCC="AVC1" MaxWidth="640" MaxHeight="360" /> 
  <QualityLevel Index="4" Bitrate="450000" CodecPrivateData="000000016742801e965605017fcb80a040000003004000000cb88800dbb0006dd1fc6383b42855c00000000168ca8d48" FourCC="AVC1" MaxWidth="640" MaxHeight="360" /> 
  <QualityLevel Index="5" Bitrate="200000" CodecPrivateData="000000016742801e965605017fcb80a040000003004000000cb888018680030d1fc6383b42855c0000000168ca8d48" FourCC="AVC1" MaxWidth="640" MaxHeight="360" /> 
  <c t="2951018660000" /> 
  <c t="2951038660000" /> 
  <c t="2951058660000" /> 
  <c t="2951078660000" /> 
  <c t="2951098660000" /> 
  <c t="2951118660000" /> 
  <c t="2951138660000" /> 
  <c t="2951158660000" /> 
  <c t="2951178660000" /> 
  <c t="2951198660000" /> 
  <c t="2951218660000" /> 
  <c t="2951238660000" /> 
  <c t="2951258660000" /> 
.
.
.
StreamIndex Type="audio" Name="audio" SubType="" Chunks="1795" TimeScale="10000000" Url="QualityLevels({bitrate},{CustomAttributes})/Fragments(audio={start time})">
- <QualityLevel Index="0" Bitrate="64000" CodecPrivateData="" FourCC="AACL" AudioTag="255" Channels="2" SamplingRate="48000" BitsPerSample="16" PacketSize="1">
- <CustomAttributes>
  <Attribute Name="systemLanguage" Value="ita" /> 
  </CustomAttributes>
  </QualityLevel>
  <c t="2951034873333" /> 
  <c t="2951054926666" /> 
  <c t="2951074980000" /> 
  <c t="2951095033333" /> 
  <c t="2951115086666" /> 
  <c t="2951135140000" /> 
  <c t="2951155193333" /> 
.
..
.
Download each chunks by this pattern url for videos:
1st chunk:
Code:
http://smoothreplay.rai.it/ReplayTV/replaytv_raidue-isml/2012-01-25-18-57-49-783/Segment063/replaytv_raidue.ism/QualityLevels(1500000)/Fragments(video=2951018660000)
2nd chunk:
Code:
http://smoothreplay.rai.it/ReplayTV/replaytv_raidue-isml/2012-01-25-18-57-49-783/Segment063/replaytv_raidue.ism/QualityLevels(1500000)/Fragments(video=2951038660000)
for audios:
Code:
http://smoothreplay.rai.it/ReplayTV/replaytv_raidue-isml/2012-01-25-18-57-49-783/Segment063/replaytv_raidue.ism/QualityLevels(64000)/Fragments(audio=2951034873333)
and so on for other chunks!!

Then open them with Microsoft Expression Encoder 4 Pro and convert them!! after convert, merge them!! but first ensure that you have pro version with codecs!!

I know it's annoying to download 1800 video chunks and 1795 audio chunks, but you don't have any other way!!

Last edited by Bahman : 02-05-2012 at 10:54 AM.
Reply With Quote