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

Download from iprima

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

killerman 02-17-2012 03:34 PM

Download from iprima


 
Hello, can anyone help me wtih dump this stream?

i need using with rtmpdump not with rtmpsuck

'rtmp://bcastnw.livebox.cz:80/iprima_token_1?auth=_any_|1329519593|a654987c32132 1e321654d65432c16f321321811/mp4:Prima-1202110001-17158_1000.mp4

in smplayer it will be play, but i cant dump it with rtmpdump to file

Bahman 02-17-2012 04:28 PM

Re: Download from iprima


 
Try IDM!! It's able to download from that site!!

Anyway, KSV, why rtmpdump gave this error:
ERROR: rtmp server requested close

Would be great if you fix it!!

KSV 02-17-2012 11:15 PM

Re: Download from iprima


 
Quote:

Originally Posted by Bahman (Post 40419)
Try IDM!! It's able to download from that site!!

Anyway, KSV, why rtmpdump gave this error:
ERROR: rtmp server requested close

Would be great if you fix it!!

just use the proper command line.
Code:

rtmpdump -r "rtmp://bcastnw.livebox.cz:80/iprima_token_1?auth=_any_|1329551504|69407aabfb6f17faf7689597d9488fd32fe9ffae" -W "http://embed.livebox.cz/iprima/player-embed.swf" -p "http://www.iprima.cz/videoarchiv/228577/all/all" -y "mp4:Prima-1202180000-17213_500.mp4" -v -o Test.flv
Code:

RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: trackinfo:
INFO:  timescale            90000.00
INFO:  length                2703595.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  timescale            22050.00
INFO:  length                662528.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            mp4a
INFO:  audiochannels        2.00
INFO:  audiosamplerate      22050.00
INFO:  videoframerate        25.00
INFO:  aacaot                2.00
INFO:  avclevel              30.00
INFO:  avcprofile            77.00
INFO:  audiocodecid          mp4a
INFO:  videocodecid          avc1
INFO:  width                910.00
INFO:  height                576.00
INFO:  frameWidth            640.00
INFO:  frameHeight          576.00
INFO:  displayWidth          910.00
INFO:  displayHeight        576.00
INFO:  framerate            90000.00
INFO:  moovposition          93079.00
INFO:  duration              30.05
116.899 kB / 30.00 sec (99.8%)

this will get you the geo restricted message video. you need to access the rtmp server from non geo restricted ip to get the actual video.

killerman 02-18-2012 06:09 AM

Re: Download from iprima


 
Hi KSV, i am at geo where is able to play but i have still error when trying to capture the file.
Code:

C:\Users\Pavel\Downloads\rtmpdump-2.4>rtmpdump -r "rtmp://bcastnw.livebox.cz:80/
iprima_token_1?auth=_any_|1329551504|69407aabfb6f17faf7689597d9488fd32fe9ffae" -
W "http://embed.livebox.cz/iprima/player-embed.swf" -p "http://www.iprima.cz/vid
eoarchiv/228577/all/all" -y "mp4:Prima-1202180000-17213_500.mp4" -v -o Test.flv
RTMPDump v2.4 GIT-2011-11-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server requested close


KSV 02-19-2012 05:39 AM

Re: Download from iprima


 
your auth parameter is probably expired. grab the fresh one and try again. also use the -V switch to display debug output.

killerman 02-19-2012 06:12 AM

Re: Download from iprima


 
I dont think that expire, in SMPLAYER still was be playable, something must be wrong with parametrs for rtmpdump, if you have any other idea write me please, thx so much

KSV 02-19-2012 06:33 AM

Re: Download from iprima


 
command posted in post 3 is perfectly working. just change the the playpath of your actual video and fresh auth param in following command line and it will work properly. i was able to grab actual video after using the socks proxy with rtmpdump.

Code:

rtmpdump -r "rtmp://bcastnw.livebox.cz:80/iprima_token_1?auth=_any_|1329663171|18ec973b78c46ea935dfde17d669735b81bae5f5" -W "http://embed.livebox.cz/iprima/player-embed.swf" -p "http://www.iprima.cz/videoarchiv/228577/all/all" -y "mp4:Prima-1202180000-17213_1000.mp4" -v -o Test.flv
Code:

RTMPDump v2.4 GIT-2011-12-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO: trackinfo:
INFO:  timescale            44100.00
INFO:  length                205295616.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            mp4a
INFO:  timescale            25000.00
INFO:  length                116380000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  audiochannels        2.00
INFO:  audiosamplerate      44100.00
INFO:  videoframerate        24.06
INFO:  aacaot                2.00
INFO:  avclevel              31.00
INFO:  avcprofile            77.00
INFO:  audiocodecid          mp4a
INFO:  videocodecid          avc1
INFO:  width                768.00
INFO:  height                576.00
INFO:  frameWidth            768.00
INFO:  frameHeight          576.00
INFO:  displayWidth          768.00
INFO:  displayHeight        576.00
INFO:  framerate            25.00
INFO:  moovposition          32.00
INFO:  duration              4655.23
1911.698 kB / 14.00 sec (0.3%)


killerman 03-12-2012 02:33 PM

Re: Download from iprima


 
KSV you are big guy at this problematic, can you give me some small help how can i take this fresh aut key with php script?

KSV 03-13-2012 12:44 AM

Re: Download from iprima


 
it's pretty easy. make following http request to the server.
Code:

http://embed.livebox.cz/iprima/player-embed.js?__tok706919090__=681090310
highlighted numbers can be anything random. set the referrer for above request to
Code:

http://www.iprima.cz
it will return a javascript which contains rtmp address and token. playpath is embedded directly in video page.

sample JS:
Code:

http://pastebin.com/ZR2sx6Uh
sample playpath:
Code:

          var embed_hereb32595d91ab534126210c280bb42bb6c = {
          'dom_id':'embed_hereb32595d91ab534126210c280bb42bb6c',
          'width': width,
          'height':height,
          'hq_id':'Prima-1203122002-15579_1000.mp4',
          'lq_id': 'Prima-1203122002-15579_500.mp4',
          'iph_id':'Prima-1203122002-15579.smil',
          'section':'zpravy',
          'thumbnail': 'Prima-1203122002-15579_1500_Thumb.jpg',
          'zoneGEO': 0,
          'st_date':'2012-03-12T19:00:00',
          'name': 'VIP zpr??vy  12.3.2012',
          'autoplay': false,
          'topcat': 'topcat',
          'player': 'player',
          'online': 'online',
          'relevant': 'relevant',
          'new': 'new',
          'top': 'top',
          'url': 'url',
          'channel': window.channel,
          'like': 50,
          'unlike': 50
          };


killerman 03-13-2012 02:21 AM

Re: Download from iprima


 
many thanks again, can i repay to you somehow


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