This gist is very old. I don't even know if it still works. Check the comments below to find more robust solutions, like youtube-dl
for example, see this comment.
Go to http://www.arte.tv/ and select any videos, for example http://www.arte.tv/guide/fr/046618-011/silex-and-the-city
In the source code extract the src
parameter of the iframe player:
From this URL, extract the json URL from the json_url
parameter:
http://arte.tv/papi/tvguide/videos/stream/player/F/046618-011_PLUS7-F/ALL/ALL.json
In the JSON, select the video quality that you want, for example videoJsonPlayer.VSR.RTMP_SQ_8
:
{
"quality": "HD - 720p",
"width": 1280,
"height": 720,
"mediaType": "rtmp",
"mimeType": "application/x-fcs",
"bitrate": 2200,
"streamer": "rtmp://artestras.fcod.llnwd.net/a3903/o35/",
"url": "geo/videothek/EUR_DE_FR/tvguide/046618-011-A_SQ_2_VOF-STMF_00767011_MP4-2200_AMM-Tvguide.mp4?e=1382539093&h=1bace4e51c75f98ed5bce1ca727d2651",
"videoFormat": "RMP4",
"versionProg": "8",
"versionCode": "VOF-STMF",
"versionLibelle": "ST sourds/mal"
}
Now you can download the video with rtmpdump http://rtmpdump.mplayerhq.hu/
Execute rtmpdump
with the following parameters (replace with the good values):
−−tcUrl "rtmp://artestras.fcod.llnwd.net/a3903/o35/"
−−swfVfy "http://www.arte.tv/player/v2/jwplayer6/mediaplayer.6.6.swf"
--app "a3903/o35/"
−−pageUrl "http://www.arte.tv/player/v2/index.php?json_url=..."
−−playpath "mp4:geo/videothek/..."
−−rtmp "rtmp://artestras.fcod.llnwd.net/a3903/o35/geo/videothek/..."
−−flv output_file
Enjoy.
If you want to download arte.tv Videos with Subtitles to MP4, AVI, MKV on Mac and Windows,you will need Allavsoft, the best Arte.tv downloader, to help you.