rt2yrru / get-flash-videos

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

Unable to download a brightcove video #434

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Video link: 
http://admin.brightcove.com/viewer/us20120920.1336/BrightcoveBootloader.swf?play
erID=605082631001&playerKey=AQ~~%2CAAAAii5Rh_E~%2CCtyoY0YlBsZ47P9cPTKAjo-LMRVZQF
s3&%40videoPlayer=1847804504001&autoStart=false&bgcolor=%23FFFFFF&debuggerID=&dy
namicStreaming=true&flashID=myExperience&height=360&isUI=true&isVid=true&startTi
me=1348852981354&width=640

Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

Here's the output with --debug:

Using method 'brightcove' for 
http://admin.brightcove.com/viewer/us20120920.1336/BrightcoveBootloader.swf?play
erID=605082631001
Downloading 
http://admin.brightcove.com/viewer/us20120920.1336/BrightcoveBootloader.swf?play
erID=605082631001
-> GET 
http://admin.brightcove.com/viewer/us20120920.1336/BrightcoveBootloader.swf?play
erID=605082631001
<- 200 application/x-shockwave-flash (2669): UTF8 off, non-ASCII, 2669 
characters 2669 bytes
Extracted playerId: 605082631001, videoId: , lineupID: 
FlashVideo::Site::Brightcove
$VAR1 = bless( {
                 'messages' => [
                                 bless( {
                                          'source' => '
',
                                          'target_uri' => '/2/onResult',
                                          'version' => 0,
                                          'value' => [],
                                          'response_uri' => ''
                                        }, 'Data::AMF::Message' )
                               ],
                 'headers' => [],
                 'version' => 0
               }, 'Data::AMF::Packet' );

Error: 
Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.

Thanks!

Original issue reported on code.google.com by stanokop...@gmail.com on 28 Sep 2012 at 8:30

GoogleCodeExporter commented 8 years ago
You need to give more information than this, channel 5 used the brightcove 
code, and was later separated, depends which version of get_flash_videos your 
using, where you got get_flash_videos from. Channel 5 the player id is 
extracted from the page containing the video, then sent... Example

get_flash_videos 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49

This would be used to get the page and form a url to send to brightcove.com, 
see some of the debug output...

.....
Using method 'channel5' for 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49
Downloading 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49
-> GET 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49
<- 200 text/html; charset=utf-8 (53393): UTF8 on, non-ASCII, 53393 characters 
53403 bytes
Extracted playerId: 661361760001, sessionId: 6df9696a07309ab4062a78566e65797f 
videoplayer: C5157950002 publisherId: 19582164001 
FlashVideo::Site::Channel5
$VAR1 = bless( {
                 'messages' => [
                                 bless( {
                                          'source' => '
S[com.brightcove.templating.ViewerExperienceDTO#analyticsTrackersublisherTypepub
lisherIdplayerKeyversion#programmedlayoutlinkBaseURLtionSWFnamelinkURL/nextGenAn
alyticsEnabled-isDefaultViralTemplateadPolicySWFconTR-SI7-GW6TR-VJ6-1FKPREMIUMB<
Àp
            eAQ~~,AAAABI8wHCE~,ljSzkLb6q8tNKt02M__KsfgC-2a5IWHR videoPlayer
icom.brightcove.player.programming.ProgrammedMediaDTOmediaId

......

Here is the channel 5 without debug, uses brightcove and works (upto a point).
$ get_flash_videos 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49             
Using method 'channel5' for 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49
Downloading 
http://www.channel5.com/shows/eddie-stobart-trucks-trailers/episodes/episode-2-4
49
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              2718.64
INFO:   moovPosition          32.00
INFO:   width                 832.00
INFO:   height                468.00
INFO:   videocodecid          encv
INFO:   audiocodecid          enca
INFO:   avcprofile            77.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        25.00
INFO:   audiosamplerate       24000.00
INFO:   audiochannels         2.00
INFO: trackinfo:
INFO:   length                67963000.00
INFO:   timescale             25000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            encv
INFO:   length                65247232.00
INFO:   timescale             24000.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            enca
eddie-stobart-trucks-trailers_S04E02_episode-2-449_1500.flv: 1% (6866.81 / 
528216.46 KiB)^C

If what your trying is like channel 5 the flv is now encrypted, rtmpdump 
downloads but the resulting files contains encrypted data and can't be played.

Original comment by njtaylor...@gmail.com on 28 Sep 2012 at 11:54

GoogleCodeExporter commented 8 years ago
I got it to work by using the original URL (it's a citytv.com page) rather than 
the direct link to the swf file.
Should've done that in the first place!

Thanks for the help!

Original comment by stanokop...@gmail.com on 1 Oct 2012 at 12:48

GoogleCodeExporter commented 8 years ago
Code actually worked, user was supplying incorrect URL.

Original comment by zakflash...@gmail.com on 3 Oct 2012 at 7:31