Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

I need help to download a master.m3u8 link

(http://stream-recorder.com/forum/showthread.php?t=21717)

fuzzco 07-26-2016 09:10 PM

I need help to download a master.m3u8 link


 
Guys, I am kinda new at ffmpeg, livestreamer thing, but I learn fast about links, cookies and stuff

I was trying to download this video:
http://www.logotv.com/video-clips/sp...te-runway-look

This website used to posted all content in rtmpe links, but now they are posting in m3u8 links with this initial url: https://cp477480-vh.akamaihd.net/i/m...abus/logo.com/

I want to download in 1080p, but this is an example of what I am getting with ffmpeg:
C:\Program Files\FFmpeg\bin>ffmpeg -i "https://cp477480-vh.akamaihd.net/i/mtvnor
igin/gsp.egvrenditions/logo_arc/2016/07/14/12/48/58/c966a50be7314cbe9149ee918780
f5de/FMqUgbjjx9Favorite_Looks_L3RD_Rev_,384x216_278,512 x288_498,640x360_1028,768
x432_1528,960x540_2128,1280x720_3128,1920x1080_512 8,.mp4.csmil/master.m3u8?hdnea
=st%3D1469587775%7Eexp%3D1469602175%7Eacl%3D%2Fi%2 Fmtvnorigin%2Fgsp.egvrendition
s%2Flogo_arc%2F2016%2F07%2F14%2F12%2F48%2F58%2Fc96 6a50be7314cbe9149ee918780f5de%
2FFMqUgbjjx9Favorite_Looks_L3RD_Rev_%2C384x216_278 %2C512x288_498%2C640x360_1028%
2C768x432_1528%2C960x540_2128%2C1280x720_3128%2C19 20x1080_5128%2C.mp4.csmil%2F*%
7Ehmac%3Dd5cd5bd8ffc499d01837627beb50c4b73f252fa37 a33cd7e685b74d46619e293&__a__=
off&__b__=450&__viacc__=NONE" -c copy name.mp4
ffmpeg version N-60912-g96fc290 Copyright (c) 2000-2014 the FFmpeg developers
built on Feb 25 2014 22:11:49 with gcc 4.8.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable
-zlib
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
[tls @ 000000000424f6e0] Error in the push function.
https://cp477480-vh.akamaihd.net/i/m...go_arc/2016/07
/14/12/48/58/c966a50be7314cbe9149ee918780f5de/FMqUgbjjx9Favorite_Looks_L3RD_Rev_
,384x216_278,512x288_498,640x360_1028,768x432_1528 ,960x540_2128,1280x720_3128,19
20x1080_5128,.mp4.csmil/master.m3u8?hdnea=st%3D1469587775%7Eexp%3D14696021 75%7Ea
cl%3D%2Fi%2Fmtvnorigin%2Fgsp.egvrenditions%2Flogo_ arc%2F2016%2F07%2F14%2F12%2F48
%2F58%2Fc966a50be7314cbe9149ee918780f5de%2FFMqUgbj jx9Favorite_Looks_L3RD_Rev_%2C
384x216_278%2C512x288_498%2C640x360_1028%2C768x432 _1528%2C960x540_2128%2C1280x72
0_3128%2C1920x1080_5128%2C.mp4.csmil%2F*%7Ehmac%3D d5cd5bd8ffc499d01837627beb50c4
b73f252fa37a33cd7e685b74d46619e293&__a__=off&__b__ =450&__viacc__=NONE: Input/out
put error

- With livestreamer I am getting this when I put the output option:
C:\Program Files (x86)\Livestreamer>livestreamer "hlsvariant://https://cp477480-
vh.akamaihd.net/i/mtvnorigin/gsp.egvrenditions/logo_arc/2016/07/14/12/48/58/c966
a50be7314cbe9149ee918780f5de/FMqUgbjjx9Favorite_Looks_L3RD_Rev_,384x216_278,512 x
288_498,640x360_1028,768x432_1528,960x540_2128,128 0x720_3128,1920x1080_5128,.mp4
.csmil/master.m3u8?hdnea=st%3D1469587775%7Eexp%3D14696021 75%7Eacl%3D%2Fi%2Fmtvno
rigin%2Fgsp.egvrenditions%2Flogo_arc%2F2016%2F07%2 F14%2F12%2F48%2F58%2Fc966a50be
7314cbe9149ee918780f5de%2FFMqUgbjjx9Favorite_Looks _L3RD_Rev_%2C384x216_278%2C512
x288_498%2C640x360_1028%2C768x432_1528%2C960x540_2 128%2C1280x720_3128%2C1920x108
0_5128%2C.mp4.csmil%2F*%7Ehmac%3Dd5cd5bd8ffc499d01 837627beb50c4b73f252fa37a33cd7
e685b74d46619e293&__a__=off&__b__=450&__viacc__=NO NE" best -o name.mp4
[cli][info] Found matching plugin stream for URL hlsvariant://https://cp477480-v
h.akamaihd.net/i/mtvnorigin/gsp.egvrenditions/logo_arc/2016/07/14/12/48/58/c966a
50be7314cbe9149ee918780f5de/FMqUgbjjx9Favorite_Looks_L3RD_Rev_,384x216_278,512 x2
88_498,640x360_1028,768x432_1528,960x540_2128,1280 x720_3128,1920x1080_5128,.mp4.
csmil/master.m3u8?hdnea=st%3D1469587775%7Eexp%3D14696021 75%7Eacl%3D%2Fi%2Fmtvnor
igin%2Fgsp.egvrenditions%2Flogo_arc%2F2016%2F07%2F 14%2F12%2F48%2F58%2Fc966a50be7
314cbe9149ee918780f5de%2FFMqUgbjjx9Favorite_Looks_ L3RD_Rev_%2C384x216_278%2C512x
288_498%2C640x360_1028%2C768x432_1528%2C960x540_21 28%2C1280x720_3128%2C1920x1080
_5128%2C.mp4.csmil%2F*%7Ehmac%3Dd5cd5bd8ffc499d018 37627beb50c4b73f252fa37a33cd7e
685b74d46619e293&__a__=off&__b__=450&__viacc__=NON E
[cli][info] Available streams: 1080p (best), 216p (worst), 288p, 360p, 432p, 540
p, 720p
[cli][info] Opening stream: 1080p (hls)
error: Failed to open output: name.mp4 ([Errno 13] Permission denied: 'name.mp4'
)

Can someone please help me to figure how to download this?
I am searching new ways since last week and I would love to still keep all content from this website alive because in a few months or one year later the content expires

stream_monkey 07-29-2016 06:56 PM

Re: I need help to download a master.m3u8 link


 
Quote:

Originally Posted by fuzzco (Post 86132)
I want to download in 1080p, but this is an example of what I am getting with ffmpeg: ...

It looks like you are using the correct playlist. Try outputting to .ts rather than .mp4.

If that doesn't work try a different version of ffmpeg.

Also, double check your link as I see at least one space in there, though that could just be a vB bug, which is why it's best to use code boxes when posting urls and code on forums.

No issues grabbing it over here.


All times are GMT -6. The time now is 12:34 PM.