Closed GoogleCodeExporter closed 9 years ago
I did try to have a look at this, it's restricted so can't try from here, I
need to find a proxy, looked but could not see one for NZ. Also seen your push
requests. For tvnz, some content is restricted - tried Revolution, then tried
more local content this played using debian sequeeze/iceweasel/flashplayer
v11.2, but doesn't download...
$ get_flash_videos --debug
http://tvnz.co.nz/hobbit-news/tamati-reads-weather-in-elvish-video-5243599
6 plugins installed:
- Channel5.pm
- Hulu.pm
- Telequebec.pm
- Tv3.pm
- Tvnz.pm
- Divxstage.pm
Trying to open plugin ~/.get_flash_videos/plugins/Tvnz.pm
Using method 'tvnz' for
http://tvnz.co.nz/hobbit-news/tamati-reads-weather-in-elvish-video-5243599
Downloading
http://tvnz.co.nz/hobbit-news/tamati-reads-weather-in-elvish-video-5243599
-> GET
http://tvnz.co.nz/hobbit-news/tamati-reads-weather-in-elvish-video-5243599
<- 200 text/html; charset=UTF-8 (50112): UTF8 on, non-ASCII, 50112 characters
50125 bytes
Extracted playerId: 1146579432001, videoPlayer: 5243599
Extracted playerId: 1146579432001, sessionId:
f86d6617a68b38ee0f400e1f4dc603d6e3b4e4ed videoplayer: 5243599
Error: Player ID looks botched at
/loader/0x1465b2c47070/FlashVideo/Site/Tvnz.pm line 45.
Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.
Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).
Check for updates by running: /usr/local/bin/get_flash_videos --update
If the latest version does not support this please open a bug
at http://code.google.com/p/get-flash-videos/ making sure you include
the output with --debug enabled. Alternatively, fix it yourself and send us
a pull request on Github: https://github.com/monsieurvideo/get-flash-videos
Couldn't download any videos.
Original comment by njtaylor...@gmail.com
on 29 Nov 2012 at 1:25
These are two captured using rtmpsrv/rtmpdump
rtmp@stoney:~$ rtmpsrv
RTMP Server 2.4-git-20121111
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
rtmpdump -r
"rtmp://cp127778.edgefcs.net:1935/ondemand?videoId=1992883195001&lineUpId=&pubId
=963482464001&playerId=1146579432001&affiliateId=" -a
"ondemand?videoId=1992883195001&lineUpId=&pubId=963482464001&playerId=1146579432
001&affiliateId=" -f "LNX 11,2,202,251" -W
"http://admin.brightcove.com/viewer/us20121128.1314/federatedVideoUI/BrightcoveP
layer.swf?uid=1354218505867" -p
"http://tvnz.co.nz/hobbit-news/tamati-reads-weather-in-elvish-video-5243599" -y
"mp4:videos/963482464001/963482464001_1993075635001_5243599-1.mp4?videoId=199288
3195001&lineUpId=&pubId=963482464001&playerId=1146579432001&affiliateId=" -o
963482464001_1993075635001_5243599-1.flv
Closing connection... done!
RTMPDump 2.4-git-20121111
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
3744.655 kB / 77.56 sec
Download complete
^CCaught signal: 2, cleaning up, just a second...
rtmp@stoney:~$ rtmpsrv
RTMP Server 2.4-git-20121111
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
WARNING: Trying different position for client digest!
rtmpdump -r
"rtmp://cp127778.edgefcs.net:1935/ondemand?videoId=1997659957001&lineUpId=&pubId
=963482464001&playerId=1146579432001&affiliateId=" -a
"ondemand?videoId=1997659957001&lineUpId=&pubId=963482464001&playerId=1146579432
001&affiliateId=" -f "LNX 11,2,202,251" -W
"http://admin.brightcove.com/viewer/us20121128.1314/federatedVideoUI/BrightcoveP
layer.swf?uid=1354218793200" -p
"http://tvnz.co.nz/breakfast-news/stomach-bug-hits-all-blacks-video-5249935" -y
"mp4:videos/963482464001/963482464001_1997785396001_5249935-1.mp4?videoId=199765
9957001&lineUpId=&pubId=963482464001&playerId=1146579432001&affiliateId=" -o
963482464001_1997785396001_5249935-1.flv
Closing connection... done!
RTMPDump 2.4-git-20121111
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
13653.307 kB / 278.92 sec
Download complete
Had to search for downloads I could use without region checking, these
downloaded without the issues you referred in your pull request to
stopping/starting. That suggests you might be using an older version of
rtmpdump. I used debian squeeze with rtmpdump I built from git, for the above
two downloads. These are short 1-3mins, couldn't find any longer content I
could use.
Original comment by njtaylor...@gmail.com
on 29 Nov 2012 at 9:26
My latest commit should fix the first issue you found.
The need to resume downloads likely only kicks in for larger clips. It tends
to happen several times for a 40 minute episode, maybe 4-6 times.
Original comment by david.sa...@gmail.com
on 30 Nov 2012 at 2:31
You should now be able to get all your weather forecasts in the native Elvish,
just like all New Zealanders insist on :)
Original comment by david.sa...@gmail.com
on 30 Nov 2012 at 2:33
I found some longer video clips, had random breaks in a 20 minute clip, getting
the same problem as you now. Difficult to track down where these issues come
from, this case I think the actual site might be the source of the problem.
Your change works well, I got the weather forecast in Elvish :)
Will look at including the pull request.
Original comment by njtaylor...@gmail.com
on 30 Nov 2012 at 9:51
Merged the pull request, thanks for the code.
Original comment by zakflash...@gmail.com
on 4 Dec 2012 at 8:54
Original issue reported on code.google.com by
david.sa...@gmail.com
on 18 Nov 2012 at 11:41Attachments: