edelmoral / get-flash-videos

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

brightcove plugin passes incorrect parameters to rtmpdump #517

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Using the current GIT source code, when running the brightcove plug-in, if the 
$file variable in lib/FlashVideo/Site/Brightcove.pm does not receive a value, 
then the following error occurs:

$ ./get_flash_videos 
"http://www.theglobeandmail.com/news/news-video/video-world-gets-first-glimpse-a
t-royal-baby/article13373407/"
Using method 'brightcove' plugin version -1, set by base.pm for 
http://www.theglobeandmail.com/news/news-video/video-world-gets-first-glimpse-at
-royal-baby/article13373407/
Downloading 
http://www.theglobeandmail.com/news/news-video/video-world-gets-first-glimpse-at
-royal-baby/article13373407/
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump: option '--playpath' requires an argument
unknown option: ?
rtmpdump: This program dumps the media content streamed over RTMP.
--help|-h               Prints this help screen.
(...a complete usage parameter list here...)
--debug|-z              Debug level command output.
If you don't pass parameters for swfUrl, pageUrl, or auth these properties will 
not be included in the connect packet.
Download failed, no valid file downloaded
Couldn't download any videos.
$

I don't know enough PERL to figure this out, but maybe the plug-in is expecting 
a file reference in the URL rather than an article folder.  Either rate, it may 
need to check that $file has a value before including the --playpath parameter 
when calling rtmpdump.

Thanks.

Original issue reported on code.google.com by ttab...@gmail.com on 24 Jul 2013 at 1:59

GoogleCodeExporter commented 8 years ago
Sorry... 
Linux 3.2.0-4-amd64, Debian Stable
Perl 5.14.2
get-flash-videos GIT source as of 2013-07-23.
rtmpdump 2.4
Thanks.

Original comment by ttab...@gmail.com on 24 Jul 2013 at 2:05