rt2yrru / get-flash-videos

Automatically exported from code.google.com/p/get-flash-videos
0 stars 0 forks source link

ABC plugin not working and details #442

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Obviously the ABC plugin is old and broken.

Hoping njtaylor will use his perl wisdom and add this to github :)
Here is some useful information I dug up.

Example ABC video URL: 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection

SH55126554 = ShowID
VD55236816 = VideoID

Video info url: 
http://abc.go.com/vp2/ws/s/contents/2004/videos/001/website/lf/-1/-1/VD55236816/
-1/-1?v=07000011_4_1

Note the placement of the videoid in the url.

In this XML you see interesting links in assets where the format is MOV: 
http://abc.go.com/vp2/ws/s/contents/2004/utils/video/mov/13/9024/VD55236816/%hei
ght%

Replace %height% with 432
http://abc.go.com/vp2/ws/s/contents/2004/utils/video/mov/13/9024/VD55236816/432

From that information you just...

rtmpdump -r "rtmp://cp88586.edgefcs.net/abcondemand/" -a "abcondemand/" -W 
"http://ll.static.abc.com/m/vp/prod/flash/VP2.swf" -y 
"mp4:/abcvideo/video_fep/mov/rev_202_resurrection_episode_3111eef2-56f2-4802-81d
6-81c720c28827_4858177_768x432_500.mov"

Can anyone confirm this?

Original issue reported on code.google.com by krazyja...@gmail.com on 12 Oct 2012 at 1:10

GoogleCodeExporter commented 8 years ago
This is what I get using my version....

$ get_flash_videos 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
Using method 'abc' for 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
Downloading http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
RTMPDump 2.4pl2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:   duration              2583.04
INFO:   moovPosition          8.00
INFO:   width                 768.00
INFO:   height                432.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            77.00
INFO:   avclevel              40.00
INFO:   aacaot                2.00
INFO:   videoframerate        23.98
INFO:   audiosamplerate       22050.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                61931938.00
INFO:   timescale             23976.00
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                56955259.00
INFO:   timescale             22050.00
INFO: sampledescription:
INFO:   sampletype            mp4a
Resurrection.flv: 1% (2857.94 / 219841.77 KiB)^C

Very likely an old version of the plugins is being used.

With debug... the rtmpdump command is this...
Running rtmpdump --verbose --rtmp 
'rtmp://abcondemandfs.fplive.net:1935/abcondemand' --flv 'Resurrection.flv' 
--playpath 
'mp4:/abcvideo/video_fep/mov/rev_202_resurrection_episode_3111eef2-56f2-4802-81d
6-81c720c28827_4858177_768x432_700.mov'

The question now is which is a suitable version for your OS.

This is my version...
$ pkg_info | grep get_flash_videos
get_flash_videos-1.24.20121003 download flash video files from various sites

Which is built using this file....
https://github.com/downloads/njtaylor/get-flash-videos/App-get_flash_videos-1.24
.20121003.tar.gz

OS is OpenbSD current...
$ uname -s -r -v
OpenBSD 5.2 GENERIC.MP#154

Under https://github.com/njtaylor/get-flash-videos/downloads are two other 
downloads with 1.24.20121003, these are combined files, which have all the site 
files/plugins combined into a single file, the combine-... file also includes 
all the library routines.

From looking at the code / date here this was updated Mar 2011

https://github.com/monsieurvideo/get-flash-videos/blob/master/lib/FlashVideo/Sit
e/Abc.pm

That suggests your using one of the Dec 2010 downloads, or package created from 
one of these downloads.

Depending on the download/install method. it is possible to download the source 
for Abc.pm and place into ~/.get_flash_videos/plugins. Might be useful as a 
check. Do remember to remove or rename if you update, as it will be taken in 
preference to the updated version in any update.

You can clone the git repository, which will download everything, and then copy 
Abc.pm, or install yourself, really depends on the OS.

You can use the combined files by downloading ...
$ /home/ntayl01/get-flash-videos/get_flash_videos-1.24-git-20121003 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection 
Using method 'abc' for 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
Downloading http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
RTMPDump 2.4pl2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...

$ /home/ntayl01/get-flash-videos/combined-get_flash_videos-1.24-git-20121003  
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection 
Using method 'abc' for 
http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
Downloading http://abc.go.com/watch/revenge/SH55126554/VD55236816/resurrection
RTMPDump 2.4pl2
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...

These are my local copies of the files uploaded. It may be possible for you to 
download one of these and run from your home directory.

Original comment by njtaylor...@gmail.com on 12 Oct 2012 at 2:39

GoogleCodeExporter commented 8 years ago
Fixed in git. Thanks njtaylor for the advice.

Original comment by zakflash...@gmail.com on 8 Nov 2012 at 7:36