Audio/video stream recording forums

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

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

Reply Post New Thread
 
Thread Tools Display Modes
  #461  
Old 03-04-2011, 04:07 AM
Yansky Yansky is offline
Member
 
Join Date: May 2010
Posts: 92
Yansky is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by mce View Post
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...

Code:
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/fir...wfox/versions/

(thanks mce )

Last edited by Yansky : 03-04-2011 at 04:08 AM. Reason: meh
Reply With Quote
  #462  
Old 03-04-2011, 06:20 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Yansky View Post
ok, lets try this again, 1.2.7 is the latest: https://addons.mozilla.org/en-US/fir...wfox/versions/
Yay! Itsa Mario

Working now, mate
Reply With Quote
  #463  
Old 03-09-2011, 02:37 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


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.
Reply With Quote
  #464  
Old 03-10-2011, 09:24 AM
trojan trojan is offline
Junior Member
 
Join Date: Feb 2011
Posts: 7
trojan is on a distinguished road
Thumbs up

Re: How to use iView (ABC Australia) downloaders


1.2.7 fixed it for me too
Reply With Quote
  #465  
Old 03-11-2011, 01:22 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


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.

Last edited by gxdata : 03-11-2011 at 02:59 AM. Reason: gzip/deflation problem
Reply With Quote
  #466  
Old 03-11-2011, 02:52 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


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
Reply With Quote
  #467  
Old 03-11-2011, 03:29 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by any ANONYMOUS forum user View Post
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.

Quote:
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).

Last edited by gxdata : 03-11-2011 at 03:40 AM. Reason: formatting output
Reply With Quote
  #468  
Old 03-11-2011, 03:38 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
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

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

Last edited by Anywho : 03-11-2011 at 03:41 AM. Reason: I'm allowed to!
Reply With Quote
  #469  
Old 03-11-2011, 03:43 AM
gxdata gxdata is offline
Western Wombat
 
Join Date: Feb 2009
Posts: 332
gxdata is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by Anywho View Post
Seems like it's back to plain text at the moment... They're probably playing around with it again

edit: Yep, and now it's back to compressed. Let it go for a couple of days before committing anything
Are you sure?
Reply With Quote
  #470  
Old 03-11-2011, 03:47 AM
Anywho Anywho is offline
Batch File Basher
 
Join Date: Jul 2010
Posts: 204
Anywho is on a distinguished road
Default

Re: How to use iView (ABC Australia) downloaders


Quote:
Originally Posted by gxdata View Post
Are you sure?
LOL! Yes! They're flipping between text and compressed... Probably watching this tread (hi guys!)

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

Last edited by Anywho : 03-11-2011 at 03:49 AM. Reason: Ummm?
Reply With Quote
Reply Post New Thread
Tags: , , , ,



Thread Tools
Display Modes

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

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


All times are GMT -6. The time now is 12:42 PM.


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