Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: starting flash video from script (get-flash-videos + RTMPDump)

by Anonymous Monk
on Jun 03, 2016 at 21:57 UTC ( [id://1164896]=note: print w/replies, xml ) Need Help??


in reply to Re: starting flash video from script (get-flash-videos + RTMPDump)
in thread starting flash video from script

Thanks for your answer. I used to use your suggestion with rtmpdump before, but now the page in question does no longer serve a mp4-file and does not employ the rtmp protocol.

Instead, they changed to 'embedded HDS flash streams', which I don't fully understand, but https://n1njahacks.wordpress.com/2015/01/29/how-to-save-hds-flash-streams-from-any-web-page/ is a useful link which features a php program that one can use to assemble of all the different f4f files.

However, this requires to get a hold on the 'manifest', which in my case looks like http://adaptiv.wdr.de/z/medp/ww/fsk0/112/1120663/,1120663_12909203,1120663_12908906,1120663_12908907,.mp4.csmil/manifest.f4m?g=OREKBERCWCLP&hdcore=3.9.0&plugin=aasp-3.9.0.19.11

All but one of its parts can be grabbed from the source codes of different web pages by means of WWW:Mechanize conveniently. The missing piece is the 'g=OREKBERCWCLP', which is newly generated upon each run of the video by clicking on the arrow. Therefore the only thought that I had to find the piece programatically was to run the embedded video (but how??) and then use something like ethereal of tcpdump.

Any better ideas?

Replies are listed 'Best First'.
Re^3: starting flash video from script (get-flash-videos + flvstreamer )
by Anonymous Monk on Jun 04, 2016 at 05:41 UTC

    Any better ideas?

    :) if get-flash-videos doesn't cater to website of your interest, submit a feature request,

    or program a solution yourself

    rtmpdump or flvstreamer is what get-flash-videos plugins use when they figure out the secret URL ... if they don't support HTTP Live Streaming find something that does or program a solution

    plugin writers also use tamarin abcdump, swfinvestigator/firebug+livehttpheaders, to figure out what how/what the magic urls are

    thats all the secrets right there :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1164896]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 19:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found