PDA

View Full Version : How to download from this site? (RTMP links are gone)


strumpcarec
02-24-2015, 04:35 PM
hxxp://teamfourstar.com/video/history-trunks-preview-sub-standard-living-conditions/

I used to be able to sniff out RTMP links of all of this site's videos, but something must have changed because I no longer see any RTMP links.

I'm using URL Snooper v2.37.01.

biezom
02-24-2015, 04:57 PM
hi
http://174.127.103.124/vod/smil:TeamFourStar-54dfcfeeb3a1c.smil/playlist.m3u8

strumpcarec
02-24-2015, 05:14 PM
Ah I see it now. Thanks!! Aw man, they changed it so videos now must be downloaded in chunks then stitched together. :(

biezom
02-24-2015, 05:20 PM
Ah I see it now. Thanks!! Aw man, they changed it so videos now must be downloaded in chunks then stitched together. :(
livestreamer "hlsvariant://http://174.127.103.124/vod/smil:TeamFourStar-54dfcfeeb3a1c.smil/playlist.m3u8" best -o video.ts

strumpcarec
02-24-2015, 05:42 PM
Thanks again. I didn't know that was a thing. I'm still learning, as you can see.

Is there an equivalent "hlsvariant" command in FFmpeg?

biezom
02-24-2015, 05:45 PM
Thanks again. I didn't know that was a thing. I'm still learning, as you can see.

Is there an equivalent "hlsvariant" command in FFmpeg?

#EXTM3U
#EXT-X-VERSION:2
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=205000,RESOLUTION=176x144
http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b205000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=300000,RESOLUTION=320x160
http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b300000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=750000,RESOLUTION=640x360
http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b750000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1650000,RESOLUTION=1280x720
http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b1650000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=64000
http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b64000.m3u8

with ffmpeg choose your quality

strumpcarec
02-24-2015, 06:16 PM
Got it, I think. I chose the highest quality:

http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b1650000.m3u8

So:

ffmpeg -i "http://174.127.103.124/vod/smil:TeamFourStar-54dfcfeeb3a1c.smil/play
list.m3u8" "http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c
.smil/chunklist_w973557741_b1650000.m3u8" -c copy video.ts

It seemed to work fine. The resulting file looks great. But I got a strange message:

[hls,applehttp @ 0000000000399dc0] No longer receiving playlist 1
[hls,applehttp @ 0000000000399dc0] No longer receiving playlist 2
[hls,applehttp @ 0000000000399dc0] No longer receiving playlist 4
frame= 301 fps=0.0 q=29.0 q=-1.0 size=N/A time=00:00:10.30 bitrate=N/A dup=300
[hls @ 00000000003dd100] Cannot use rename on non file protocol, this may lead t
o races and temporarly partial files
frame= 401 fps=304 q=29.0 q=-1.0 size=N/A time=00:00:13.64 bitrate=N/A dup=300
frame= 466 fps=256 q=29.0 q=-1.0 size=N/A time=00:00:15.80 bitrate=N/A dup=300
frame= 500 fps=212 q=29.0 q=-1.0 size=N/A time=00:00:16.94 bitrate=N/A dup=300
frame= 547 fps=190 q=29.0 q=-1.0 size=N/A time=00:00:18.52 bitrate=N/A dup=300
etc........

Should I be concerned about that red line?

biezom
02-24-2015, 06:29 PM
try just
ffmpeg -i "http://174.127.103.124/vod/_definst_/smil:TeamFourStar-54dfcfeeb3a1c.smil/chunklist_w973557741_b1650000.m3u8" -c copy video.ts

strumpcarec
02-24-2015, 06:59 PM
Clearly I am a noob. :) Thanks again, biezom. I repped your post.

utuxia
01-12-2016, 10:35 PM
I noticed this as well with ffmpeg when playing a manifest file.

It seems to just pick the fastest stream and never tries to get a higher quality playlist once its dropped the other playlists.

Is there anyway to use a manifest.m3u8 as input and have ffmpeg try to play the best stream given the current bandwidth, and re-access as it plays so its constantly trying to play the best one at any given period?

I know I can just play the individual playlist from the manifest, but I was hoping for some kind of auto-quality detection using ffmpeg...my bandwidth conditions change erratically.