Export to GitHub

get-flash-videos - issue #517

brightcove plugin passes incorrect parameters to rtmpdump


Posted on Jul 24, 2013 by Happy Kangaroo

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

Comment #1

Posted on Jul 24, 2013 by Happy Kangaroo

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.

Status: New

Labels:
Type-Defect Priority-Medium