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
  #481  
Old 03-12-2011, 12:35 AM
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 gxdata View Post
The blog post from Rick Strahl indicates the same, I think. But I am using WebClient() in .NET and don't see similar switches. The stream that I read is UTF-8 encoded, and gzip.exe / ungzip.exe doesn't recognize its format. I'm having a mental block atm.
What about this: http://msdn.microsoft.com/en-us/libr...=vs.80%29.aspx
Reply With Quote
  #482  
Old 03-12-2011, 12:45 AM
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


Slightly OT, but check this out - http://forums.whirlpool.net.au/forum....cfm?t=1656227

I have to pay now to get the gcc compiler for OSX.
Reply With Quote
  #483  
Old 03-12-2011, 12:50 AM
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 gxdata View Post
They seem to be switching from GZ to text mode quite often, so the test for the "[{" characters will be needed at each new catalog fetch. I'm not sure what they are doing with the Series JSON files.
With the batch file downloader, I've been using:

Code:
wget --accept "text/html;level=1" -O index.json http://tviview.abc.net.au/iview/api2/?seriesIndex
This seems to work at forcing their server to spit back the text only. (wget allows you to mess with the headers if you need to )
Reply With Quote
  #484  
Old 03-12-2011, 12:52 AM
mce mce is offline
Senior Membrane
 
Join Date: Jul 2010
Posts: 116
mce is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


I've had the switching during my development too.

At one point there, 3 out of 5 requests were gzip the others plain.
Reply With Quote
  #485  
Old 03-12-2011, 12:55 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Yansky View Post
haha - I was about to amend my last post, having just read this -

Quote:
A WebClient instance does not send optional HTTP headers by default. If your request requires an optional header, you must add the header to the Headers collection.
- and a link to a similar page.

Thanks for that!
Reply With Quote
  #486  
Old 03-12-2011, 01:00 AM
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


Any reason you guys use wget instead of curl ? Nothing against wget, just curious.

(i love curl )
Reply With Quote
  #487  
Old 03-12-2011, 01:25 AM
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 Yansky View Post
Any reason you guys use wget instead of curl ? Nothing against wget, just curious.

(i love curl )
Dunno! It's always been there in the distributable and never really bothered to look at anything else. From memory, I think it was because of the DLL hell - the fluff on the side you needed to get it to work which would cause the package size to blow out. wget is only 159K and doesn't use extra fluff.

I did use it in the SBS_DL_LINUX downloader... Should probably have another look at it - pretty sure it does gzip.

[edit: Looking at a 386KB version right now...]

Last edited by Anywho : 03-12-2011 at 01:34 AM. Reason: It's a Saturday
Reply With Quote
  #488  
Old 03-12-2011, 01:52 AM
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 Yansky View Post
Any reason you guys use wget instead of curl ?
Have tried a "simple" version of it from here. This one doesn't have the SSL fluff on it so it is a fair bit cheaper - but it seems to do the job I think.

Thank you Yansky for the reminder!!!

I'll just pack this up into an archive with the newer RTMPdump and the edited batch file.

Last edited by Anywho : 03-12-2011 at 01:53 AM. Reason: Dunno
Reply With Quote
  #489  
Old 03-12-2011, 02:16 AM
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


Newer version of iView Downloader (batch file version) - v15.82 is here.
  • Updated batch file for latest changes (so far).
  • Newer version of RTMPdump v2.3 (r557) has been included - fixes resuming in some FLV files.

iView_GetSRT has been updated too. You can get it from here.

Updated iView_Later to v1.2. You can get it from here.

(Note that the web page download titles appear to be wrong. The files you download are updated but the page titles haven't filtered to all the servers just yet.)

Last edited by Anywho : 03-12-2011 at 03:11 AM. Reason: More stuff added.
Reply With Quote
  #490  
Old 03-12-2011, 05:34 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
Newer version of iView Downloader (batch file version) - v15.82
  • Updated batch file for latest changes (so far).
  • Newer version of RTMPdump v2.3 (r557) has been included - fixes resuming in some FLV files.
iView_GetSRT has been updated too.
Updated iView_Later to v1.2.
Great stuff!

I have used your ungzip.exe with both gzip-format and 'proper' JSON files: it plays well with text (uncompressed) catalog files - I can save a (text) JSON file as catalog.gz and ungzip.exe catalog.gz catalog.json results in a usable file.
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 12:33 AM.


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