Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

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

(http://stream-recorder.com/forum/showthread.php?t=10916)

croufrou 02-04-2012 09:23 AM

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


 
Hi, sorry for my bad english,
I would like to capture streaming channels
and video on domand on www.rai.tv

I tried using Replay Media Catcher (4.3.2) to download a video on domand, with duration: 5 minutes
Replay Media Catcher starts to download a file called Rai Replay.mkv with duration 59 minutes .... ???
cancell the download, and opening the files created ... is only audio, but not of that video .... ???

these are the details of Replay Media Catcher


Registrazione di http://smoothreplay.rai.it/ReplayTV/...e.ism/Manifest
File scaricato: Rai Replay.mkv
Iniziato il: 04/02/2012 17.07
Queued for downloading
Inizio il download di Smooth Streaming ...
Rilevazione nome file ...
Applying Browser Title Naming Rule
Rilevazione nome file completata
Download
Parsing Manifest
Selecting lowest video quality
Selecting lowest audio quality
Audio bitrate = 64000
Video bitrate = 200000
Downloading (SMOOTH) - 82 KB (00:00:00 / 00:59:58)
Downloading (SMOOTH) - 98 KB (00:00:01 / 00:59:58)
Downloading (SMOOTH) - 166 KB (00:00:02 / 00:59:58)
Downloading (SMOOTH) - 182 KB (00:00:03 / 00:59:58)
Downloading (SMOOTH) - 235 KB (00:00:04 / 00:59:58)
Downloading (SMOOTH) - 251 KB (00:00:05 / 00:59:58)
ecc ecc



help?

Bahman 02-04-2012 11:06 AM

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


 
I would want to say, using ISM Downloader!! It's made for downloading Microsoft Smooth Streams!! but unfortunately It doesn't support AVC1 codec!! Your vid use that codec:
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" />

The only things that I have seen before in this forum, RMC 4.0.7 seems to work!!

croufrou 02-04-2012 01:46 PM

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


 
with RMC 4.0.7 work ???
and with RMC 4.3.2 not work ????

strange :confused:

I do not find the 4.0.7 :mad: :mad: :mad:

Bahman 02-04-2012 01:57 PM

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


 
In the past, I have read (someone said) RMC 4.0.7 could download and downloaded file is OK!! Try 4.0.8!! Not so different!!

and don't be surprised!! for example, StreamTransport 2041 works too much better than 2071!! ;)

But Look, because the stream uses specific video codec, I don't think RMC 4.0.7 can does the trick too!! Sorry!!:(
Try to contact "Applian" for this issue!!:)

Edit:
There is a way!! ;)
Try to find on the internet (if you prefer to don't buy :D), "Microsoft Expression Encoder 4 Pro (with codecs)" (view This, I mean 4th column)!! You can input AVC1 video and then convert it to anything that you want, easy!! I'm sure you can!!;)
"Input video" is, "chunks"!! Download them with this pattern:
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)

croufrou 02-05-2012 09:57 AM

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


 
I have found Microsoft Expression Encoder 4 Pro.
But what i've to do

i would capture this video: http://www.rai.tv/dl/replaytv/replay...012-02-04&vc=2

how?

Bahman 02-05-2012 10:11 AM

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!!

croufrou 02-08-2012 04:09 PM

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


 
thanks!!
it's a hard work....hope to find a solutione....soon or later

niente 06-13-2013 04:14 PM

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


 
Hello, for the smooth streaming in AVC1, you can try this modded version: http://md5decrypt.altervista.org/ismdownloaderavc1.htm

It works pretty well!!! :)

chap 06-13-2013 04:57 PM

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


 
Quote:

Originally Posted by niente (Post 62517)
Hello, for the smooth streaming in AVC1, you can try this modded version: http://md5decrypt.altervista.org/ismdownloaderavc1.htm

It works pretty well!!! :)

thanks;)

ricsip 05-10-2014 04:38 AM

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


 
Quote:

Originally Posted by niente (Post 62517)
Hello, for the smooth streaming in AVC1, you can try this modded version: http://md5decrypt.altervista.org/ismdownloaderavc1.htm

It works pretty well!!! :)

Just for everyone's benefit, there are a couple of undocumented commandline switches for this utility (be able to use proxy, specify cookie etc.) but the most important (at least for me) is the ability to specify which quality level I want to download (if there are multiple ones in the manifest, which is actually like most of the case), so not to waste bandwidth and disk storage with 1080p quality videos, if its possible to download the 720p version instead.

In the commandline you can specifiy "-quality lowest" (without quotes of course) and it will download the lowest quality available.

Also you can specify "-quality all", and it will download all possible fragments (didnt test this, but the program can be reverse engineered using .NET reflector).

Spread the word, as there is no known documentation or at least a list of commandline switches for this utlity.
Happy downloading!


All times are GMT -6. The time now is 09:28 AM.