PDA

View Full Version : seeking to keep a video from france5.fr on Ubuntu


shantiq
01-13-2014, 06:44 AM
how can i keep this video (http://www.france5.fr/emissions/la-grande-librairie/diffusions/09-01-2014_162626)on Ubuntu 13.10


anyone knows how to do this? would be grateful for all good help

karlo2105
01-13-2014, 08:17 AM
First you need to install package php5-curl, then you need to add AdobeHDS.php in home directory.
Take a look on wiki here https://github.com/K-S-V/Scripts/wiki

hasomaso
01-13-2014, 10:42 AM
http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null=

shantiq
01-13-2014, 03:15 PM
First you need to install package php5-curl, then you need to add AdobeHDS.php in home directory.
Take a look on wiki here https://github.com/K-S-V/Scripts/wiki


thanx for this but i think i need a bit more detail if that is ok

i installed sudo apt-get install php5-curl and sudo apt-get install php5-cli and all good

and placed https://raw.github.com/K-S-V/Scripts/master/AdobeHDS.php in ~/bin

all good


then tried info here (http://ingvar.blog.redpill-linpro.com/2012/05/31/downloading-hd-content-from-tv-nrk-no/)


using hasomaso's line

php ~/bin/AdobeHDS.php --quality high --delete --manifest 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null='



and get

php ~/bin/AdobeHDS.php --quality high --delete --manifest 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null='

KSV Adobe HDS Downloader

Processing manifest info....
PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /home/shan/bin/AdobeHDS.php on line 419
PHP Warning: simplexml_load_string(): #EXTM3U in /home/shan/bin/AdobeHDS.php on line 419
PHP Warning: simplexml_load_string(): ^ in /home/shan/bin/AdobeHDS.php on line 419
Failed to load xml



so i may need a little more guidance here please


i can also play

php ~/bin/AdobeHDS.php --quality high --delete --manifest 'http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null=' in vlc but record does not capture it

Media/convert does tho


so the question remains how do you find this

http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null=' hasomaso ?

hasomaso
01-13-2014, 04:30 PM
you must start the current manifest.f4m url with AdobeHDS.php (not with .m3u8 url)
that manifest.f4m is expired, sniff and try with new url again

http://ftvodhdsecz-f.akamaihd.net//z/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/manifest.f4m?hdnea=exp=1389655476~acl=/z/streaming-adaptatif/2014/S02/J4/94667327-20140109-*~hmac=234804735da8dc39aa54b6ec3a9579fa59eaa6b7683 508b7e224588b0786a98d&hdcore=2.11.3&g=WVHMIYFHFFSG


and that is a .m3u8 url and playable with vlc or ffmpeg or ffplay...

http://ftvodhdsecz-f.akamaihd.net/i/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/index_2_av.m3u8?null=


test and report please...

shantiq
01-14-2014, 01:13 AM
thank you Hasomaso finally understood it


FIRST to install

sudo apt-get install php5-curl php5-cli

if all good

place script named AdobeHDS.php from https://raw.github.com/K-S-V/Scripts...r/AdobeHDS.php in ~/bin


AND install https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/?src=api in Mozilla Firefox


================


then


To get the manifest, use a recent version of Mozilla Firefox. Surf to http://pluzz.francetv.fr/videos/la_grande_librairie_saison6_,94667327.html of course use the address of video you seek, and hit Ctrl+Shift+K to enable Firefox’ built-in website debugger. In the filter box, enter manifest and press enter. Find your video in the web browser panel, and start it. Let it play for a second or five, and the URL to the manifest should appear in the debugger window. Click on the match and copy the url.

Now just call the merge script with the manifest url. Add the delete option to get rid of the fragments after merging. Use quotes to avoid problems with special characters like ‘?’ and ‘&’.


example

php ~/bin/AdobeHDS.php --quality high --delete --manifest 'http://ftvodhdsecz-f.akamaihd.net//z/streaming-adaptatif/2014/S02/J4/94667327-20140109-,398,632,934,k.mp4.csmil/manifest.f4m?hdnea=exp=1389685310~acl=/z/streaming-adaptatif/2014/S02/J4/94667327-20140109-*~hmac=03c90dd50edb1b92cdc277727ba22a1ec6cd4e3425c 396f1381ff9a8d76fed8d&hdcore=2.11.3&g=GJNGOKQAILPP'



KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 833 577 304
Selected : 833
Downloading 599/599 fragments
Found 599 fragments
Finished


from info (http://ingvar.blog.redpill-linpro.com/2012/05/31/downloading-hd-content-from-tv-nrk-no/)


an image to explain more clearly:

http://imageshack.com/a/img855/1544/g63d.th.png (http://imageshack.com/a/img855/1544/g63d.png)



Thanx again for all advice

shantiq
03-21-2014, 10:53 AM
and in the last week it has stopped working after weeks of total reliability


now gives


"Missing videoChange event ??" "http://videos-pub.ftv-publicite.fr/media/1187/1187984/1187984.m4v" "http://ftvodhdsecz-f.akamaihd.net/z/streaming-adaptatif/2014/S12/J4/98835490-20140320-,398,632,934,k.mp4.csmil/manifest.f4m?hdnea=exp=1395421235~acl=/z/streaming-adaptatif/2014/S12/J4/98835490-20140320-*~hmac=ab109f1b1e59d99e488fe18818e578d5fe39a960537 7afbd2c193bbcac042e01" "Stopped" "Buffering"



for example on any program


any ideas you learned chaps what has been changed or needs updated ... i have no idea myself


thanx in advance

shantiq
04-26-2014, 12:19 AM
anyone ?? any ideas?? the latest Adobe.php (https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php) is here and that does not work anymore for me here any suggestions?