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

How to use iView (ABC Australia) downloaders

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

gxdata 01-08-2011 09:48 PM

Re: How to use iView (ABC Australia) downloaders


 
by-gum - re your problems, when was this? If in the last hour or so, then see my previous post.

I'm using Windows downloaders, and none of them currently work with iView despite the iView player/viewer working fine with 10 separate series, approx 30 separate shows. [Edit: 2hrs later than my reply, Viiew Player is working again for me]

by-gum 01-08-2011 09:57 PM

Re: How to use iView (ABC Australia) downloaders


 
gxdata - also happened yesterday - when I first started on this journey. The index still downloads ok as of 15:57 AEST (475 entries)

Yansky 01-08-2011 10:13 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by by-gum (Post 24357)
I am a newbie to this but I have some s/w development experience.

Can anyone help with iView_Downloader_OSX? I run v6.8 which fixes the problem of the ABC Index having moved, but I have also tried v6.7.3 (after updating the index bit) with the same result.

I run a PPC G5 with 10.5.8 and took the precaution of building rtmpdump using Macports.

The error is shown below.
Is the fact that the host and token are blank/empty significant?

---------------------------------------------------------
Select a number to add a show to download list, 'a' adds all,
0 adds nothing, and 's' allows you to search this list:
377


Please Select an Option
1. Add another show to the download list
2. View the download list
3. Clear the download list
4. Download the list (Always attempts to retry)
5. Convert all files in download list
6. Exit
4
Number of downloads 1
Ok, you will be requesting mp4:deep_10_01_02
and saving the stream with the filename deep_10_01_02.mp4
Retrieving Token...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 192 100 192 0 0 1081 0 --:--:-- --:--:-- --:--:-- 0
from ABC iView servers on
using the auth
Running Hostworks...
RTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Error code 1
Sleeping for 5s
Ok, you will be requesting deep_10_01_02
and saving the stream with the filename deep_10_01_02.flv
Retrieving Token...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 192 100 192 0 0 911 0 --:--:-- --:--:-- --:--:-- 0
from ABC iView servers on
using the auth
Running Hostworks...
RTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Error code 1
Sleeping for 5s
etc ...
--------------------------------------------------------

Note:
I am trying this because I can't get the iViewfox addon in Firefox to work - any ideas there?

On line 20 of the .command file change the params to:
Code:


SWFPARAMS='-w 96cc76f1d5385fb5cda6e2ce5c73323a399043d0bb6c687edd807e5c73c42b37 -x 2122 -V'

That will enable "Verbose command output".

More info: http://rtmpdump.mplayerhq.hu/rtmpdump.1.html

I remember that I had problems getting rtmpdump working on pre 10.6 OSX systems because of issues with Open SSL. I would hazard a guess that that is causing the authentication/token issues.

by-gum 01-08-2011 10:49 PM

Re: How to use iView (ABC Australia) downloaders


 
Thanks Yansky for your quick reply.

Number of downloads 1
Ok, you will be requesting mp4:deep_10_01_02
and saving the stream with the filename deep_10_01_02.mp4
Retrieving Token...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 192 100 192 0 0 1002 0 --:--:-- --:--:-- --:--:-- 0
from ABC iView servers on
using the auth
Running Hostworks...
RTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : 203.18.195.10
DEBUG: Port : 1935
DEBUG: Playpath : mp4:deep_10_01_02
DEBUG: tcUrl : rtmp://203.18.195.10:1935/ondemand?auth=
DEBUG: swfUrl : (null)
DEBUG: pageUrl : (null)
DEBUG: app : ondemand?auth=
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : LNX 10,0,22,87
DEBUG: live : no
DEBUG: timeout : 120 sec
DEBUG: SWFSHA256:
96 CC 76 F1 D5 38 5F B5 CD A6 E2 CE 5C 73 32 3A 39 90 43 D0 BB 6C 68 7E DD 80 7E 5C 73 C4 2B 37
DEBUG: SWFSize : 2122
DEBUG: Failed to get last keyframe.
DEBUG: Closing connection.

Error code 1
Sleeping for 5s

Anywho 01-09-2011 04:58 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by by-gum (Post 24362)
DEBUG: Failed to get last keyframe.
DEBUG: Closing connection.

Delete your old "deep_10_01_02.mp4" file and try again. It's likely to be 0 bytes in size. RTMPDump cannot resume a file that is 0 bytes in length (no info for it).

by-gum 01-09-2011 05:14 AM

Re: How to use iView (ABC Australia) downloaders


 
Anywho - Thanks -tried it and the error report is different:
(failed to connect socket)
-----------------------------
Number of downloads 1
Ok, you will be requesting mp4:deep_10_01_02
and saving the stream with the filename deep_10_01_02.mp4
Retrieving Token...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 192 100 192 0 0 540 0 --:--:-- --:--:-- --:--:-- 0
from ABC iView servers on
using the auth
Running Hostworks...
RTMPDump v2.2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMP
DEBUG: Hostname : 203.18.195.10
DEBUG: Port : 1935
DEBUG: Playpath : mp4:deep_10_01_02
DEBUG: tcUrl : rtmp://203.18.195.10:1935/ondemand?auth=
DEBUG: swfUrl : (null)
DEBUG: pageUrl : (null)
DEBUG: app : ondemand?auth=
DEBUG: auth : (null)
DEBUG: subscribepath : (null)
DEBUG: flashVer : LNX 10,0,22,87
DEBUG: live : no
DEBUG: timeout : 120 sec
DEBUG: SWFSHA256:
96 CC 76 F1 D5 38 5F B5 CD A6 E2 CE 5C 73 32 3A 39 90 43 D0 BB 6C 68 7E DD 80 7E 5C 73 C4 2B 37
DEBUG: SWFSize : 2122
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 60 (Operation timed out)
DEBUG: Closing connection.

Error code 1
Sleeping for 5s
-------------------------------

Anywho 01-09-2011 05:27 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by by-gum (Post 24374)
Anywho - Thanks -tried it and the error report is different:
(failed to connect socket)
-----------------------------
DEBUG: tcUrl : rtmp://203.18.195.10:1935/ondemand?auth=

The "iView_Downloader_OSX" is not putting the "auth" code in for some reason (a bug perhaps?). :(

Anywho 01-09-2011 05:36 AM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by Anywho (Post 24375)
The "iView_Downloader_OSX" is not putting the "auth" code in for some reason (a bug perhaps?). :(

Yep. I've just had a look at the source code for "iView_Downloader_OSX"... Yes, it's a bug. It's looking in the wrong place for the "auth" token. It needs to be changed so that it's looking for it here:

http://tviview.abc.net.au/iview/auth/?v2

by-gum 01-09-2011 02:25 PM

Re: How to use iView (ABC Australia) downloaders


 
Anywho - progress! We seem to retrieve some data and then:

---------------------------------
....
DEBUG: RTMP_ClientPacket, received: invoke 92197 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 239 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetStream.Play.StreamNotFound>
DEBUG: Property: <Name: description, STRING: Failed to play /flash/playback/_definst_/deep_10_01_02; stream not found.>
DEBUG: Property: <Name: details, STRING: /flash/playback/_definst_/deep_10_01_02>
DEBUG: Property: <Name: clientid, STRING: V5ugVnsT>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Play.StreamNotFound
ERROR: Closing connection: NetStream.Play.StreamNotFound
DEBUG: Closing connection.

Error code 1

Anywho 01-09-2011 02:55 PM

Re: How to use iView (ABC Australia) downloaders


 
Quote:

Originally Posted by by-gum (Post 24382)
Anywho - progress! We seem to retrieve some data and then:

That time it looked like you were getting it from the Akamai server (usually metered downloads). Your previous attempts were from the Hostworks server (usually un-metered downloads). Anyway, this showed another bug in the script. You'll need to change the line:

Code:

"$CURDIR"/"$FLVSTREAMER" --resume -r rtmp://cp53909.edgefcs.net////flash/playback/_definst_/$SHOWPATH -t rtmp://cp53909.edgefcs.net/ondemand?auth=$TOKEN -o "$CURDIR"/"$FILENAME" $SWFPARAMS
to
Code:

"$CURDIR"/"$FLVSTREAMER" --resume -r rtmp://cp53909.edgefcs.net////flash/playback/_definst_/$SHOWPATH -a ondemand?auth=$TOKEN -o "$CURDIR"/"$FILENAME" $SWFPARAMS
The one for Hostworks will need to be changed from:
Code:

"$CURDIR"/"$FLVSTREAMER" --resume -r rtmp://203.18.195.10/ondemand?auth=$TOKEN -y $SHOWPATH -o "$CURDIR"/"$FILENAME" $SWFPARAMS
to
Code:

"$CURDIR"/"$FLVSTREAMER" --resume -r rtmp://203.18.195.10/ -a ondemand?auth=$TOKEN -y $SHOWPATH -o "$CURDIR"/"$FILENAME" $SWFPARAMS
They're the differences I can see so far between the OSX script and the Windows script.


All times are GMT -6. The time now is 06:38 PM.