dhumketuxbox / ror5

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

more of "looks like SVT is trying to put a stop to it" #428

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Downloading from (and many others): http://www.svtplay.se/video/41516/, like 
http://www.svtplay.se/video/68102/del-4

fails :(  After adding some debug, it shows up:

### rate='0'
### 
url='http://svtplay3d-f.akamaihd.net/z/se/krypterat/20120904/68102/ANCIENT_MYSTE
RI-004A-mp4-,c,d,e,-v1-4e4d5f8af58b41632dbf79fa4342b6c1667ee104.mp4.csmil/manife
st.f4m'

Any idea if this is a dead end?

Cheers,

-- 
Cristian

Original issue reported on code.google.com by Cristian...@gmail.com on 16 Sep 2012 at 3:44

GoogleCodeExporter commented 8 years ago
url's ending .f4m see channel 4 issue 379, the .f4m manifest will contain the 
streaming information, that may or may not be an encrypted stream. If not 
encrypted then it should be possible to download and play. Encrypted streams 
need to do an exchange to find the key, which is current sticking point for 
channel 4, finding the key.

Original comment by njtaylor...@gmail.com on 17 Sep 2012 at 1:18

GoogleCodeExporter commented 8 years ago
Well, mplayer (possibly ffmpeg) can play the blasted thing (svtplay).  I found 
this much:

1. example url: 
<http://www.svtplay.se/video/350713/george-harrison-living-in-the-material-world
-del-2-av-2> (will keep being accessible for 4 more days)

2. get_flash_videos -d <url>, with a modified Svtplay.pm

3. output shows the manifest 
<http://svtplay5f-f.akamaihd.net/z/se/secure/20121012/1323334-002A/GEORGE_HARRIS
ON-002A-236fd30926ce5b14_,900,320,420,620,1660,2760,.mp4.csmil/manifest.f4m> 
and some sort of playlist 
<http://svtplay5f-f.akamaihd.net/i/se/secure/20121012/1323334-002A/GEORGE_HARRIS
ON-002A-236fd30926ce5b14_,900,320,420,620,1660,2760,.mp4.csmil/master.m3u8>

4. download the playlist; will show various resolutions (that's where the key 
is); pick one:

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2755000,RESOLUTION=1280x720,CODECS="avc
1.66.30, mp4a.40.5"
http://svtplay5f-f.akamaihd.net/i/se/secure/20121012/1323334-002A/GEORGE_HARRISO
N-002A-236fd30926ce5b14_,900,320,420,620,1660,2760,.mp4.csmil/index_5_av.m3u8?nu
ll=&e=b2a7ace1bf661c32&id=AgBRuvOUFzxFowt5fVDTzUkL9HfIx6LvAySgAXZcyPEzLTKelMIODy
+LUZB%2fOvXAEd88o2FzPR5pKA%3d%3d

5. give the above url to mplayer and try to enjoy (as much as you can) the 
jumpy 647 fragments

I didn't discover the mplayer/ffmpgeg magic that would enable saving/store that 
stuff to a video file.

Cheers,

-- 
Cristian

Original comment by Cristian...@gmail.com on 16 Oct 2012 at 3:23

GoogleCodeExporter commented 8 years ago
I found a way to save the stream after reading this thread 
<https://github.com/mmn/svtget/issues/15> (swedish).  And the commandline is:

ffmpeg -i '<url with key>' -vcodec copy -strict experimental <outfile>.mp4

Cheers,

-- 
Cristian

Original comment by Cristian...@gmail.com on 17 Oct 2012 at 5:52

GoogleCodeExporter commented 8 years ago
stvplay has been updated and now runs ffmpeg. This can be closed.

Original comment by njtaylor...@gmail.com on 9 Mar 2013 at 2:25