Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #41  
Old 07-15-2010, 07:02 PM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by randybull View Post
Does anyone have a pointer to a newer version of SBS_downloader_1.2.bat ? ... I cant find the SBS wiki or thred on whirlpool anymore.
Links are in the iView wiki...

http://iviewdownloaders.wikia.com/wi...wnloaders_Wiki
Reply With Quote
  #42  
Old 07-16-2010, 02:04 AM
blood.eaglz blood.eaglz is offline
Member
 
Join Date: Jul 2010
Posts: 75
blood.eaglz is on a distinguished road
Smile

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by mce View Post
New versions of iViewNapper and iViewNapperLite can be found on the webpages.
Thanks MCE working for me (ie when ABC is working and/or the file is not experiencing technical difficulties), the bat file does the job, but I did miss the GUI.
Reply With Quote
  #43  
Old 07-16-2010, 07:47 PM
tilt tilt is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
tilt is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Back in the old whirlpool thread there was a message about trimming the file by cutting of 12K off the end or something. What program did people do this with?

I too am finding that rtmpdump version 2.2b can continue a download that it self aborted, but the newer versions stuff up the timecoding. But if I cancel it, it has a good chance of not continuing.
Reply With Quote
  #44  
Old 07-16-2010, 08:03 PM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by tilt View Post
Back in the old whirlpool thread there was a message about trimming the file by cutting of 12K off the end or something. What program did people do this with?

I too am finding that rtmpdump version 2.2b can continue a download that it self aborted, but the newer versions stuff up the timecoding. But if I cancel it, it has a good chance of not continuing.
Check the backups of the whirlpool threads: http://iviewdownloaders.wikia.com/wi...s_Wiki#History
Reply With Quote
  #45  
Old 07-16-2010, 10:03 PM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by tilt View Post
Back in the old whirlpool thread there was a message about trimming the file by cutting of 12K off the end or something. What program did people do this with?
frhed (a hex-editor) is an easy program to use for binary file editing.

Quote:
I too am finding that rtmpdump version 2.2b can continue a download that it self aborted, but the newer versions stuff up the timecoding. But if I cancel it, it has a good chance of not continuing.
Sounds like there might be an issue that has crept in between rtmpdump2.2b(r426) and 2.2d(r474). I think that's when we changed from using OpenSSL to PolarSSL*

*I'm not saying that's the problem, just a reference in time.
Reply With Quote
  #46  
Old 07-16-2010, 10:23 PM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by randybull View Post
Sorry for the sploge of code here but Im sure you will see what it does ...

if /i "%HOST%" == "Akamai" (
echo bin\rtmpdump.exe %RESUME% %RTMP_DEBUG% -r "rtmp://cp53909.edgefcs.net///flash/playback/_definst_/%SHOW_PATH%" -a ondemand?auth="%TOKEN%" -o "%SAVE_PATH%" %SWFPARAM% > "%NNN%%".bat
echo pause >> "%NNN%%".bat
D:\bin\IviewABC\ANapperiView\iView_Downloader\sync .exe -r D:
echo start %NNN%.bat %SHOW_PATH% %SAVE_PATH%
rem pause
call "cmd /c start D:\bin\IviewABC\ANapperiView\iView_Downloader\%NNN %.bat"
SET /a NNN+=1
)

Sync program courtesy of http://technet.microsoft.com/en-us/s.../bb897438.aspx
I would suggest adding the code from the Windows Batch File Downloader that gets the authentication token. echo this to your generated batch script at a point before rtmpdump gets called.

Code:
bin\wget %WGET_OPT% -O cache\auth.xml http://www2b.abc.net.au/iViewHandshaker/services/iviewhandshaker.asmx/isp

rem === reformatting auth.xml to remove namespace which hinders xml.exe to parse the elements we need
echo ^<iview^>>cache\auth_temp.xml
for /f "skip=2 tokens=*" %%a in ('type cache\auth.xml') do echo %%a>>cache\auth_temp.xml
move /y "cache\auth_temp.xml" "cache\auth.xml" >nul
rem === end reformat

if /i "%HOST%" == "Akamai" (
    for /f "usebackq tokens=*" %%a in (`bin\xml sel -T -t -m "/iview" -v token "cache\auth.xml"`) do set TOKEN=%%a
) else (
    for /f "usebackq" %%a in (`bin\xml sel -T -t -m "/iview" -v token "cache\auth.xml"`) do set TOKEN=%%a
)

del cache\auth.xml
This would then allow you to execute the batch file generated at a later time because then the authentication token is generated just before calling rtmpdump (just like in the Windows Batch-File Downloader)

Last edited by Anywho : 07-16-2010 at 10:26 PM. Reason: Forgot stuff
Reply With Quote
  #47  
Old 07-17-2010, 04:40 AM
tilt tilt is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
tilt is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
frhed (a hex-editor) is an easy program to use for binary file editing.
Thanks that worked, although it loaded the whole file into memory!
Reply With Quote
  #48  
Old 07-17-2010, 09:10 AM
randybull randybull is offline
I like to IView
 
Join Date: Aug 2009
Posts: 9
randybull is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
I would suggest adding the code from the Windows Batch File Downloader that gets the authentication token. echo this to your generated batch script at a point before rtmpdump gets called.
An excellent idea Anywho, i can save it in a seperate file then cat it instream. I will of course stick something in place to serialise or make unique the cache\auth.xml file so that it doesnt get confused.
Reply With Quote
  #49  
Old 07-18-2010, 07:43 PM
spr spr is offline
Junior Member
 
Join Date: Jul 2010
Posts: 2
spr is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Hi everyone,

Great work on the batch file.

I'm having a problem though - it keeps saying the files are not available, trying a different path.
on v15.69 I couldn't get the token, 15.70 does, but can't find any shows. I'm not fussed if I download metered or not. Am using TPG at home on Vista.
Vista or XP work PCs have have a an error with cache\auth.xml premature end of data in tag iview line 1, so don't even get to the programs list.

download.log details below:

The show "Four Corners 05/07/10" was not found on the server.
Downloading "Four Corners 12/07/10" ...
and saving the stream with the filename "Four Corners 12-07-10.flv"
Downloading from Akamai server...
Retrieving Token...
Resuming previous download for "Four Corners 12/07/10"...
news/fourcorners_100712 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "Four Corners 12/07/10"...
mp4:news/fourcorners_100712 path not found. Retrying a different path..
Reply With Quote
  #50  
Old 07-18-2010, 07:53 PM
servalan servalan is offline
Batch File Fangirl
 
Join Date: Jul 2010
Posts: 18
servalan is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by spr View Post
I'm having a problem though - it keeps saying the files are not available, trying a different path.
Another buglet which I posted about back at that other place which has slipped through the cracks...

I have found that I need to delete the contents of the cache directory before starting the batch file. The old show lists don't seem to get cleaned up properly between batch file runs.

Does this fix the problem for you, too?
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:18 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons