PDA

View Full Version : How to use iView (ABC Australia) downloaders


Pages : 1 [2] 3 4 5 6

vipher
10-19-2010, 03:26 AM
Hi Vipher. Thanks again for your update.
This was the output from the runme_first file when I tried to execute it. I tried to manually change permissions for all of the individual files within the folder, but with no joy.

Thanks again for working on this.

Aeolus

Ok so I had a go on one of the Mac's at uni and I got the same error as you did when I just double clicked on runme_first. I'm not really sure how to fix it. I tried changing the file to something like:
chmod 755 ./rtmpdump_universal

but that didn't work either. However if I opened a terminal, changed to the directory the files were in and ran it from there it worked just fine. The script didn't seem to give me any errors when running however I wasn't able to test it very well since it doesn't seem to be able to access the internet (probably requires proxy settings). I hope that helps you.

mce
10-19-2010, 03:30 AM
Some news that you guys should be aware of.

Brothersoft today sent me an email, that they have included iViewNapper on their site.

This draws unwanted attention and I have emailed them back stating that I didn't give them permission to put up the details of iViewNapper and asked for it to be removed, but I am not expecting this to be done.

So I am changing the website link as from now and the new link will be updated in the wiki, so any bookmarked links will fail.

As I say, the attention is unwanted and I've told them as much.

Aeolus
10-19-2010, 04:16 AM
Ok so I had a go on one of the Mac's at uni and I got the same error as you did when I just double clicked on runme_first. I'm not really sure how to fix it. I tried changing the file to something like:
chmod 755 ./rtmpdump_universal

but that didn't work either. However if I opened a terminal, changed to the directory the files were in and ran it from there it worked just fine. The script didn't seem to give me any errors when running however I wasn't able to test it very well since it doesn't seem to be able to access the internet (probably requires proxy settings). I hope that helps you.

Thanks again Vipher

I ran the following command lines from Terminal after changing the directory as you suggested :

cd iView_Downloader_OSX_V6
##... then proceeded to manually perform the chmod as written in the runme_first script as...
chmod 755 rtmpdump_universal
chmod 755 flvstreamer_universal
chmod 755 ffmpeg
chmod 755 iView_Downloader_OSX_6.8.command
##... all good so far

I then pasted in the iView_Downloader_OSX_V6 script directly into terminal after copying the script from :
cat iView_Downloader_OSX_V6

## ... looks good with the menu options appearing as :
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

## however, when I selected option "1." followed by option "A." the following error messages came up...
rm: /temp/possibleshows.txt: No such file or directory
Downloading Index...
-bash: /temp/index.xml: No such file or directory
-bash: /temp/index.xml: No such file or directory
-bash: /temp/index.xml: No such file or directory
-bash: /temp/index.xml: No such file or directory
-bash: /temp/index.xml: No such file or directory
Reading Index...
cat: /temp/index.xml: No such file or directory
-bash: /temp/series.txt: No such file or directory
cat: /temp/series.txt: No such file or directory
-bash: /temp/temp.txt: No such file or directory
mv: rename /temp/temp.txt to /temp/possibleshows.txt: No such file or directory
cat: /temp/possibleshows.txt: No such file or directory
-bash: /temp/filtered_shows.txt: No such file or directory
cat: /temp/filtered_shows.txt: No such file or directory
Select a number to add a show to download list, 'a' adds all,
0 adds nothing, and 's' allows you to search this list:

Thanks again for your help so far

Aeolus


Aeolus

vipher
10-19-2010, 05:04 AM
## however, when I selected option "1." followed by option "A." the following error messages came up...
rm: /temp/possibleshows.txt: No such file or directory
Downloading Index...
-bash: /temp/index.xml: No such file or directory

<Removed similar error messages>


Looks better. At this point you can probably run it by double clicking on the script, or changing to the directory and running:
> ./iView_Downloader_OSX_6.8.command

If it still gives error messages then there is a likely culprit. I remember this being a problem a while ago for some people. It's around line 25, the line:
TEMPDIR="$CURDIR"/temp

can be changed to:
TEMPDIR=$CURDIR

It makes things a bit messier (puts all the temp files in the current directory) but it seemed to make it work.
EDIT: Removed quotes on script change

Aeolus
10-19-2010, 05:34 AM
Looks better. At this point you can probably run it by double clicking on the script, or changing to the directory and running:
> ./iView_Downloader_OSX_6.8.command

If it still gives error messages then there is a likely culprit. I remember this being a problem a while ago for some people. It's around line 25, the line:
TEMPDIR="$CURDIR"/temp

can be changed to:
TEMPDIR=$CURDIR

It makes things a bit messier (puts all the temp files in the current directory) but it seemed to make it work.
EDIT: Removed quotes on script change

Much obliged Vipher!

It seems that double clicking on the "iView_Downloader_OSX_6.8.command" script after it got "stuck" after directly entering the script into terminal seems to have done the trick regarding accessing the file "possibleshows.txt" for whatever reason without needing to modify the TEMPDIR vector.

Broadband is now seeing iView downloading action....



Aeolus

marinam
10-19-2010, 07:04 PM
Can I get some feedback on how the Nappers (with the recent changes) are going on Akamai servers?


Hi MCE

Akamai seems to be all A OK so far.

I have only recently discovered the forum change (after WP closed the threads :() . Thanks very much to yourself, Anywho and the other coders for continuing this work, it is very much appreciated.

Best regards
Marina M

gxdata
10-20-2010, 12:32 AM
I'm using iViewNapper vLatest, and just noticed 0-byte .SRT files.

I'm not sure if the episodes really do have sub-titles, so I will try getting the SRT files for these with the iViewBatch which Anywho modified for SRT files only, and report back.

[edit]
With the batch downloader v15.80, I downloaded a couple of things that normally have a .SRT (eg, Foreign Correspondent) but no .SRT file was created.
Since the iVN has created both 0-byte and non-zero .SRT files over the last 2 days in my downloads, I'm thinking it's the way the 2 programs handle the CC-file creation.
Does iVN look at the 'Captions' flag and decide to create a file, even though ABC haven't yet got the .SRT file and put it in place? (I'm guessing)
For Evening News 20-10-10, the iView Player shows that captions are available, the letters 'CC' comes up on screen, but (in the 2 or 3 minutes I watched the stream) there isn't actually any real captioning.
Confused...

Anywho
10-20-2010, 03:29 AM
With the batch downloader v15.80, I downloaded a couple of things that normally have a .SRT (eg, Foreign Correspondent) but no .SRT file was created.
Foreign Correspondent 19/10/10 doesn't have captions by the looks. There is a caption file, but it contains nothing (of use). See here (http://www.abc.net.au/iview/captions/news/foreign_101019.xml). 12/10/10 does have a captions file.


For Evening News 20-10-10, the iView Player shows that captions are available, the letters 'CC' comes up on screen, but (in the 2 or 3 minutes I watched the stream) there isn't actually any real captioning.
Confused...
Does 20/10/10 even exist yet? At the time I went to the iView site, the Evening News for 20/10/10 was not there (7:58PM CDST). There is a captions file for 19/10/10 - see here (http://www.abc.net.au/iview/captions/news/evening_101019.xml).

gxdata
10-20-2010, 07:30 AM
Foreign Correspondent 19/10/10 doesn't have captions by the looks. There is a caption file, but it contains nothing (of use). See here (http://www.abc.net.au/iview/captions/news/foreign_101019.xml). 12/10/10 does have a captions file.


Does 20/10/10 even exist yet? At the time I went to the iView site, the Evening News for 20/10/10 was not there (7:58PM CDST). There is a captions file for 19/10/10 - see here (http://www.abc.net.au/iview/captions/news/evening_101019.xml).

Sorry, I should have written Midday Report for 20/10

Am I right in thinking the batch DL doesn't save 0-byte .SRT files, the iVN does?

Thx for the links to the xml files - that makes it clear to me.

Anywho
10-20-2010, 01:51 PM
Am I right in thinking the batch DL doesn't save 0-byte .SRT files, the iVN does?
I'm not sure about iVN, but iVD does a conversion from .XML to .SRT using a program (xml2srt). If there's no input file, then there's no output file to create and therefore no 0-byte file. A 0-byte file can be created if the .XML file exists and it contains at least one usable (format-wise) line - even if that line is empty.

Thx for the links to the xml files - that makes it clear to me.
No probs. You're welcome :D

[edit: I'll have a look at the Midday Report when I get back home (if I'm in time)]

mce
10-20-2010, 05:51 PM
Since the iVN has created both 0-byte and non-zero .SRT files over the last 2 days in my downloads, I'm thinking it's the way the 2 programs handle the CC-file creation.

Does iVN look at the 'Captions' flag and decide to create a file, even though ABC haven't yet got the .SRT file and put it in place? (I'm guessing)


No, iVN looks to see if an XML file exists for that program and attempts to decode it with my own XML-SRT conversion routine.

I'll look into detecting zero byte files, (no SRT data) and not writing them.

gxdata
10-21-2010, 01:49 AM
No, iVN looks to see if an XML file exists for that program and attempts to decode it with my own XML-SRT conversion routine.

I'll look into detecting zero byte files, (no SRT data) and not writing them.

Of course it's not a problem to me, just a curiosity - but thanks.

barywhite
10-22-2010, 11:14 PM
Some news that you guys should be aware of.

Brothersoft today sent me an email, that they have included iViewNapper on their site.

This draws unwanted attention and I have emailed them back stating that I didn't give them permission to put up the details of iViewNapper and asked for it to be removed, but I am not expecting this to be done.

So I am changing the website link as from now and the new link will be updated in the wiki, so any bookmarked links will fail.

As I say, the attention is unwanted and I've told them as much.

Looks like they took it down.

http://www.brothersoft.com/iviewnapper-428109.html

mce
10-23-2010, 08:57 PM
Yep, gone.

They emailed me to tell me that they've removed it so I thanked them.

I hope you guys understand that whoever submitted this to them did the wrong thing and why I wanted it removed.

Hopefully back to normal now.

gxdata
10-23-2010, 09:00 PM
No probs. You're welcome :D


Anywho, could you make a GetSRT.bat for me again?

I have compared the v15.70/v15.80 "full" downloaders and the v15.70 "SRT" downloader, and I see substantial changes.

I'm OK with C# and VB.NET but your sophistication with batch scripting leaves me for dead - very impressive, but it's arcane (almost as boggling as trying to learn F# or any functional language).

gxdata
10-23-2010, 09:04 PM
Yep, gone.

They emailed me to tell me that they've removed it so I thanked them.

I hope you guys understand that whoever submitted this to them did the wrong thing and why I wanted it removed.

Hopefully back to normal now.

Yes, someone was a bit naive* - after the Whirlpool reaction. But no sensitivity about the SBSNapper thread?

* the forum editor can't handle a diaeresis (2dots over the i).

Anywho
10-24-2010, 12:07 AM
Anywho, could you make a GetSRT.bat for me again?
Que?
I have compared the v15.70/v15.80 "full" downloaders and the v15.70 "SRT" downloader, and I see substantial changes.
Que?
I'm OK with C# and VB.NET but your sophistication with batch scripting leaves me for dead - very impressive, but it's arcane (almost as boggling as trying to learn F# or any functional language).
Que? :D

Here tiz (http://www.4shared.com/file/9slUCR8Y/iView_GetSRT.html) :cool:

gxdata
10-24-2010, 12:47 AM
Que?

Que?

Que? :D

Here tiz (http://www.4shared.com/file/9slUCR8Y/iView_GetSRT.html) :cool:

Muchas gracias - eres muy amable!
:D

gxdata
10-25-2010, 05:58 PM
Off-topic, but yesterday I researched the download and capture of (Microsoft) Silverlight streams, and found on this board a couple of threads of interest.

In summary, I downloaded a beta application (.NET) that captures a Hungarian TV soapie (it's hard-coded into the app), which captured the thousands of fragments, then merged them into a MKV file that plays very well on WMP 12 and VLC (with Shark007 Codecs installed on my system).

Silverlight is used on (Australian) Channel 9 - FixPlay - and I was interested in the series The Day of The Triffids (classic sci-fi yarn).

The download speed was horrendously slow - 6 hours for a 43 minute episode. There are capture utilities that can get the Silverlight stream and save as WMV (or other formats) in just the running time, but I'm not sure if the slow download time was related to the server speed and my connection.

Silverlight will degrade the video served according to the conditions (providing the server end created the low-res chunks to stream), so capture may not have been a good option.

That is, if I had played the episode 'live' with or without capture, I may have got a poor-quality viewing (and saved video file) and it may have taken well over the 43 minutes running time, anyway.

I'll locate the FixPlay / Channel 9 thread and post this same info there, and also post some links here for those interested.

I just thought it might be of interest to the community.

gxdata
10-25-2010, 06:42 PM
7.30 Report 25/10/10 - batch downloader to the rescue, by editing of the download_list.xml file

[7.30 Report 25/10/10][news/730report_101025.mp4]

gxdata
10-26-2010, 08:19 PM
New FixPlay thread started here (http://stream-recorder.com/forum/fixplay-channel-9-t7653.html?p=22522)

gxdata
10-28-2010, 03:10 AM
Off-Topic - I have started a new thread on SmoothDRM (http://smoothdrm.com/), a Microsoft media product using Microsoft Silverlight.

This Press Release (http://www.nfagroup.com/pr_ABCAU2010.html) from April 2010 says ABC Australia bought a SmoothDRM license / system.

Question: is this a supplement to iView? I would think so. That is, it's not likely to be a replacement for iView "catch up".

The new thread is here (http://stream-recorder.com/forum/smoothdrm-t7667.html?p=22578).

Anywho
10-28-2010, 04:56 AM
Question: is this a supplement to iView? I would think so. That is, it's not likely to be a replacement for iView "catch up".

Who knows?!? The ABC are about as logical as poo flavoured lollipops.

AFAICT, it's for the HD content. Unless we are actually allowed to download the content, due to the bandwidth required that's going to alienate even more people than what they are now!

On a side note, wait till more of the Linux guys get a whiff of this ;)

SkipRinPerth
10-28-2010, 05:15 PM
I've updated the iView Downloader batch file version. You can grab it from here (http://www.4shared.com/file/750EOTqx/iView_Downloader_v1580.html).
...

Does not seem to work on Win2k, or Win XP v5.2600 (ie no SP) both platforms fail with:
The procedure entry point EncodePointer could not be located in dynamic link library KERNEL32.dll

EP DecodePointer is an issue also picked up as an issue using another tech tool. Applies to build:

json_parser_idx.exe 15/10/2010 18:40:30
json_parser_ser.exe 15/10/2010 18:23:38


Was compilation for these versions different to v15.7 ?

Anywho
10-28-2010, 08:05 PM
Does not seem to work on Win2k, or Win XP v5.2600 (ie no SP) both platforms fail with:

EP DecodePointer is an issue also picked up as an issue using another tech tool. Applies to build:

json_parser_idx.exe 15/10/2010 18:40:30
json_parser_ser.exe 15/10/2010 18:23:38


Was compilation for these versions different to v15.7 ?
Yes. VS2010 was used for compiling these programs. VS2010 doesn't support anything earlier than WinXP-SP2 for desktops and Server 2003-SP1 for servers.

I have switched to Win7-64 from Win7-32 since v15.7 and my former compiling environment (MinGW, Python, etc) got tossed out in the migration.

elfst0ne
10-30-2010, 04:57 AM
Yes. VS2010 was used for compiling these programs. VS2010 doesn't support anything earlier than WinXP-SP2 for desktops and Server 2003-SP1 for servers.


What?!? I ported the original json parser I had to MinGW to avoid those VS dependencies and you put it back. C'mon...
.
.
.
.
.
.
.
.
.
.
.
.
.
.
LOL, just kidding Anywho. How are you guys doing here? I've been out of the scene for awhile now. Are those iView developers still making iView downloader developer's lives difficult and made it worse?

I have a plan for yet another downloader but still have no time to start it. I might ask you to come on-board just in case I start doing it.

Regards,
--elf

Anywho
10-30-2010, 07:06 AM
What?!? I ported the original json parser I had to MinGW to avoid those VS dependencies and you put it back. C'mon...
I did it for the excitement :p Had to ditch your "old" json-parser and fiddle with mine because ABC had another one of them "ideas". Was too much of a waste to install Python and MinGW just for the json-parsers (they use that "scons" make system). Was going to do rtmpdump too (works really well with MSVC seems snappier somehow) but there wasn't any need to update it, so I left it.

LOL, just kidding Anywho. How are you guys doing here? I've been out of the scene for awhile now. Are those iView developers still making iView downloader developer's lives difficult and made it worse?
Yeah. They tried to "optimise" the json by using single letters for the identifiers :rolleyes:

I have a plan for yet another downloader but still have no time to start it. I might ask you to come on-board just in case I start doing it.

Regards,
--elf
Well, hurry up. ABC are sniffing Silverlight and I can just imagine the mess they're going to make of that! :eek:

MickJT
11-02-2010, 02:30 AM
I wouldn't too much. iView will need to be compatible with the PS3, and at the moment, all it is is a website, not an application.

Anywho
11-02-2010, 02:41 AM
all it is is a website, not an application
It's a licensing system (see here (http://www.buydrm.com/)) for encrypting video contents. I'm guessing this is probably more to do with the stuff that is sold at the ABC Shop rather than the iView content itself - but you never know what goes on in there heads, hey?

gxdata
11-02-2010, 05:54 PM
Wed 3Nov2010 - iViewNapper is crashing for me, any program, but the batch downloader is working for them.
Also, several 2Nov2010 prgs are not in the catalog - 7.30 report, australian story, and the national news. By editing the batch downloader's xml file I can get the first two, but I can't find or invent a 'model' for the nightly tv news, so (once again) it's 'lost' to me.

iVN just exits, no error message, on trying to download an episode (eg, a kid's program like Dan the Driver).

mce
11-02-2010, 09:35 PM
Am looking into it now.

Yansky
11-02-2010, 10:52 PM
Even though I'm subscribed to this thread I don't seem to be getting the updates emailed to me. :confused:
(i checked the spam folders in my gmail too)

Anyone else not getting updates?

mce
11-02-2010, 11:12 PM
Anyone else not getting updates?

Sorry mate, no email thingy set up here.

Both iViewNapper and iViewNapperLite have been updated.

o Fix for new AUTH URL.

blood.eaglz
11-02-2010, 11:17 PM
Even though I'm subscribed to this thread I don't seem to be getting the updates emailed to me. :confused:
(i checked the spam folders in my gmail too)

Anyone else not getting updates?

Same here, I know this place has a wierd subscription system in that you have to visit the thread after each notification whilst logged in, or it wont send future updates, yet AFAIK I did that ages ago, I check in today due to iviewnapper closing on fetching the latest QI, and there are 5/6 new pages of posts that I knew nothing about...

EDIT: humph, damn system decided to work again, just got notification of mce's post whilst posting :)

Stream Ripper
11-03-2010, 12:14 AM
Same here, I know this place has a wierd subscription system in that you have to visit the thread after each notification whilst logged in, or it wont send future updates, yet AFAIK I did that ages ago, I check in today due to iviewnapper closing on fetching the latest QI, and there are 5/6 new pages of posts that I knew nothing about...

EDIT: humph, damn system decided to work again, just got notification of mce's post whilst posting :)

Thanks for the update. :)

johnm
11-03-2010, 02:52 AM
Sorry mate, no email thingy set up here.

Both iViewNapper and iViewNapperLite have been updated.

o Fix for new AUTH URL.

FYI
For some time "iViewNapperLite" keeps crashing on shows that are longer than an hour. Just over 300000kB. It varies every time. The error is "ERROR. RTMP_ReadPacket-Failed to read RTMP packet header
INFO Connection timed out, trying to resume."

"iViewNapper" also has an issue at about the same place but seems to restart successfully.

Thank you for all your good work.

Yansky
11-03-2010, 03:13 AM
I've updated iViewFox: https://addons.mozilla.org/en-US/firefox/addon/90505/versions/

BTW, has anyone compiled a version of rtmpdump that works on OSX 10.4? I meant to do this a while back but I forgot. :o

darian
11-03-2010, 04:45 AM
Wed 3Nov2010 - iViewNapper is crashing for me, any program, but the batch downloader is working for them.

Having same problem myself.

Anywho
11-03-2010, 01:53 PM
Having same problem myself.

See post #282 (http://stream-recorder.com/forum/showpost.php?p=22712&postcount=282) of this thread :D

johnm
11-03-2010, 10:19 PM
I posted the comments after updating to the latest version. It has been happening for sometime but not sure when it started thought.
Try downloading some of the long shows and you will see what I mean. There are only a few greater than 300MB at the moment. e.g. 2 x "Pirot"s.

Anywho
11-03-2010, 10:47 PM
I posted the comments after updating to the latest version.
Who are you replying to? Please quote when you reply! :)

gxdata
11-04-2010, 12:03 AM
Both iViewNapper and iViewNapperLite have been updated.

o Fix for new AUTH URL.

Great! Again, thanks.

Anywho, your authentication was not affected - why? I'll have to compare the two.

gxdata
11-04-2010, 02:25 AM
I posted the comments after updating to the latest version. It has been happening for sometime but not sure when it started thought.
Try downloading some of the long shows and you will see what I mean. There are only a few greater than 300MB at the moment. e.g. 2 x "Pirot"s.

To be clear: it is true that you're having this problem (halt, then resume) with iViewNapperLite v20101103, for videos that are bigger than about 300K?

tilt
11-04-2010, 03:09 AM
I would like to thank mce for the speedy effort. I have updated my variant of the batch downloader, which does 3 channels abc sbs plus7) using the show list and wanted list. If anyone else is interested in this pretty rough script, please say so.

gxdata
11-04-2010, 03:58 AM
I would like to thank mce for the speedy effort. I have updated my variant of the batch downloader, which does 3 channels abc sbs plus7) using the show list and wanted list. If anyone else is interested in this pretty rough script, please say so.

Yes please - I'd like to have a look and a try.

gxdata
11-04-2010, 08:43 AM
Something drastic has happened - nothing can be found / downloaded, from 3hours30mins ago (see date/time on this message) for an hour or so.
Affected both the iVNapper and iVBatch, latest versions.
Now (another 2 hours later), the iVBatch is failing on The Drum (last 2 days), yet the iVNapper gets it OK. It's not making a lot of sense (no authent errors seen on iVBatch).

Anywho
11-04-2010, 02:47 PM
Something drastic has happened - nothing can be found / downloaded, from 3hours30mins ago (see date/time on this message) for an hour or so.
Affected both the iVNapper and iVBatch, latest versions.
Now (another 2 hours later), the iVBatch is failing on The Drum (last 2 days), yet the iVNapper gets it OK. It's not making a lot of sense (no authent errors seen on iVBatch).

Try again... iVB is working for me (@7:14AM-CDT). The Drum 2,3&4/11 d/l's fine here :confused:

Anywho
11-04-2010, 03:00 PM
I have updated my variant of the batch downloader, which does 3 channels abc sbs plus7) using the show list and wanted list. If anyone else is interested in this pretty rough script, please say so.

ffff. fff. ffff. You ready? ..."so"...

We've shown you ours, now you show us yours! :D

gxdata
11-04-2010, 05:02 PM
Try again... iVB is working for me (@7:14AM-CDT). The Drum 2,3&4/11 d/l's fine here :confused:

Moi, Je suis confus, trop!

Downloading "The Drum 04/11/10" ...
and saving the stream with the filename "The Drum 04-11-10.mp4"

Downloading from Hostworks server...

Retrieving Token...
Resuming previous download for "The Drum 04/11/10"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
mp4:news/thedrum_101104 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "The Drum 04/11/10"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
news/thedrum_101104 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "The Drum 04/11/10"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
news/thedrum_101104.mp4 path not found. Retrying a different path...


The show "The Drum 04/11/10" was not found on the server.

This, Friday 5Nov2010 10:00AM Melbourne time.

Anywho
11-04-2010, 05:34 PM
Moi, Je suis confus, trop!

The show "The Drum 04/11/10" was not found on the server.[/CODE]

This, Friday 5Nov2010 10:00AM Melbourne time.

Hmmm... Have you deleted any 0-byte files that may have been created? I'm not getting any problem d/ling it - :confused:

The attached pic I just got 5 minutes ago!

gxdata
11-04-2010, 05:52 PM
Hmmm... Have you deleted any 0-byte files that may have been created?

Ooops - yes, that was the problem. :o

Thinking about unattended (scheduled) DL for things I want to see, when I am remote from a TV or computer for 1 to 3 days, I wonder how to get over these periods of server or whatever problems that ABC/iView seems to encounter. I'll code something up, possibly next week, and share the workflow.

Anywho
11-04-2010, 06:26 PM
Thinking about unattended (scheduled) DL for things I want to see, when I am remote from a TV or computer for 1 to 3 days
Have you tried the Windows scheduler and the batch file d/ler, IView Later (http://www.4shared.com/file/ScxsAfIq/iView_Later_v11.html), I created?

I wonder how to get over these periods of server or whatever problems that ABC/iView seems to encounter. I'll code something up, possibly next week, and share the workflow.

What do you mean by this? Like reacting to server dropout, non-existent files, etc?

tilt
11-05-2010, 04:52 AM
ffff. fff. ffff. You ready? ..."so"...

We've shown you ours, now you show us yours! :D

Well Anywho you must have some retained air after that effort!

I have stuck the fetchtv.sh script at:

http://pastebin.com/HuSkwzm8

It is still riddled with debugging statements, but at least there is bash script code to handle the json, and plus7 and sbs. I run it under windows 7 or XP with cygwin, but could easily be modified to work with lynux

gxdata
11-05-2010, 04:58 AM
Have you tried the Windows scheduler and the batch file d/ler, IView Later (http://www.4shared.com/file/ScxsAfIq/iView_Later_v11.html), I created?
No, will do so.


What do you mean by this? Like reacting to server dropout, non-existent files, etc?

Exactly. When to retry, which programs have short residence times (eg, midday report, evening news), exception handling so that the app controlling rtmpdump doesn't die, reading authentication and other primary paths from a config file, putting json parsing into a DLL that can be swapped when the format changes, etc.

vipher
11-05-2010, 07:19 AM
I've updated the Linux script (now v6.8.1) and it's on the wiki, I think the same script should work with OSX just by changing the rtmpdump binary.

streamed
11-07-2010, 12:09 AM
Hi,

Had to register for this forum, this seems to be the place to ask questions about functionality for Iview grabbers/downloaders.

I would like to know if one of you can build some sort of QA tool to check/verify the downloads. Often I find myself watching a downloaded episode, when suddenly the download seems to be incomplete. End of video, bugger.

I have had incomplete downloads with Iviewnapper and also with IviewFox. They all use the same RTMPDump, so that seems to be the problem (and possibly also the solution?)

Would it be possible to have a little tool that scans a certain folder on your local PC, and verify the length of each of the media files with the length/size as stored/reported on the server? If the file is not on the server anymore, bad luck, but for the files that are still there, wouldn't that be very practical?

I wouldn't mind programming something like this myself, but I have zero knowledge of RTMPDump, so I would have to familiarise myself with the syntax etc.

I would think that if you already have the source to download the media files, it would't be too difficult to built this verification tool?

Or am I the only one with incomplete downloads?

gxdata
11-07-2010, 01:02 AM
Hi,
I would like to know if one of you can build some sort of QA tool to check/verify the downloads. Often I find myself watching a downloaded episode, when suddenly the download seems to be incomplete. End of video, bugger.

I have had incomplete downloads with Iviewnapper and also with IviewFox. They all use the same RTMPDump, so that seems to be the problem (and possibly also the solution?)

Would it be possible to have a little tool that scans a certain folder on your local PC, and verify the length of each of the media files with the length/size as stored/reported on the server? If the file is not on the server anymore, bad luck, but for the files that are still there, wouldn't that be very practical?


(edited quote above)

With iViewNapper, there is an indication (SUCCESS) in a panel on the downloader form, which is some help.

About 6 months ago, I had the same thought as you, and asked of (someone - ? rtmpdump coder) if a checksum (CRC, MD5) could be ascertained for a file on the server, and checked against what you downloaded. I answered myself, that this would be a silly idea.

I'm not sure what metadata is available for the files that get streamed (ie, the files on the server that rtmpdump "downloads" to us) and how good that would be as an indication of the success, partial success, etc.

Others may have a more definitive answer for you.

streamed
11-07-2010, 02:54 AM
With iViewNapper, there is an indication (SUCCESS) in a panel on the downloader form, which is some help.


I have not used Iviewnapper lately, found the fact that every instance of the software can only do on edownload at the time quite complex and inconvenient. Am now using Iviewfox, ideal for multiple transfers as the frontend is just the Iview website, and not some program.


I'm not sure what metadata is available for the files that get streamed (ie, the files on the server that rtmpdump "downloads" to us) and how good that would be as an indication of the success, partial success, etc.


The length (size) of the file would be ok, to check that against the local file size.


Others may have a more definitive answer for you


We'll wait and see. Thanks for your reply.

gxdata
11-07-2010, 04:52 AM
for mce - see the Plus!7 thread on Whirlpool
p7Napper Exception - Air Traffic Investigation 6Nov2010

jameskinds
11-07-2010, 05:31 PM
I've updated the Linux script (now v6.8.1) and it's on the wiki, I think the same script should work with OSX just by changing the rtmpdump binary.

Can you please repost this somewhere else as localhostr.com seems to be down.

Thanks in advance.

James

vipher
11-07-2010, 08:07 PM
Can you please repost this somewhere else as localhostr.com seems to be down.


No problem, new link is on the wiki now.

jameskinds
11-07-2010, 10:17 PM
No problem, new link is on the wiki now.

Thank you!! That's fantastic!! :)

Much appreciated.

blood.eaglz
11-08-2010, 12:18 AM
hey any chance of someone making a ten downloader (or if a working one already exists point it out to me), they migrated from roo to movideo, and now DownloadHelper gets bupkiss(ad video excepted) :(

mce
11-08-2010, 02:14 AM
p7Napper has been updated to version 20101108.

Please check the p7Napper website.

gxdata
11-09-2010, 04:51 AM
p7Napper has been updated to version 20101108.

Please check the p7Napper website.

Nice.
Pity 7 isn't quota-exempt like 2. There are a couple of OK programs there right now. Maybe I need to DL before 8am.

gxdata
11-09-2010, 08:18 AM
Interesting that evening news for 07-11-2010 is still available. The date/time now is 02:12 on 10Nov2010, AEDT.

Testing with "iViewLater" and editing the download_list.xml just now shows that the show for 7Nov is there, but 6Nov is not.

The catalog for ABC National Evening News says that only the show ABC National Evening News 09-11-10 is available.

Implication: possibility of getting some stuff that is still there, but was removed from the catalog - at least for a day or so. Or, it's an oversight, a once-off.

iviewthereforeiam
11-10-2010, 12:17 AM
I've downloaded the Firefox addon from Yansky (https://addons.mozilla.org/en-US/firefox/addon/90505/) and it seems to work fine, but I am wondering if the .mp4 files I download using that addon will be unmetered thru my ISP (iPrimus has unmetered iView downloads)

blood.eaglz
11-10-2010, 01:48 AM
I've downloaded the Firefox addon from Yansky (https://addons.mozilla.org/en-US/firefox/addon/90505/) and it seems to work fine, but I am wondering if the .mp4 files I download using that addon will be unmetered thru my ISP (iPrimus has unmetered iView downloads)

yep, as the downloaders use the same 'path' as the site, it is indistinguishable to your ISP, and therefore it remains unmetered

gxdata
11-11-2010, 07:34 AM
Further to #315 (http://stream-recorder.com/forum/showpost.php?p=22872&postcount=315), I found that there are 7 or 8 days of "The Midday Report" that don't / have never appeared on the menus, but are downloadable. (3Nov to 11Nov)

Not that I'm interested in these per se, but it shows that what's left in place on the server isn't reflected in the edited JSON files describing what's available to watch.
Obviously, iView maintenance is a very manual process.

gxdata
11-11-2010, 07:45 AM
hey any chance of someone making a ten downloader (or if a working one already exists point it out to me), they migrated from roo to movideo, and now downloadhelper gets bupkiss(ad video excepted) :(

StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm) will capture (for example) the Junior Masterchef stuff, with a bit of manual attention - but it's no faster than watching, afaict. You end up with a pile of .FLV files, since they have one week's/night's competition chopped up and prefaced by a sponsor's advert. (6 segments, as you can see from the Ten webpage (http://www.masterchef.com.au/video.htm)).

I've never explored Ten, but for these (like JM) it seems feasible to use rtmpdump in the way that AdamMW recommended (now defunct websites for SBS and for Ten). I suspect that Ten is inconsistent compared with iView or even SBS, and that a downloader like iViewNapper or iView Batch Downloader would work on 10% to 30% of the programs/pages they present. Hence, too much maintenance to be worthwhile. (my guess only)

fezza65
11-12-2010, 01:30 PM
Hi,

I would like to know if one of you can build some sort of QA tool to check/verify the downloads.
Or am I the only one with incomplete downloads?

The batch file version creates a download log version. You can queue up multiple downloads and then execute. At the end, you can skim the download.log file for "Saved successfully" for each file. If you are having problems you may be able pinpoint what it is, eg file not found, error in connection-retrying, etc. from the info in the log file.

You can even queue up the downloads and schedule the downloads for later (offpeak times) using iViewLater, in case your ISP is having dropouts during peak times.

I had one file that I had queued last night, fail, " Error in connection. Retrying...".
That is unusual... I checked the file. and yep, it was incomplete. So threw it away. Will download it again later.

gxdata
11-12-2010, 09:35 PM
One for Anywho:
A "missed" episode of "round the Twist" (e10) is actually downloadable, via editing the download_list.xml file created by Batch Downloader, but I can't see any episode details (description, etc) for that episode in the JSON that iVBD creates in \cache\. It's there for ep9, ep12, etc.

Does this mean that iView staff never entered that info - or, can it be located somewhere on the server?

Anywho
11-13-2010, 03:38 AM
One for Anywho:
A "missed" episode of "round the Twist" (e10) is actually downloadable, via editing the download_list.xml file created by Batch Downloader, but I can't see any episode details (description, etc) for that episode in the JSON that iVBD creates in \cache\. It's there for ep9, ep12, etc.

Does this mean that iView staff never entered that info -

If it isn't in the JSON index then none of the downloaders will see it. So yes, that's just the ABC iView staff being slack as usual. In those cases you have to go onto their forum and complain. If you're lucky it will get fixed up but I think you need to do it quickly or else it gets shelved with a "technical problem".

can it be located somewhere on the server?
Not easily - except by the trial'n'error method you're doing now. Unfortunately, with the way the server(s) are set up you can't just do a ftp "ls" (list files) command. :(

gxdata
11-13-2010, 06:43 AM
Not easily - except by the trial'n'error method you're doing now.

What's worse (in terms of anything but an ad hoc arrangement, for any of the videos that they present), is that things like video/audio out of sync and worse, are detected by the quality control minions who watch iView and report the problems on the Message Board (ie, general public).
I gather - from reading responses from the iView Mod - that the files they get come from various sources, and the QC is non-existent up to that point.
Add to that, the metadata creation is hit and miss ... as we all know (which is how I have picked up the odd long-past episode remaining somewhere on the servers).

gxdata
11-15-2010, 05:22 AM
Has anyone compiled rtmpdump.exe from sourcecode with Visual Studio?

kharisma
11-15-2010, 06:38 AM
Is the current version of iViewFox (1.1.8) working for anyone on a Mac, Snow Leopard?

I'm watching ABC in Melbourne. My ISP is TPG.

I've just installed iViewFox and it just plays the video. No offer to save.

Have downloaded the rtmpdump, but there's no .exe in the files. I'm not at all familiar with the code flying around here that many others seem to be fine with.

Was rather hoping the firefox extension would work.

From something I read while searching for an answer, it seems ABS have just changed their settings again. Will iViewFox be updated to cater for that?

Anywho
11-15-2010, 07:56 AM
I've just installed iViewFox and it just plays the video. No offer to save.

If iViewFox has installed properly, there should be an "ABC icon" in the status bar (lower right) of Firefox - like the one that iView uses when it is loading into your browser . If you click on that then a "preferences" dialog should pop up. Make sure that iViewFox is set to "enabled" (see attached screengrab).

Disclaimer: Not using Mac here ;)

kharisma
11-15-2010, 01:36 PM
Forgot to mention...

Yes the icon is there; it says it's enabled.

Have tried closing down Firefox and restarting - no joy.

There was a message when I first installed it, to copy some command and put it in Terminal - which I did.

??? Am at a loss to know what else I can do.

Yansky
11-15-2010, 10:51 PM
Forgot to mention...

Yes the icon is there; it says it's enabled.

Have tried closing down Firefox and restarting - no joy.

There was a message when I first installed it, to copy some command and put it in Terminal - which I did.

??? Am at a loss to know what else I can do.

Perhaps try the terminal command again. Put the following address in Firefox to bring up that page again: chrome://iviewfox/content/ohHai.html

It's possible that my code for checking whether or not the extension is being updated or newly installed could be borked.

kharisma
11-16-2010, 12:46 AM
I put the code into terminal again,
restarted Firefox,
went to abc.net.au -
the little icon appears.
Clicked on "Watch Program" -
it went to full-screen and started playing the video.

Yansky
11-16-2010, 01:03 AM
I put the code into terminal again,
restarted Firefox,
went to abc.net.au -
the little icon appears.
Clicked on "Watch Program" -
it went to full-screen and started playing the video.

Just to confirm, you're not on OSX 10.5, but OSX 10.6+ yeah?

kharisma
11-16-2010, 10:06 AM
OSX 10.6.4 Snow Leopard

ISP is TPG

Yansky
11-16-2010, 03:02 PM
OSX 10.6.4 Snow Leopard

ISP is TPG

Unfortunately my version of rtmpdump (which is the downloader within iViewFox) is only compiled to run under OSX 10.6.

kharisma
11-17-2010, 06:35 PM
@Yansky

Any chance you'll be upgrading it soon?

gxdata
11-17-2010, 07:06 PM
(rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) usage question)

I have this stream URL (from StreamTransport (http://all-streaming-media.com/record-video-stream/StreamTransport-Download-HTTP-RTMP-RTMPE-streams.htm), which can download it OK, but in its full playing time of course) -

rtmp://pub-fz.cdn.iinet.net.au/public//mp4:waso/waso/waso-rib-ep001-hq.mp4

I am using rtmpdump with -r URL -o filename.mp4 but get this error -
RTMPDump v2.2d (r463)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)


OR

RTMPDump v2.2d (r463)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close


Can someone tell me what is this indicating?

[Edit]
eliminated the problem due to having a 0-byte output file, due to earlier failed attempts. Now, my simple test batch file deletes the output file.

ollie grieve
11-19-2010, 11:00 PM
I have been using IviewFox successfully for some time. I upgraded successfully to the new 3 November version, but it stopped working on 12 November. Like kharisma, I stopped getting the save box and the program continued to download and play. Thing is I am also with TPG. I have also tried to run IviewFox on my old lap top where I have successfully run the application before, but with the same (non) outcome.

Could it be that TPG has blocked the application form working?

Anywho
11-20-2010, 02:13 PM
Like kharisma, I stopped getting the save box and the program continued to download and play.

RTMPdump actually starts after the save dialog has opened - not before. It's not RTMPdump that makes the save dialog appear. If you're not getting the save dialog then something else is blocking it before RTMPdump gets a chance to begin :(

Could it be that TPG has blocked the application form working?
No. RTMPdump does not identify itself in any way that TPG could know that you were using it. If you can play the video directly from the ABC iView site then RTMPdump should work.

What OS are you using? Also, what version of Firefox?

Yansky
11-20-2010, 07:02 PM
I have been using IviewFox successfully for some time. I upgraded successfully to the new 3 November version, but it stopped working on 12 November. Like kharisma, I stopped getting the save box and the program continued to download and play. Thing is I am also with TPG. I have also tried to run IviewFox on my old lap top where I have successfully run the application before, but with the same (non) outcome.

Could it be that TPG has blocked the application form working?

A few people have reported this but I can't seem to replicate the issue. I don't think it's ISP specific as I'm with TPG too and it seems to work ok for me.

I asked another user who experienced this problem to post any error messages he received, but he said there were none: http://mycoffeelounge.net/forum-replies.php?t=26217&r=11#r11

Anywho, here is my code for the iViewFox extension FWIW: http://pastebin.com/JDx6dg5T - can you see any issues?

Also, I just noticed that a user posted some info in a review here: https://addons.mozilla.org/en-US/firefox/addon/90505/reviews/
Something about private browsing mode. Perhaps there's a setting that's getting messed up or summin.

P.S. - slightly off topic, but if anyone could test out my new version of this extension that'd be great.
https://addons.mozilla.org/en-US/firefox/addon/56803/
The new version is 0.2.4 - https://addons.mozilla.org/en-US/firefox/addon/56803/versions/

Anywho
11-20-2010, 08:56 PM
Anywho, here is my code for the iViewFox extension FWIW: http://pastebin.com/JDx6dg5T - can you see any issues?
Nope. Seeing as they're not getting to the SAVE dialog, this seems to suggest that the checks on prefs.getBoolPref("enabled") aren't working - or they are but Firefox isn't passing the correct value back to you (damaged user profile?)

Also, I just noticed that a user posted some info in a review here: https://addons.mozilla.org/en-US/firefox/addon/90505/reviews/
Something about private browsing mode. Perhaps there's a setting that's getting messed up or summin.

In private browsing mode you do get a "new" user profile, don't you? This would suggest an issue with the user's profile. A test, I guess, would be to see if a new vanilla user's profile has the same issue as well. Other possibilities - other add-ons interfering?

Anywho
11-20-2010, 09:00 PM
Yanksy...

Thinking some more about the iViewFox.prefs.getBoolPref("enabled") - if that wasn't working then they would get a "light" ABC icon not the "dark" ABC icon in the status bar wouldn't they? Perhaps a screencap of the status bar would help you to see if that is being picked up properly.

ollie grieve
11-21-2010, 03:54 AM
I am using windows XP and firefox version 3.6.10 with all updates

gxdata
11-26-2010, 08:53 AM
I have this idea of making use of the last-chance.xml (http://tviview.abc.net.au/iview/rss/last-chance.xml) file in order to add menu choices to a GUI downloader, for those expiring today, in 2 days, a week, etc - akin to the Last Chance choice at iView. That page has only today, tomorrow - but the RSS feeds give longer-term information.
But I'm not sure that the RSS is the way to go, since their information is derived from the episode metadata anyway.
Any advice?

Anywho
11-26-2010, 01:38 PM
But I'm not sure that the RSS is the way to go, since their information is derived from the episode metadata anyway.
Any advice?

Answered your own question I think.

I see getting another file from the server as just another file to: load, go missing, be corrupted, have to parse for info, when you already have the info you need (expiry date).

gxdata
11-27-2010, 07:54 AM
Answered your own question I think.

I see getting another file from the server as just another file to: load, go missing, be corrupted, have to parse for info, when you already have the info you need (expiry date).

ys, i think parsing the index/catalog json is the way.

marinam
11-27-2010, 06:56 PM
Hi,

Has anyone else been having trouble using V15.80 of the batch version?

I have had trouble ie. getting a 'not found' error whenever I try to download anything eg. Cosmic Quantum Ray. Iviewfox and Napperlite are working as normal however.

Anywho
11-27-2010, 08:48 PM
Hi,

Has anyone else been having trouble using V15.80 of the batch version?

I have had trouble ie. getting a 'not found' error whenever I try to download anything eg. Cosmic Quantum Ray. Iviewfox and Napperlite are working as normal however.
Actually, you'll find that the iView site is broken. The index on their site doesn't load fully - hence why the batch file is choking.

Anywho
11-27-2010, 08:52 PM
Actually, you'll find that the iView site is broken. The index on their site doesn't load fully - hence why the batch file is choking.

And as soon as I wrote that - 5 minutes later it's fixed! Someone's watching us :eek:

Anywho
11-28-2010, 12:27 AM
Looks like the iView site is messed up again. Broken sometimes at the "Loading iView" (gets to 68%). If you get to the home page then sometimes the "All Programs -> A-Z Index" doesn't work...

The trained monkeys must have stopped hitting keys on the keyboard again :D

marinam
11-28-2010, 05:15 AM
Actually, you'll find that the iView site is broken. The index on their site doesn't load fully - hence why the batch file is choking.

Oh well, sorry for the false alarm. It just seemed weird that Iviewfox and Napperlite were working. :o Everything seems OK now.

Thanks

gxdata
11-29-2010, 12:15 AM
Oh well, sorry for the false alarm. It just seemed weird that Iviewfox and Napperlite were working. :o Everything seems OK now.

Thanks

Very odd show-stopping behaviour has been exhibited today.

Unusually, I have been able to test this over some time - instead of doing some work - and have found both iViewNapper and iView Batch Downloader have been hit with parsing errors in the JSON files.

Strangely, it clears up sometimes a few minutes later.

I'm going to test whether I have a disk problem (It could be a disk read when the catalog.json / index.json is read - but I'm not convinced of that).

Anywho
11-29-2010, 12:47 AM
Strangely, it clears up sometimes a few minutes later.
Yeah, that's what I found was happening yesterday.
I'm going to test whether I have a disk problem (It could be a disk read when the catalog.json / index.json is read - but I'm not convinced of that).
Nah, I wouldn't blame your disk. iView has been having issues as you've found out. The main index(es) are sometimes loading completely and sometimes they're are not. This is what is causing the JSON parser errors.

I know the batch file version will either give you a menu with all the index or else you get a menu with just "0. Go back to Main Menu" when the index doesn't completely load.

I've found that if the index loads when you use ABC's iView website, then you'll often find that the index loads for the batch file version properly (and I'm guessing similar for iViewNapper). Luck of the draw I'm thinking :rolleyes:

gxdata
11-29-2010, 12:57 AM
Yeah, that's what I found was happening yesterday.

Nah, I wouldn't blame your disk. iView has been having issues as you've found out. The main index(es) are sometimes loading completely and sometimes they're are not. This is what is causing the JSON parser errors.

I know the batch file version will either give you a menu with all the index or else you get a menu with just "0. Go back to Main Menu" when the index doesn't completely load.

I've found that if the index loads when you use ABC's iView website, then you'll often find that the index loads for the batch file version properly (and I'm guessing similar for iViewNapper). Luck of the draw I'm thinking :rolleyes:

Yes, parallels my experience. I don't have disk errors, anyway ;)

gxdata
12-01-2010, 08:03 PM
Off-topic, re VLC media player (v1.1.5) -
When a .TXT file with the exact same (primary) filename as the video (.mp4) file is in the same folder, VLC seems to regard it as a sub-titles file even if there is a .SRT file there.

any ANONYMOUS forum user
12-03-2010, 01:02 AM
Does anyone have an iPad (http://all-streaming-media.com/links/ipad.php) to see where the new iPad app gets it's videos / API from? The iPad doesn't (usually) support RTMP so an iPad suggests that there may be a http delivery method now. I can't see any obvious urls in the binaries, but objective-c binaries aren't that obvious.

Yansky
12-06-2010, 11:22 PM
Slightly OT: this new GUI for rtmpdump on the mac looks pretty neat

gxdata
12-09-2010, 08:48 PM
Off-topic, re VLC media player (v1.1.5) -
When a .TXT file with the exact same (primary) filename as the video (.mp4) file is in the same folder, VLC seems to regard it as a sub-titles file even if there is a .SRT file there.

OK, I checked the VideoLan forums and there's some flux and discussion about the various subtitle formats, including a future version allowing 2 different subtitles per show. Numerous CC formats use the .TXT extension (though quite different internally), so my description files will have to use .DES or something else.

gxdata
12-09-2010, 08:51 PM
I was away for 9 days so missed Insiders for last Sunday.
Anywho, can you suggest how I can construct a suitable set of xml control files for the Batch Downloader? I don't have a "model" or template to guide me.
The download index does not currently list Insiders (though Inside Business is still there).

Anywho
12-10-2010, 09:03 AM
I was away for 9 days so missed Insiders for last Sunday.
Anywho, can you suggest how I can construct a suitable set of xml control files for the Batch Downloader? I don't have a "model" or template to guide me.
The download index does not currently list Insiders (though Inside Business is still there).

I'm not sure you can download it. Kind of strange seeing as it was the final one.

I've tried various permutations and each one comes up as "not on the server".

[Insiders 05/12/10][insiders_10_12_05.mp4]
[Insiders 05/12/10][insiders_101205.mp4]
[Insiders 05/12/10][the_insiders_10_12_05.mp4]
[Insiders 05/12/10][the_insiders_101205.mp4]


:(

(edit: Don't forget to delete the zero-byte file after each attempt ;))

gxdata
12-10-2010, 09:48 PM
I've tried various permutations and each one comes up as "not on the server".

[Insiders 05/12/10][insiders_10_12_05.mp4]
[Insiders 05/12/10][insiders_101205.mp4]
[Insiders 05/12/10][the_insiders_10_12_05.mp4]
[Insiders 05/12/10][the_insiders_101205.mp4]


(edit: Don't forget to delete the zero-byte file after each attempt ;))

This works -

[Insiders 05/12/10][news/insiders_101205.mp4]


Using your suggestion, I did what was obvious I guess and that was to see what the format was for other "news" programs, in particular Inside Business. The essential part was the path, of course.

Zero-byte files always trap me. Thanks for the reminder!

caleula
12-11-2010, 07:18 PM
iViewNapper says "Fetching Episode" quickly when I try to download, however, the menu then disappears and the download doesn't commence. :mad:

Running out of ideas. 7mateNapper and SBSNapper both work fine.

Also, anybody know of a way to save downloads to another drive/directory?

mce
12-12-2010, 01:56 AM
iViewNapper says "Fetching Episode" quickly when I try to download, however, the menu then disappears and the download doesn't commence. :mad:

Running out of ideas. 7mateNapper and SBSNapper both work fine.

Also, anybody know of a way to save downloads to another drive/directory?

I've sent you a link to the download site with the latest version on it (20101103) and you seem to be running an older version (20101014).

Please upgrade to the latest version.

At the moment iVN downloads to the programs own directory.

caleula
12-12-2010, 05:31 AM
I've sent you a link to the download site with the latest version on it (20101103) and you seem to be running an older version (20101014).

Please upgrade to the latest version.

At the moment iVN downloads to the programs own directory.

Many thanks. I was thinking 4 came after 3 for the version numbers :confused:

The ability to save to another drive/directory would be VERY nice though. What do others think? :)

blood.eaglz
12-12-2010, 06:51 AM
the version numbers are written in reverse date format ie YYYYMMDD :) so the version you were running (20101014) was built on 14th of October 2010, while the current version (20101103) was built on 3rd of November 2010.

Wahroonga Farm
12-12-2010, 06:37 PM
Hi Guys,

A question on the iviewnapper mp4 format.

Apologies if this question is already covered.

The iViewnapper MP4 format does not appear to be widely recognised. VLC does it, but not much else.

My LG telly does MP4 just fine, but not the 'napper' version of MP4?

By way of contrast, the ABC direct download MP4 (which is available from the ABC for certain recent screenings), is far more compatible with a wide range of players ... including my LG telly ... on a usb stick. :)

blood.eaglz
12-12-2010, 08:37 PM
The iViewnapper MP4 format does not appear to be widely recognised. VLC does it, but not much else.

The iview mp4 is actually F4V which means its mpeg4 contents wrapped in a flv to increase compatability you need to strip the flv and remux as a true mp4

I've included my solution (http://www.multiupload.com/QKR98MDHJ8) to this which is a couple of bat files using ffmpeg (all of 3 must be in the same directory, with the mp4s) and another zip with a cmd program called recycle.exe which need to be put in the windows->System32 folder

the remux.bat converts whatever file you drop n' drop on it into an mp4 with directly copied streams ie no reencoding (also works with plus7 flv files as they are also F4V), while the feeder.bat will go through every .mp4 file in the folder and will run them through the remux.bat.

the recycle.exe is required to send the originals to the recycle bin rather than deleting them outright in case some thing goes wrong.

lastly I suggest you get mediainfo (http://mediainfo.sourceforge.net/en) as it is a nice quick acid test on whether the remux was successful as if it does not show data for all segments (container, video and audio) then its a dud and need to restore the original and go from there.

Obviously this is a windows based solution, and will be little use to you if you're running a Apple or Linux machine.

EDIT: forgot to mention there is another windows solution somewhere in this thread, a VBscript that also uses ffmpeg, and automatically takes care of mentioned 'problems', (which I should clarify is a bit of junk data at the end of the files, I personally use frhed to fix this, but it is almost irrelevant now as problem files are becoming rarer.)

gxdata
12-12-2010, 09:23 PM
Interview with ABC iView's Arul Baskaran, at Lifehacker.
http://www.lifehacker.com.au/?s=Arul+Baskaran

Avoiding the DRM issues. Flash will be used for some time yet; HTML5 maybe, still some time off; PS3 / XBox support not changing much; etc.

gxdata
12-13-2010, 01:08 AM
Request to mce at next release of iViewNapper: to add a refresh function to the catalog / main list of series / index listing (? as displayed by the Catch Up button).
The iView staff seem to update the catalog frequently, which means that to "see" ['The Midday Report'] for example, I need to quit iViewNapper and restart it a few times during a day. It's hard to predict when a show will be mounted.
With the huge number of new shows on iView, this catalog updating is much more frequent at any time around the clock.

Wahroonga Farm
12-13-2010, 02:45 AM
...I've included my solution (http://www.multiupload.com/QKR98MDHJ8) ...Thanks very much. I'll give it a whirl.

Cheers

Edit ... And I did.

Thank you sooo much ... works perfectly.

'Ladies and Gentlemen The Rolling Stones' was tonight's very sweet treat. :)

downloader
12-13-2010, 05:24 AM
iviewfox is not working. Is there an update due soon?

blood.eaglz
12-13-2010, 08:29 AM
Thanks very much. ... works perfectly.


Glad to be of help.

Wahroonga Farm
12-13-2010, 05:01 PM
Glad to be of help.Thanks again.

One more question?

Given that the Iview (Original and Remux'd version) is some 30% larger than the direct download version; is the Iview version by definition; higher quality?

Here is a MediaInfo snap of two identical episodes of Rake series One, Episode 5.

ie 401 vs 555 Kbps

http://img593.imageshack.us/img593/6413/mediainfo.jpg

Anywho
12-13-2010, 09:05 PM
Given that the Iview (Original and Remux'd version) is some 30% larger than the direct download version; is the Iview version by definition; higher quality?


The "direct" download has a resolution of 512x288 and uses a lower bitrate.

The "remux" version has a resolution of 640x360 and uses a higher bitrate. The default of iView video on the web.

The remux version "may be" better because it is larger in resolution (more information in the image). I say "may be" because it depends on what resolution the original video was to start with.

Strictly speaking, the native resolution video will give a better image quality than one that has been up/down-scaled to another resolution. However, seeing as we don't know what the video resolution is that they start(ed) with, it is best to use your eyes to judge that (compare the two).

blood.eaglz
12-13-2010, 10:06 PM
is the Iview version ... higher quality?


Yep, audio wise they are exactly the same quality, video wise the iView is higher.

In a technical sense the higher the bit rate the higher the quality, whether its a noticeable/significant difference is another matter altogether.
Also the resolution being higher means that on bigger displays the iview file will look better.

the problem with asking which is better is that it is very subjective and context variable with such a relatively small difference.

EDIT: Haha Anywho Just beat me to the punch.

Wahroonga Farm
12-14-2010, 12:11 AM
Thanks Guys. :)

The "direct" download has a resolution of 512x288 and uses 401 Kbps

The "remux" version has a resolution of 640x360 and uses 555 Kbps

An Olin STB recorded version has a resolution 720x526 and uses 4739 (?) Kbps

So it appears that neither of the MP4's are in native resolution.

Here is MediaInfo for the Olin STB recording.

http://img258.imageshack.us/img258/7858/olin.jpg

Anywho
12-14-2010, 12:40 AM
So it appears that neither of the MP4's are in native resolution.


Actually, the 640x360 is actually likely to be the native...

640 / 16 = 40, 360 / 40 = 9. The 16:9 ratio is maintained.

With the one from your Olin STB...

720 / 16 = 45, 576 / 45 = 12.8... The 16:9 ratio is not maintained.

So, what I think is happening is that STB's are upscaling the 640x360 video or, more likely, the video is transmitted from ABC as prescaled-up (dimesions required for PAL-TV standard transmissions in Oz.)

[edit: Note that the 512x288 also gives a 16:9 ratio - so again, either could be the original (or neither ;))]
[edit2: It doesn't half get ugly after reading Wikipedia on the subject of PAL (http://en.wikipedia.org/wiki/PAL), 576i (http://en.wikipedia.org/wiki/576i), and Anamorphic widescreen (http://en.wikipedia.org/wiki/Anamorphic_widescreen). Bleh!]

Wahroonga Farm
12-14-2010, 04:39 AM
:) :) :)

James449
12-14-2010, 08:37 PM
I cannot access a program called How To Be A Little S*d, presumably because of the asterisk in the name - the error reads Illegal characters in path. Is it possible iViewnapper could be enhanced so it does not try to use any illegal characters in filenames? Would be appreciated.

gxdata
12-14-2010, 09:20 PM
I cannot access a program called How To Be A Little S*d, presumably because of the asterisk in the name - the error reads Illegal characters in path. Is it possible iViewnapper could be enhanced so it does not try to use any illegal characters in filenames? Would be appreciated.

The easiest solution is to use the Batch downloader, choose the show (menu choice 1), then BEFORE downloading it you need to edit the file download_list.xml (with Notepad) and change the * to o (then reads Sod), SAVE the xml file, THEN switch back to the batch file (still running) and download (menu choice 3).

I will be around (and can see this forum) for an hour or so, so send a PM or post a question here.

Anywho
12-14-2010, 10:28 PM
I cannot access a program called How To Be A Little S*d, presumably because of the asterisk in the name - the error reads Illegal characters in path.

Hey! Thanks for this. I checked the batch file version and it was whining too (couldn't find file on the server was the resultant error message). I've fixed the batch file version now - v15.81 - with the links to it available from the Wikia page (http://iviewdownloaders.wikia.com/wiki/ABC_iView_Downloaders_Wiki).

The easiest solution is to use the Batch downloader, choose the show (menu choice 1), then BEFORE downloading it you need to edit the file download_list.xml (with Notepad) and change the * to o (then reads Sod), SAVE the xml file, THEN switch back to the batch file (still running) and download (menu choice 3).


Thank you for your support, buddy! :D

Yansky
12-15-2010, 12:29 AM
iviewfox is not working. Is there an update due soon?

I've tested the latest version (1.1.8) with OSX and Windows 7 and it worked ok for me. Do you have the latest version installed?

If so, please give me more details about how it's not working. What happened when you click on the "Watch Program" link after selecting a show. Does the save dialog box come up? Also, what's your operating system and ISP?

Wahroonga Farm
12-15-2010, 01:01 AM
...I've fixed the batch file version now - v15.81 - ...It's sweet. :)

http://img443.imageshack.us/img443/5296/clipboard01owf.jpg

Anywho
12-15-2010, 02:13 AM
It's sweet. :)

Thank you for your feedback! :D

ComStraker
12-15-2010, 04:23 PM
Erm looks like illegal characters problem in Iviewnapper getting a file with "s*d" in the comedy section...by the way am a programmer, I like these programs alot and could help if someone developing them wants contact me.

gxdata
12-16-2010, 01:32 AM
Erm looks like illegal characters problem in Iviewnapper getting a file with "s*d" in the comedy section...by the way am a programmer, I like these programs alot and could help if someone developing them wants contact me.

Yes, see the previous page in this forum to get the latest version of the batch downloader (15.81) until mce does the next fix of iViewNapper.


' This uses the full list of invalid characters - regex method (FASTEST)
' aesthetics: poor
Function CleanInput(ByVal strIn As String) As String
Dim sb = New StringBuilder()
Dim invalids = System.IO.Path.GetInvalidPathChars().Union(System. IO.Path.GetInvalidFileNameChars())

' Build the regex
sb.Append("[")
For Each c In invalids
sb.Append("\")
sb.Append(c)
Next c
sb.Append("]")

' this is our regex
Dim re = New System.Text.RegularExpressions.Regex(sb.ToString() )

' Underscore is safe enough - but ugly
Return re.Replace(strIn, "_")

End Function

mce
12-16-2010, 03:12 PM
Both iViewNapper and iViewNapperLite have been updated to fix the illegal character in filenames problem.

Please check the websites for the new versions (20101217).

A reload of the browser cache may be required.

gxdata
12-17-2010, 06:14 PM
mce, suggest you attach the same URL fetch code to the [Catch Up] button, as you would have used in the initial population of the listbox - ie, reading the series catalog by a fetch from http://tviview.abc.net.au/iview/api2/?seriesIndex

batch downloader has a similar refresh capacity (I assume the URL is the same that you are using)

(otherwise, I find I need to quit iViewNapper in order to do that refresh)

mce
12-18-2010, 02:25 AM
iViewNapper Version 20101218.

Ctrl CatchUp reloads JSON data.

iViewNapperLite Version 20101218.

Ctrl click on picture reloads JSON data.

gxdata
01-05-2011, 06:19 PM
Just a for-information-only post, on iView's cataloguing omissions (with thousands of shows current, it's probably getting to be more difficult for the ABC workers to track these things ).

Notice the school holiday flavour (not really my taste in shows).

Done on 05/01/2011, with Batch Downloader v15.81 with editing of the download_list.xml

timmy time 1/20-21
timmy time 1/26
peppa pig 3/9
bob builder 15/5
bookaboo 1/8
chuggington 2/12
gimme 3/1
Mister Maker 2/18
arthur 4/10

NOT FOUND: Mister Maker 2/19

Interesting that with the Batch Downloader, even though Arthur Series 4 was no longer listed, a simple edit of the xml file worked.

gxdata
01-08-2011, 08:41 PM
iView player (website) is OK, but the downloaders are not connecting - approx 20:20PM AEST.
:mad:
Have they changed the internals or the JSON format again? If so, how can I detect that?

[Edit]
+ 3 hours and it seems OK to download (Gardening Aust 21/46)

by-gum
01-08-2011, 09:35 PM
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?

gxdata
01-08-2011, 09:48 PM
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
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
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:


SWFPARAMS='-w 96cc76f1d5385fb5cda6e2ce5c73323a399043d0bb6c687edd 807e5c73c42b37 -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
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
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
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
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
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
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
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:

"$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
"$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:
"$CURDIR"/"$FLVSTREAMER" --resume -r rtmp://203.18.195.10/ondemand?auth=$TOKEN -y $SHOWPATH -o "$CURDIR"/"$FILENAME" $SWFPARAMS
to
"$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.

by-gum
01-09-2011, 04:06 PM
Anywho - Thanks for all your work!
I don't know why or how the host changed to Akamai.
We still have a problem:

---------

DEBUG: SendPlay, seekTime=0.00, dLength=0, sending play: /flash/playback/_definst_/mp4:deep_10_01_02
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 187 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 deep_10_01_02; stream not found.>
DEBUG: Property: <Name: details, STRING: deep_10_01_02>
DEBUG: Property: <Name: clientid, STRING: lG-w9qMH>
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

Yansky
01-09-2011, 05:07 PM
Anywho - Thanks for all your work!
I don't know why or how the host changed to Akamai.
We still have a problem:

---------

DEBUG: SendPlay, seekTime=0.00, dLength=0, sending play: /flash/playback/_definst_/mp4:deep_10_01_02
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 187 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 deep_10_01_02; stream not found.>
DEBUG: Property: <Name: details, STRING: deep_10_01_02>
DEBUG: Property: <Name: clientid, STRING: lG-w9qMH>
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

On line 20 of the .command change the params again and add the "-z" parameter for "debug level output"

That should reveal some more info.

Anywho
01-09-2011, 05:10 PM
Anywho - Thanks for all your work!
I don't know why or how the host changed to Akamai.
We still have a problem:

Using Akamai or Hostworks is dependent on the ISP you are using. If your ISP offers un-metered access to iView, then you'll most likely be using Hostworks. Otherwise it's Akamai.


DEBUG: Property: <Name: description, STRING: Failed to play deep_10_01_02; stream not found.>


I need to see what RTMPdump is trying to do with the commandline arguments it's been given. So I need this part as well. E.g:

RTMPDump v2.3
(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=4B35A3DDCE7F13DF079C
DEBUG: swfUrl : http://www.abc.net.au/iview/images/iview.jpg
DEBUG: app : ondemand?auth=4B35A3DDCE7F13DF079C
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 96 cc 76 f1 d5 38 5f b5 cd a6 e2 ce 5c 73 32 3a
DEBUG: 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

A good thing you could add to the script for the time-being is a line of code just before where each RTMPdump command is executed that will "echo" the command line as fed to the command interpreter. That way you (and us) can see what is fed to the command interpreter and if the syntax is correct.

For Hostworks the output is (Windows):
bin\rtmpdump.exe --resume -r rtmp://203.18.195.10/ -a ondemand?auth=D536ABCD8E3F12D988EC -y mp4:deep_10_01_02 -o "The Deep Series 1 Episode 2.mp4" -W http://www.abc.net.au/iview/images/iview.jpg
For Akamai the output would be (Windows):
bin\rtmpdump.exe --resume -r "rtmp://cp53909.edgefcs.net///flash/playback/_definst_/deep_10_01_02.mp4" -a ondemand?auth="E17AF96B1BAE58C69288" -o "The Deep Series 1 Episode 2.mp4" -W http://www.abc.net.au/iview/images/iview.jpg

Anywho
01-09-2011, 05:12 PM
On line 20 of the .command change the params again and add the "-z" parameter for "debug level output"

That should reveal some more info.

I think what is happening is that the Akamai server is being selected but the filename given to RTMPdump is for the Hostworks server.

edit: Ahh! The problem is exactly that. The script is not getting the HOST and TOKEN first. Then when it comes to decide which filename format to use, it is always picking HOSTWORKS because the HOST variable hasn't been defined first. The structure of that code has to be changed slightly so that the HOST and TOKEN is gotten from the ABC server first.

So this code:
echo Retrieving Token...
curl -q "http://tviview.abc.net.au/iview/auth/?v2" > "$TEMPDIR"/auth.xml
TOKEN=`cat "$TEMPDIR"/auth.xml | grep token | sed 's/.*<token>//g' | sed 's/\\&amp;/\\&/g' | sed 's,</token>.*,,g' | sed 's/ //g'`
HOST=`cat "$TEMPDIR"/auth.xml | grep host | sed 's/<host>//g' | sed 's,</host>,,g' | sed 's/ //g' | tr -d '\r'`


will have to be moved between these two lines of code:
while [ $RETRY -gt 0 ]; do
<put it here>
#Generate the right token & filename

by-gum
01-09-2011, 11:35 PM
To Anywho and Yansky

Great success!!
I cut to the chase and impemented only the latest post (getting the host and token earlier). I got a 419.2 MB MPEG-4 movie file in about 7 minutes.

MPEG Streamclip read it successfully after I changed the file extension from MP4 to FLV.

Great work and many thanks.

Yansky
01-21-2011, 05:18 PM
New version of iViewFox available (1.1.9)
https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

I have added preferences to easily increase the buffer time (to help with large file timeouts) and to enable the debug output easily.

http://img813.imageshack.us/img813/808/iviewfox.png

Also, I've updated my other rtmpdump-based addon Plus7Fox. It allows you to download shows from the http://au.tv.yahoo.com/plus7/ site.

It now works under OSX as well as windows. And has the buffer and debug preferences as well.
https://addons.mozilla.org/en-US/firefox/addon/plus7fox/versions/

gxdata
01-29-2011, 04:45 AM
Is there any way of making the rtmpdump resumes more 'resilient' or persistent (more re-tries)?

(It's implied in the post about a new version of the iViewFox)

Usually, I can run SBS Downloader at the same time as iViewNapper but today iVN is not too good at resuming (I have better luck using the Batch Downloader).

Things seem to be more bandwidth-sensitive than usual - or is it my imagination after not using either for 3 weeks?

[edit]

Similar problems Australia-wide, for 2 days, according to the iView Mesage Board
http://www2b.abc.net.au/tmb/Client/Message.aspx?b=98&t=8&a=0&ps=50&m=11179&dm=3

gxdata
02-02-2011, 07:14 AM
iView, unexpectedly, is performing better than usual with a huge daily load of new programs. I'm now (past 2-3 days) getting a DL rate of 700kbps about 50% of the time. My usual was under 550 (in 2010). I don't think the quality of the copper wire has changed to my house :)

I wonder if the (Hostworks) servers have been enhanced with the accelerated workload?

Does ABC report client usage of iView? I'm guessing it is way up, to justify the 300%+ increase in weekly show numbers in the past 2 months (much more over the past 12 months).

gxdata
02-02-2011, 07:58 AM
A couple of amusing glitches -

(from posts I just saw on iView Message Board)

Episode 3 and 4 of Roary the Racing Car both play an episode called "Tall Story Roary", despite neither one of them being named such.

and

Subject: Posh Nosh captioning

I know it is a comedy, but the mis-matched captions are a laugh.
Not just out of synch, but from a different show?

Anywho
02-02-2011, 01:55 PM
iView, unexpectedly, is performing better than usual with a huge daily load of new programs. I'm now (past 2-3 days) getting a DL rate of 700kbps about 50% of the time. My usual was under 550 (in 2010). I don't think the quality of the copper wire has changed to my house :)

I wonder if the (Hostworks) servers have been enhanced with the accelerated workload?

Kids are back at school and they haven't stepped on the throttle yet perhaps :D

Does ABC report client usage of iView? I'm guessing it is way up, to justify the 300%+ increase in weekly show numbers in the past 2 months (much more over the past 12 months).

Probably around budget funding/allocation times. There might be an increase due to the Christmas holidays and less disposable incomes (Christmas presents) poking holes in parent's wallets causing more to stay at home... And don't forget the games consoles now can get/use iView as well.

gxdata
02-02-2011, 09:06 PM
Kids are back at school and they haven't stepped on the throttle yet perhaps :D

Probably around budget funding/allocation times. There might be an increase due to the Christmas holidays and less disposable incomes (Christmas presents) poking holes in parent's wallets causing more to stay at home... And don't forget the games consoles now can get/use iView as well.

Could be. But I suspect iView / online media is being resourced much better.

darian
02-05-2011, 09:51 PM
Recently I have noticed that if I start a download with iviewnapper or sbsnapper, my Firefox browser loses access to DNS resolution and can no longer find web pages. Once I stop downloading, access to DNS resolution is immediately available.

Anyone know what might be happening?

I used to be able to browse concurrently with downloading, so something has changed recently.

Maes
02-06-2011, 03:06 AM
Hi,

I'm trying to get iviewfox and plus7fox working, but I'm having the same problem.

After rebooting firefox (OSX 10.6) after installing the add-on I get asked to run this in terminal:

chmod a+x /Users/luc/Library/Application\ Support/Firefox/Profiles/d8vw6mmg.Default User/extensions/Plus7Fox@forboden.com/rtmpdump/*

But when I do I get this error:

chmod: /Users/luc/Library/Application Support/Firefox/Profiles/d8vw6mmg.Default: No such file or directory
chmod: User/extensions/Plus7Fox@forboden.com/rtmpdump/*: No such file or directory

Any help would be appreciated, thanks.

Anywho
02-06-2011, 10:06 PM
After rebooting firefox (OSX 10.6) after installing the add-on I get asked to run this in terminal:

chmod a+x /Users/luc/Library/Application\ Support/Firefox/Profiles/d8vw6mmg.Default User/extensions/Plus7Fox@forboden.com/rtmpdump/*

But when I do I get this error:

chmod: /Users/luc/Library/Application Support/Firefox/Profiles/d8vw6mmg.Default: No such file or directory
chmod: User/extensions/Plus7Fox@forboden.com/rtmpdump/*: No such file or directory

I don't have a Mac, but I think I can see where the error is:
chmod a+x /Users/luc/Library/Application\ Support/Firefox/Profiles/d8vw6mmg.Default User/extensions/Plus7Fox@forboden.com/rtmpdump/*
looks like it should be:
chmod a+x /Users/luc/Library/Application\ Support/Firefox/Profiles/d8vw6mmg.Default\ User/extensions/Plus7Fox@forboden.com/rtmpdump/*

Note the slash+space between "Default" and "User"? ;)

Anywho
02-06-2011, 10:13 PM
Recently I have noticed that if I start a download with iviewnapper or sbsnapper, my Firefox browser loses access to DNS resolution and can no longer find web pages. Once I stop downloading, access to DNS resolution is immediately available.

Anyone know what might be happening?

I used to be able to browse concurrently with downloading, so something has changed recently.

Sounds like you have a slow connection and RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) is sucking the bandwidth out of it. Usually DNS queries are supposed to respond in a certain amount of time, else you get a timeout error. If RTMPdump is sucking everything down at maximum speed, then there is a possibility your connection is getting flooded and the DNS response is then taking too long to get through.

So what's changed? Perhaps the path your connection is taking to the servers is less congested now and RTMPdump is taking a fair chunk of the bandwidth now.

Yansky
02-07-2011, 01:53 AM
For some reason the email updates to this thread seem to have stopped again for me. :confused:

Anyway, I've updated iViewFox and Plus7Fox to fix the text escape issues.


https://addons.mozilla.org/en-US/firefox/addon/plus7fox/versions/

https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

Maes
02-07-2011, 02:15 AM
Thanks Anywho.

Both iViewfox and Plus7Fox are working for me now.

darian
02-07-2011, 02:22 AM
Sounds like you have a slow connection and RTMPdump is sucking the bandwidth out of it. Usually DNS queries are supposed to respond in a certain amount of time, else you get a timeout error.
I expect that is it: on a good day my bandwidth is only 450kBps due to distance from the exchange, but recently it has been about 300kBps.

I seem to recall RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) not using the whole bandwidth before, but maybe now the total has dropped to RTMPdump levels and it takes priority, blocking everything else out.

kramund
02-09-2011, 12:56 AM
Hi Have just installed iviewfox into Firefox on my Mac OSx.
The scripts appear to run fine but when the download is complete I cant view it in any video program (ie Quicktime, Itunes, Toast 10 etc) each program says it doesn't know the file type.
Is the file in a Mp4 format or something different - is there something I can do?

thanks

Yansky
02-09-2011, 12:58 AM
Hi Have just installed iviewfox into Firefox on my Mac OSx.
The scripts appear to run fine but when the download is complete I cant view it in any video program (ie Quicktime, Itunes, Toast 10 etc) each program says it doesn't know the file type.
Is the file in a Mp4 format or something different - is there something I can do?

thanks

Have you tried VLC? That will play pretty much anything.
http://www.videolan.org/vlc/download-macosx.html

kramund
02-09-2011, 01:20 AM
No I havent but I wanted to be able to import the video to itunes to sync to my ipad for later viewing ... however, I assume the file format used by iViewfox is mp4 compatible?

blood.eaglz
02-09-2011, 01:33 AM
No I havent but I wanted to be able to import the video to itunes to sync to my ipad for later viewing ... however, I assume the file format used by iViewfox is mp4 compatible?

this might help explain thing for you

the format that iView uses is F4V, which is just flash video (.flv) container with MPEG4 and AAC streams, however for whatever reason they are named .MP4, the files can be very easily remuxed (ie streams copyed out of the flv and placed into .mp4 containers) by using the package below (all the downloaders just copy the file from the server, so this applies to all iview downloaders)

http://rapidshare.com/files/436601834/Remux.zip
http://www.megaupload.com/?d=CD4CPJ0H

[Instructions and info edited from one of my earlier posts]

This is a couple of bat files using ffmpeg (all of 3 must be in the same directory, with the mp4s) and another zip with a cmd program called recycle.exe which needs to be put in the windows->System32 folder

the remux.bat converts whatever file you drop n' drop on it into an mp4 with directly copied streams ie no reencoding (also works with plus7 flv files as they are also F4V), while the feeder.bat will go through every .mp4 file in the folder and will run them through the remux.bat.

the recycle.exe is required to send the originals to the recycle bin rather than deleting them outright in case some thing goes wrong.

lastly I suggest you get mediainfo as it is a nice quick acid test on whether the remux was successful as if it does not show data for all segments (container, video and audio) then its a dud and need to restore the original and go from there.

Obviously this is a windows based solution, and will be little use to you if you're running a Apple or Linux machine.

[end or repost]

After REmux you should end up with compatible MP4 files :)

If you end up with a dud let me know and I'll help you fix it with Frhed :)

kramund
02-09-2011, 01:53 AM
No I havent but I wanted to be able to import the video to itunes to sync to my ipad for later viewing ... however, I assume the file format used by iViewfox is mp4 compatible?

Tried VLC for Mac and it works - so I am guessing the file format isnt a standard mp4 (?)

kramund
02-09-2011, 01:55 AM
this might help explain thing for you

the format that iView uses is F4V, which is just flash video (.flv) container with MPEG4 and AAC streams, however for whatever reason they are named .MP4, the files can be very easily remuxed (ie streams copyed out of the flv and placed into .mp4 containers) by using the package below (all the downloaders just copy the file from the server, so this applies to all iview downloaders)

http://rapidshare.com/files/436601834/Remux.zip
http://www.megaupload.com/?d=CD4CPJ0H

[Instructions and info edited from one of my earlier posts]

This is a couple of bat files using ffmpeg (all of 3 must be in the same directory, with the mp4s) and another zip with a cmd program called recycle.exe which needs to be put in the windows->System32 folder

the remux.bat converts whatever file you drop n' drop on it into an mp4 with directly copied streams ie no reencoding (also works with plus7 flv files as they are also F4V), while the feeder.bat will go through every .mp4 file in the folder and will run them through the remux.bat.

the recycle.exe is required to send the originals to the recycle bin rather than deleting them outright in case some thing goes wrong.

lastly I suggest you get mediainfo as it is a nice quick acid test on whether the remux was successful as if it does not show data for all segments (container, video and audio) then its a dud and need to restore the original and go from there.

Obviously this is a windows based solution, and will be little use to you if you're running a Apple or Linux machine.

[end or repost]

After REmux you should end up with compatible MP4 files :)

If you end up with a dud let me know and I'll help you fix it with Frhed :)

Thanks blood.eaglz for the info - Ill give it a crack and let you know.

Yansky
02-09-2011, 04:02 AM
Kramund, I've re-created Blood Eaglz's batch files as an Automator script app.

http://forboden.com/coding/FLVIvewDemux4OSX.zip

Just drag the mp4 files you want to convert onto the FLVIvewDemux4OSX.app file.

It will create a new directory called 'demuxed' inside the folder of the original files with the new converted files. (i hope that makes sense)

kramund
02-09-2011, 06:59 PM
Kramund, I've re-created Blood Eaglz's batch files as an Automator script app.

http://forboden.com/coding/FLVIvewDemux4OSX.zip

Just drag the mp4 files you want to convert onto the FLVIvewDemux4OSX.app file.

It will create a new directory called 'demuxed' inside the folder of the original files with the new converted files. (i hope that makes sense)

Thanks Yansky - will give it a go tonight.

kramund
02-09-2011, 11:53 PM
Kramund, I've re-created Blood Eaglz's batch files as an Automator script app.

http://forboden.com/coding/FLVIvewDemux4OSX.zip

Just drag the mp4 files you want to convert onto the FLVIvewDemux4OSX.app file.

It will create a new directory called 'demuxed' inside the folder of the original files with the new converted files. (i hope that makes sense)

Hi Yansky - Have tried this but get a script error.

Yansky
02-10-2011, 12:00 AM
Hi Yansky - Have tried this but get a script error.

Just to confirm, you're on a mac, not windows right?

Try doing them one at a time and delete the demuxed folder after each is complete. Delete it before you start as well.

kramund
02-10-2011, 12:42 AM
Just to confirm, you're on a mac, not windows right?

Try doing them one at a time and delete the demuxed folder after each is complete. Delete it before you start as well.

Yes it is a Mac.

Is the folder created in the same location as the app. Fo I need to place the app anywhere special?

Yansky
02-10-2011, 12:49 AM
Yes it is a Mac.

Is the folder created in the same location as the app. Fo I need to place the app anywhere special?

The folder is created wherever the video you're converting is located. You don't need to place the app anywhere special. Just keep it in it's folder with ffmpeg.

kramund
02-10-2011, 12:59 AM
The folder is created wherever the video you're converting is located. You don't need to place the app anywhere special. Just keep it in it's folder with ffmpeg.

Ok.

This is what I am doing...

Extracted the files and a folder was created: FLViviewDemux4OSX
I copied the streamed file into this location.
I grab the file with the pointer and drop it on: FLViviewDemux4OSx app
I get the following: The action “Run Shell Script” encountered an error. Check the actionʼs properties and try running the workflow again.

Yansky
02-10-2011, 01:32 AM
Ok.

This is what I am doing...

Extracted the files and a folder was created: FLViviewDemux4OSX
I copied the streamed file into this location.
I grab the file with the pointer and drop it on: FLViviewDemux4OSx app
I get the following: The action “Run Shell Script” encountered an error. Check the actionʼs properties and try running the workflow again.

K, sounds like there's a problem with my code. I might not have time to fix it tonight though.

If you want to try it yourself you can use the terminal in OSX. Here are the steps:
1.Open the terminal (it's in the applications/utilities folder)
2. Drag ffmpeg to the terminal. It will show up in the terminal as an absolute path to ffmpeg
3.make sure the mp4 file is in the same directory as ffmpeg
4. Add the following text to the end of the ffmpeg absolute path that is showing in the terminal
-i "filename.mp4" -vcodec copy -acodec copy newFilename.mp4
(replace filename.mp4 with the filename of the original file)

kramund
02-10-2011, 02:10 PM
K, sounds like there's a problem with my code. I might not have time to fix it tonight though.

If you want to try it yourself you can use the terminal in OSX. Here are the steps:
1.Open the terminal (it's in the applications/utilities folder)
2. Drag ffmpeg to the terminal. It will show up in the terminal as an absolute path to ffmpeg
3.make sure the mp4 file is in the same directory as ffmpeg
4. Add the following text to the end of the ffmpeg absolute path that is showing in the terminal
-i "filename.mp4" -vcodec copy -acodec copy newFilename.mp4
(replace filename.mp4 with the filename of the original file)

thanks - tried this but just kept getting an error that the file could not be found. I have made sure that the video is in the same directory. so not sure what is happening.

mce
02-10-2011, 06:11 PM
thanks - tried this but just kept getting an error that the file could not be found. I have made sure that the video is in the same directory. so not sure what is happening.

What are the source and destination filenames you are working with?

Do either or both filesnames have spaces in them?

Make sure you uses quotes (") around the filenames.

kramund
02-10-2011, 06:30 PM
What are the source and destination filenames you are working with?

Do either or both filesnames have spaces in them?

Make sure you uses quotes (") around the filenames.

I simplified the source filename to just test.mp4 and destination test2.mp4 so no spaces. I have ensured there are quotes around both filenames. The app is reporting "No such file or directory" for the source (test.mp4)

here is the string I am using:

<directory location>/ffmpeg -i "test.mp4" -vcodec copy -acodec copy "test2.mp4"

kramund
02-10-2011, 06:55 PM
I simplified the source filename to just test.mp4 and destination test2.mp4 so no spaces. I have ensured there are quotes around both filenames. The app is reporting "No such file or directory" for the source (test.mp4)

here is the string I am using:

<directory location>/ffmpeg -i "test.mp4" -vcodec copy -acodec copy "test2.mp4"

Update: Manged to get it working by changing into the directory in Terminal first then running the app using the full directory path.

Not sure why I need to be in the directory AND provide the full path though? I thought I could do one or the other - though I am not proficient in UNIX.

kramund
02-11-2011, 06:37 PM
Update: Manged to get it working by changing into the directory in Terminal first then running the app using the full directory path.

Not sure why I need to be in the directory AND provide the full path though? I thought I could do one or the other - though I am not proficient in UNIX.

Yansky / Mce - thanks for your assistance have been able to successfully capture streams and convert to mp4. Also, the file works fine on my iPad. BTW: the conversion process takes seconds which is really impressive! Again, thanks.

Budsy
02-11-2011, 08:02 PM
Hi Folks
I registered here just to post a big thanks to the person responsible for iViewNapper.
My wife hasn't been well and our VCR crapped out last night while I was recording something for her, downloaded it today, dumped it to a USB stick and she's watching it as we speak, iViewNapper worked like a charm.
Once again, a big thanks from me.
Budsy.

mce
02-11-2011, 10:11 PM
Hi Folks
I registered here just to post a big thanks to the person responsible for iViewNapper.
My wife hasn't been well and our VCR crapped out last night while I was recording something for her, downloaded it today, dumped it to a USB stick and she's watching it as we speak, iViewNapper worked like a charm.
Once again, a big thanks from me.
Budsy.

No problem mate.

If you guys watch shows on SBS or 7 then check out my other Nappers on the website.

Don't let her miss her favourite "Desperate Housewives" episodes. :)

trojan
02-15-2011, 12:38 AM
I have iViewFox 1.2.2 in FF3.6.13 on W7_64 and the latest update appears to have stopped it working?
The save dialog appears but the cmd window does not and no net traffic follows?

gxdata
02-15-2011, 01:41 AM
I have iViewFox 1.2.2 in FF3.6.13 on W7_64 and the latest update appears to have stopped it working?
The save dialog appears but the cmd window does not and no net traffic follows?

The downloaders are working for me right now (and have been over the past 4-6 hours). In fact, it has been a trouble-free period for the last 7 to 10 days.

Try the batch downloader (light-weight, easy to get going) - or iView Napper.

Also it is worth going to the iView site to try a couple of (small) kids shows, to see what the connection is like from your place.

trojan
02-15-2011, 04:23 AM
iview plays fine
iview napper works
on internode ;)
Cheers

phude
02-18-2011, 05:25 AM
Hey guys I recently discovered iViewFox reading around the forums here.

I've got it installed on a rev A MBP, and ran the terminal command as prompted before my initial use. However, when I attempt to download any programs I get the following error. Any help would be greatly appreciated.

Last login: Tue Feb 8 20:28:03 on ttys000
/Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;
a:~ Ben$ /Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;/Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command: line 2: /Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/rtmpdump: Bad CPU type in executable
logout

[Process completed]

Yansky
02-18-2011, 05:55 AM
Hey guys I recently discovered iViewFox reading around the forums here.

I've got it installed on a rev A MBP, and ran the terminal command as prompted before my initial use. However, when I attempt to download any programs I get the following error. Any help would be greatly appreciated.

Last login: Tue Feb 8 20:28:03 on ttys000
/Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;
a:~ Ben$ /Users/Ben/Library/Application\ Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command ; exit;/Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/b.command: line 2: /Users/Ben/Library/Application Support/Firefox/Profiles/5gftu0ms.default/extensions/iViewFox@forboden.com/rtmpdump/rtmpdump: Bad CPU type in executable
logout

[Process completed]

What processor type do you have?

phude
02-19-2011, 05:57 PM
hi Yansky

Mac osx 10.4.11

(admission - the post i actually posted was a copy of someone elses post (in another forum) who has essentially the same problem as me - well at least we both got the same error message in the Terminal window that ended with "Bad CPU type in executable logout")

I cannot actually replicate that error message now but it is still not working. this is what is happening now

Open iview and it loads. Click on program to watch/download, select episode and click on 'continue'. Program goes to load but then diverts to prompt to save (so far so good?).

So then it gives Save as "Laid series 1 Episode 2.mp4" so i click save. I go to the folder where i saved it and the file is called "Laid series 1 Episode 2.srt". When i open this file VLC starts up but can't get nothing to play.

and now i'm stumped............... any help would be good thanks

Yansky
02-19-2011, 06:07 PM
hi Yansky

Mac osx 10.4.11

(admission - the post i actually posted was a copy of someone elses post (in another forum) who has essentially the same problem as me - well at least we both got the same error message in the Terminal window that ended with "Bad CPU type in executable logout")

I cannot actually replicate that error message now but it is still not working. this is what is happening now

Open iview and it loads. Click on program to watch/download, select episode and click on 'continue'. Program goes to load but then diverts to prompt to save (so far so good?).

So then it gives Save as "Laid series 1 Episode 2.mp4" so i click save. I go to the folder where i saved it and the file is called "Laid series 1 Episode 2.srt". When i open this file VLC starts up but can't get nothing to play.

and now i'm stumped............... any help would be good thanks

Do you have the latest version installed (1.2.2)?
https://addons.mozilla.org/af/firefox/addon/iviewfox/versions/

Try running Firefox in private browsing mode, that seemed to fix it for this user: https://addons.mozilla.org/af/firefox/addon/iviewfox/reviews/#review-255265

If that doesn't work, could you try this for me so I can narrow down where the error is:
Could you install a portable version of firefox, then install iviewfox into the portable version and see if it works for you?

http://portableapps.com/apps/internet/firefox_portable

( The portable version wont mess up your installed version of Firefox.)

phude
02-20-2011, 03:13 AM
yep - using 1.2.2

tried private browsing mode but no dice

seems that the portable version of firefox wont work on Mac OSX

update - cannot even get it to save a .srt file now so gonna uninstall it and try re-installing

ps version 1.2.2 isn't on here "https://addons.mozilla.org/af/firefox/addon/iviewfox/"

but must have found it the other night so will keep looking.

also in trying to get it to work the other night somehting about it having to run from a specific port but cannot find that info now and also not sure how to find out what port it is working through (if that makes sense)

thanks
Do you have the latest version installed (1.2.2)?
https://addons.mozilla.org/af/firefox/addon/iviewfox/versions/

Try running Firefox in private browsing mode, that seemed to fix it for this user: https://addons.mozilla.org/af/firefox/addon/iviewfox/reviews/#review-255265

If that doesn't work, could you try this for me so I can narrow down where the error is:
Could you install a portable version of firefox, then install iviewfox into the portable version and see if it works for you?

http://portableapps.com/apps/internet/firefox_portable

( The portable version wont mess up your installed version of Firefox.)

phude
02-20-2011, 03:31 AM
got this message after installing 1.2.0

chmod a+x /Users/phillipmaher/Library/Application\ Support/Firefox/Profiles/idqpuzun.default/extensions/iViewFox@forboden.com/rtmpdump/*

Launched terminal and got this...........

Last login: Sun Feb 20 18:20:41 on console
Welcome to Darwin!
phillip-mahers-computer:~ phillipmaher$

cut and pasted the above after the $ sign

closed terminal

Found Version 1.2.2 here https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

says works with Firefox 3.6 - 4.0 and checked that my Firefox was up to date - i'm running 3.6.13

installed 1.2.2

loaded ABC iview and choose Laid - clicked on watch and Save To... screen came up and.........nothing........no file saved

i wonder what i've done?

johnm
02-20-2011, 05:39 PM
Yesterday my iViewNapperLite (20101218) stopped working. It will not load. Keeps coming up with a script error. Installing the iView NapperLite files again did not change the fault. The script error is attached. Many thanks
John

mce
02-21-2011, 05:25 AM
Yesterday my iViewNapperLite (20101218) stopped working. It will not load. Keeps coming up with a script error. Installing the iView NapperLite files again did not change the fault. The script error is attached. Many thanks
John

Looks like the JSON files were not available at the time you were trying to get the "index". Seems OK now.

johnm
02-22-2011, 04:26 AM
Nope, still doing it. Guess it is at my end then. Any suggestions?
Like I said, I have reloaded Lite with exactly the same result. Can not think of what might have changed to cause this. What can affect these JSON files?
Thanks

Yansky
02-22-2011, 04:40 AM
also in trying to get it to work the other night somehting about it having to run from a specific port but cannot find that info now and also not sure how to find out what port it is working through (if that makes sense)

thanks

The rtmpdump program uses port 1935 if memory serves correctly. Sometimes peoples routers have firewalls that block the port.

You might also try the command line script: http://iviewdownloaders.wikia.com/wiki/ABC_iView_Downloaders_Wiki#Mac

yeah_sir
02-22-2011, 10:23 AM
Hi Everybody

i download iviewnapper/iviewnapperlite but it doesn't work. When i chose a program and start fitch, the rtmpdump channel appears and say
NFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
So i have this problem .by the way i'm not in autralia (it's this the problem?) or there is something wrong
i'm open to other methods but of course if it start download .

thanks

Anywho
02-22-2011, 01:06 PM
by the way i'm not in autralia (it's this the problem?)

Yes, that's the problem. ABC Australia uses region blocking just like some other streaming video suppliers.

i'm open to other methods but of course if it start download .
You can try using an Australian-based VPN or Australian-based Proxy server. Australian proxy servers are often quite slow. Australian VPN's are OK, but not great.

yeah_sir
02-22-2011, 01:25 PM
thank you anywho for your answer but why i can play sbs napper witout be connected to vpn in australia. And how to use a proxy with iviewnapper.

Anywho
02-22-2011, 08:40 PM
but why i can play sbs napper witout be connected to vpn in australia.
Simply, SBS allow it. SBS is not ABC - it's as simple as that. Just the same as Australians cannot normally get some US or [insert other country here] services. For example, Hulu needs region bypassing in order to view its services in Australia.

And how to use a proxy with iviewnapper.
Google it (http://www.google.com/search?hl=en&source=hp&biw=1112&bih=867&q=how+to+use+a+proxy&aq=f&aqi=g9g-s1&aql=&oq=).

Yansky
03-02-2011, 07:21 PM
New version of iViewFox: https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

Lots of changes. I believe I have finally fixed the issues some people were having under Windows. Also, users on OSX no longer have to run code from the Terminal to get the extension to work! woohoo!:D

Props goes out to the Firebug peeps after I stumbled onto their code: http://code.google.com/p/fbug/source/browse/branches/firebug1.7/content/firebug/lib.js#4946

Anywho
03-03-2011, 07:19 PM
New version of iViewFox: https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

Lots of changes. I believe I have finally fixed the issues some people were having under Windows.


Darn it... Still busted for me.

v1.2.0 was the last one that works for me. This one (and v1.2.2) gets to the "Save To..." dialog, you click "OK" and then the dialog closes. RTMPdump doesn't start (and testing shows it never gets executed). :eek:

Sorry :(

Yansky
03-03-2011, 09:22 PM
Darn it... Still busted for me.

v1.2.0 was the last one that works for me. This one (and v1.2.2) gets to the "Save To..." dialog, you click "OK" and then the dialog closes. RTMPdump doesn't start (and testing shows it never gets executed). :eek:

Sorry :(
Bummer. :confused:

I'm stumped as to why it's not working for some people. The only thing different I guess is that I'm testing under Windows inside a VirtualBox on OSX. But I don't think that would make a difference.

If you can be bothered, could you try a little experiment for me? Open the iv.jsm file in the iviewfox extensions folder in the Firefox profiile directory and change this code around line 343:

let fileCC = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
fileCC.initWithPath(iViewFox.getrtDump);
process.init(fileCC);
process.run(false, args, args.length);

to

let fileCC = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
fileCC.initWithPath("C:\\WINDOWS\\NOTEPAD.EXE"); //assuming that's where it is on your system
process.init(fileCC);
process.run(false, [], 0);

Save the file then restart Firefox. That should then open notepad on windows when you try to watch a show on iView.

mce
03-04-2011, 02:27 AM
I tried the above before and after the little coding mod.

Before:

Got the Save As... box, hit enter but no rtmpdump window.

After:

Got the Save As... box, but notepad didn't appear either.

I ran the firefox Error Console and and got the following error after pressing the Enter key for Save As...

Error: fwindowTypeSplit is not defined
Source File: file:///C:/Users/mypc/AppData/Roaming/Mozilla/Firefox/Profiles/o1446y93.mypc/extensions/iViewFox@forboden.com/modules/iv.jsm
Line: 267

Question.

With debug turned on, does it go to a file or just the Error Console?

Yansky
03-04-2011, 03:07 AM
I tried the above before and after the little coding mod.

Before:

Got the Save As... box, hit enter but no rtmpdump window.

After:

Got the Save As... box, but notepad didn't appear either.

I ran the firefox Error Console and and got the following error after pressing the Enter key for Save As...

Error: fwindowTypeSplit is not defined
Source File: file:///C:/Users/mypc/AppData/Roaming/Mozilla/Firefox/Profiles/o1446y93.mypc/extensions/iViewFox@forboden.com/modules/iv.jsm
Line: 267

Question.

With debug turned on, does it go to a file or just the Error Console?

Thanks that helps a lot. fwindowTypeSplit should actually be fTypeSplit.

I wasn't encountering that error because that code is only run when you're downloading from hostworks (which I don't, I'm on edgefcs.net)

The debug mode actually just adds the "-z" parameter to rtmpdump, so it doesn't really help with the javascript code.

I've been realising lately that I really need to change the way I code. I need to put more try/catch/throw's in my code to make it easier to debug.

ok, lets try this again, 1.2.7 is the latest: https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/

(thanks mce :) )

Anywho
03-04-2011, 05:20 AM
ok, lets try this again, 1.2.7 is the latest: https://addons.mozilla.org/en-US/firefox/addon/iviewfox/versions/
Yay! Itsa Mario :D

Working now, mate :cool:

gxdata
03-09-2011, 01:37 AM
An rtmpdump question: when it's capturing the stream, I see output that indicates the total duration expected (metadata stored in the show being streamed).
Can I capture that piece of data (eg, it is 301.08 for Peppa Pig S2E9)?

Reason: it would be nice to have real size and duration - quite a number are hugely inaccurate as stored in the iView index/catalog/json files.

trojan
03-10-2011, 08:24 AM
1.2.7 fixed it for me too :cool:

gxdata
03-11-2011, 12:22 AM
Fri 11March2011 @ 6:20PM (Sydney time):
The iView page works fine, but iViewNapper / Batch Downloader cannot get the catalog/index file.

I guess I need to sniff the iView page http://www.abc.net.au/iview/#/recent

The catalog file (20Kb only) seems to be binary - possibly GZIP compressed?
[EDIT]
The file is not opened using standard compresion utilities, but I recall an article by Rick Strahl from a while back which shows what to do on the client side (most browsers will deflate web pages with GZIP encoding without problem, he says).

http://www.west-wind.com/Weblog/posts/102969.aspx

This online tool proves the stituation:

http://www.gidnetwork.com/tools/gzip-test.php

If the iView catalog/index URL (http://tviview.abc.net.au/iview/api2/?seriesIndex) is pasted into it, it is unpacked to JSON code.

That is the problem.

any ANONYMOUS forum user
03-11-2011, 01:52 AM
A quick n Dirty test looks like that is the case, it is Gzip compressed.

using gzip from GnuWin32 allows decompression back to text.

find the line:
bin\wget %WGET_OPT% -O "cache\index.json" "http://tviview.abc.net.au/iview/api2/?seri.......
chg to bin\wget %WGET_OPT% -O "cache\index.gz" "http://tviview.abc.net.au/iview/api2/?seri
and add the lines:
gzip.exe -d "cache\index.gz"
ren cache\index index.json

gxdata
03-11-2011, 02:29 AM
A quick n Dirty test looks like that is the case, it is Gzip compressed.

using gzip from GnuWin32 allows decompression back to text.

find the line:
bin\wget %WGET_OPT% -O "cache\index.json" "http://tviview.abc.net.au/iview/api2/?seri.......
chg to bin\wget %WGET_OPT% -O "cache\index.gz" "http://tviview.abc.net.au/iview/api2/?seri
and add the lines:
gzip.exe -d "cache\index.gz"
ren cache\index index.json

That works up to a point - I'm not sure what my problem is.

The Index is converted to text (index.json) and I can read the Episode .json files (in the cache folder) too - but the batch file fails.

Downloading "Yo Gabba Gabba Episode 20 Imagine" ...
and saving the stream with the filename "Yo Gabba Gabba Episode 20 Imagine.mp4"

Downloading from Hostworks server...

Retrieving Token...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
mp4:kids/yogabba_10_01_20 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "Yo Gabba Gabba Episode 20 Imagine"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
kids/yogabba_10_01_20 path not found. Retrying a different path...

Retrieving Token...
Resuming previous download for "Yo Gabba Gabba Episode 20 Imagine"...
RTMPDump v2.2d (r474)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
kids/yogabba_10_01_20.mp4 path not found. Retrying a different path...


The show "Yo Gabba Gabba Episode 20 Imagine" was not found on the server.
(I will try to get the GUI version working later; my saved catalog.json from that is not liked by gzip.exe)

OK - fixed.

With the batch file, gzip.exe needs to be in \bin\ - funny that having it in my working folder (where the .bat file is) did actually create text .json files for index and series (mistake earlier - not episode .json files of course).

Anywho
03-11-2011, 02:38 AM
That works up to a point - I'm not sure what my problem is.

Seems like it's back to plain text at the moment... They're probably playing around with it again :rolleyes:

edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything ;)

gxdata
03-11-2011, 02:43 AM
Seems like it's back to plain text at the moment... They're probably playing around with it again :rolleyes:

edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything ;)

Are you sure?

Anywho
03-11-2011, 02:47 AM
Are you sure?

LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!) :D

edit: I'll knock up a cheap unzipper later if they keep it ;)

gxdata
03-11-2011, 02:55 AM
LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!) :D

Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.

gxdata
03-11-2011, 02:59 AM
Weird - Mr Moon titles have changed since a few days ago, and its latest show is downloading (I just luv the kids shows).

But ['The Midday Report 11-03-11'] doesn't work for me. [EDIT - OK now]

Seems they are doing a wholesale edit of show titles, at least for the kids / ABC3 stuff.

[EDIT - I think a lot is going on - the Midday Report glitch was probably a normal "show-missing, back in 5 minutes" situation]

Anywho
03-11-2011, 03:09 AM
Yes, the catalog (index) is in text, but the series json file just now failed (on the GUI). I guess it's not too hard to try both uncompressed and compressed, but a PITA.

I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.

gxdata
03-11-2011, 03:20 AM
I've just compiled a standalone gzipper that seems to work. It's the one from the ZLIB library (minigzip-static.exe if anyone wants to have a go at it). It compiles to about 61KB... I'm just "trimming the fat" off it at the moment - we don't need compression.

It should be possible (with .NET, otherwise) to work on the stream rather than save to disk, but I'm puzzled that my save of the stream is not convertible with gzip.exe, whereas if I point the online test tool (see post above) to the URL, it gets & unravels the json from [{ to }].

mce ?

gxdata
03-11-2011, 03:24 AM
There's a lot of house-keeping going on at iView - Lateline from 1 and 2 March have just appeared. And the RSS feeds were screwed up earlier in the day, fixed in the last 30-60 minutes. :D

And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!

Anywho
03-11-2011, 04:12 AM
And Anywho is right - they are switching the gzip of the catalog / index on & off - I wonder how the iView Player is managing? It's an interesting little problem to code around, from our end!

Nah... Just look for the opening "[{" in the first two (non-space) characters for the json text file.

(If anyone wants the ungzip (Windows) executable, you can grab it from here (http://www.4shared.com/file/T_c_xLao/ungzip.html) ;))

mce
03-11-2011, 03:22 PM
Just saw this thread.

Yep iVN fails at get catalog but iVNL seems to work 100% OK (at the moment).

gxdata
03-11-2011, 09:33 PM
Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)

Yansky
03-11-2011, 11:05 PM
Sitting here coding, suddenly the catalog is back to text-based JSON!
12/03/2011_15:30 AEDT (UTC-11:00)

Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3

gxdata
03-11-2011, 11:28 PM
Are you able to set the request headers for you http request?

I think setting the accepted-encoding header "Accept-Encoding: gzip;q=0" will tell a server not to serve up the page using gzip.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.3

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.

err - the .Downloadfile method of the WebClient class is probably what I need. Yep - all go now.


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.

Yansky
03-11-2011, 11:35 PM
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/library/system.net.webclient.headers%28v=vs.80%29.aspx

Yansky
03-11-2011, 11:45 PM
Slightly OT, but check this out - http://forums.whirlpool.net.au/forum-replies.cfm?t=1656227

I have to pay now to get the gcc compiler for OSX.

Anywho
03-11-2011, 11:50 PM
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:

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 ;))

mce
03-11-2011, 11:52 PM
I've had the switching during my development too.

At one point there, 3 out of 5 requests were gzip the others plain.

gxdata
03-11-2011, 11:55 PM
What about this: http://msdn.microsoft.com/en-us/library/system.net.webclient.headers%28v=vs.80%29.aspx

haha - I was about to amend my last post, having just read this -

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!

Yansky
03-12-2011, 12:00 AM
Any reason you guys use wget instead of curl ? Nothing against wget, just curious.

(i love curl ) :p

Anywho
03-12-2011, 12:25 AM
Any reason you guys use wget instead of curl ? Nothing against wget, just curious.

(i love curl ) :p

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...]

Anywho
03-12-2011, 12:52 AM
Any reason you guys use wget instead of curl ?

Have tried a "simple" version of it from here (http://www.paehl.com/open_source/?CURL_7.21.4). 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.

Anywho
03-12-2011, 01:16 AM
Newer version of iView Downloader (batch file version) - v15.82 is here (http://www.4shared.com/file/750EOTqx/iView_Downloader_v1582.html).


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 (http://www.4shared.com/file/9slUCR8Y/iView_GetSRT.html).

Updated iView_Later to v1.2. You can get it from here (http://www.4shared.com/file/ScxsAfIq/iView_Later_v12.html).

(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.)

gxdata
03-12-2011, 04:34 AM
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.

mce
03-12-2011, 05:20 PM
I'm slow to release an updated iVN this time as I changed from WebClient() to HttpWebRequest() and the bugger is timing out 10% of the time now. :(

servalan
03-12-2011, 06:56 PM
Newer version of iView Downloader (batch file version) - v15.82 is here (http://www.4shared.com/file/750EOTqx/iView_Downloader_v1582.html).Many thanks - iViewDL all working fine here again.

mce
03-12-2011, 07:08 PM
Update to iViewNapper:

Version 20110312.

* Fix for change to gzip encoding of web pages.
* Resume working again.

Now using RTMPDUMP V2.3r557.

Thanks to all in this thread for ideas. :)

gxdata
03-12-2011, 09:35 PM
I'm slow to release an updated iVN this time as I changed from WebClient() to HttpWebRequest() and the bugger is timing out 10% of the time now. :(

I decided to use WebClient().DownloadFile(index.gz) and then use ungzip.exe to unpack the resulting file.
Even if it is actually text-format json, the ungzip.exe utility produces a nice json file (text to text, if you get what I mean).
Not pretty, but it works.
Besides that, I couldn't get the HttpWebRequest to work.

They seem to be using the text format consistently now (not that I have kept track since mid Saturday).

The series and episode naming stinks - almost as bad as Plus7. I think regular iView Player users will get p*ssed off pretty soon.

Anywho
03-13-2011, 04:14 AM
Many thanks
You're welcome :)

iViewDL all working fine here again.
Good to hear ;)

Anywho
03-13-2011, 04:15 AM
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.

Thanks! Glad it's useful to you :)

gxdata
03-14-2011, 03:50 AM
Update to iViewNapper:

Version 20110312.

* Fix for change to gzip encoding of web pages.
* Resume working again.

Now using RTMPDUMP V2.3r557.

Thanks to all in this thread for ideas. :)

Small error: If the show does not have a .SRT (closed caption / sub-titles) file, a messagebox pops up. The easy work-around (for users) is to turn 'Get subtitles' OFF - it is ON by default - but they would have to know where to do this. I think I requested it be ON by default, some months ago.
Perhaps best to just remove the messagebox on 404?

blood.eaglz
03-14-2011, 05:58 AM
Thanks Anywho and gxdata for identifying and countering the latest defense by iview, and thanks mce for the quick patch to iviewnapper.
------------------------------------------------------------------------

mce, I thought it was about time I reiterated my feature request list, I remember I was supposed to a few months ago to remind you....

1)I still would like a way of defining the default action of iviewnapper's srt download, preferably without the need for a new external file, so a parse exe name with a switch on the end eg iviewnapper.exe = srt
iviewnapper-ns.exe = no srt

2) for sbs and p7 nappers to be brought up to/to look for the same version of rmtpdump as iviewnapper so can go from 3 versions to 1.

3)to remove or at least reduce the focus lock on iviewnapper so at the very least can minimise the program without having to use "show desktop" or the hit an miss alt+tab. (you seemed to like this the first time round as you said it simplified the code for you)


hope I didn't come off too pushy :)

gxdata
03-14-2011, 06:59 AM
1)I still would like a way of defining the default action of iviewnapper's srt download, preferably without the need for a new external file, so a parse exe name with a switch on the end
eg iviewnapper.exe = srt
iviewnapper-ns.exe = no srt

2) for sbs and p7 nappers to be brought up to/to look for the same version of rmtpdump as iviewnapper so can go from 3 versions to 1.

3)to remove or at least reduce the focus lock on iviewnapper so at the very least can minimise the program without having to use "show desktop" or the hit an miss alt+tab. (you seemed to like this the first time round as you said it simplified the code for you)


#2 - I use rtmpdump v2.3, for all 3 applications (and for the Batch Downloader for iView). I rename rtmpdumpv2.3.exe to the name expected by the program - eg, p7Napper expects v2.2c (of course, the name has to be exactly what is hard-coded into the respective application). There is a better way, of course - user settings for the applications.

#1 - There is a setting in iViewNapper for subtitles - it is ON by default. I guess a command-line switch might be used (one application, you create a shortcut with the appropriate switch), but again I would favour user settings.

#3 - Would you want to minimize the rtmpdump black box, too?

blood.eaglz
03-14-2011, 07:09 AM
#2 - I use rtmpdump v2.3, for all 3 applications (and for the Batch Downloader for iView). I rename rtmpdumpv2.3.exe to the name expected by the program - eg, p7Napper expects v2.2c (of course, the name has to be exactly what is hard-coded into the respective application). There is a better way, of course - user settings for the applications.


#2 what I would like is for all 3 to use a SINGLE rmtpdump exe rather than have to have a separate one for all 3, if it wasn't for the possibility of one or two being incompatible with a newer version I would suggest they simply looked for rtmpdump.exe

#1 - There is a setting in iViewNapper for subtitles - it is ON by default. I guess a command-line switch might be used (one application, you create a shortcut with the appropriate switch), but again I would favour user settings.

#1 Yep I know its there but it is not a STATIC setting it resets every time you close, and as I rarely if ever use the srts it add more clutter to the folder which although easily deleted would rather not have present in the first place. as to how I suggested be implemented I didn't mean by shortcut I meant in a style like PictureResizer (http://www.rw-designer.com/picture-resize) does where what the exe itself is named determines how it operates.


#3 - Would you want to minimize the rtmpdump black box, too?

#3 already can (and do), unlike iviewnapper itself it doesn't have a focus lock :)