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

need help with this stream

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

mkz1978 07-04-2015 11:25 AM

need help with this stream


 
http://tv.ennaharonline.com/live

i have found this : http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8

Unfortunately this does not work

thank you in advance

biezom 07-04-2015 11:39 AM

Re: need help with this stream


 
Quote:

Originally Posted by mkz1978 (Post 77961)
http://tv.ennaharonline.com/live

i have found this : http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8

Unfortunately this does not work

thank you in advance

open with vlc
Code:

livestreamer  --http-header "Referer=http://tv.ennaharonline.com/dzplayer/dzplayer.swf" "hls://http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8" best

download

Code:

livestreamer  --http-header "Referer=http://tv.ennaharonline.com/dzplayer/dzplayer.swf" "hls://http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8" best -o "EnnaharTV.ts"

mkz1978 07-04-2015 11:41 AM

Re: need help with this stream


 
thanks Biezom but

livestreamer hls://http://live.ennahartv.net/endz/EnnaharTV/chunk
list.m3u8 best
[cli][info] Found matching plugin stream for URL hls://http://live.ennahartv.net
/endz/EnnaharTV/chunklist.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][error] Could not open stream: Unable to open URL: http://live.ennahartv.ne
t/endz/EnnaharTV/chunklist.m3u8 (HTTPConnectionPool(host='live.ennahartv.net', p
ort=80): Max retries exceeded with url: /endz/EnnaharTV/chunklist.m3u8 (Caused b
y <class 'httplib.BadStatusLine'>: ''))


Unfortunately does not work

biezom 07-04-2015 11:47 AM

Re: need help with this stream


 
Quote:

Originally Posted by mkz1978 (Post 77964)
thanks Biezom but

livestreamer hls://http://live.ennahartv.net/endz/EnnaharTV/chunk
list.m3u8 best
[cli][info] Found matching plugin stream for URL hls://http://live.ennahartv.net
/endz/EnnaharTV/chunklist.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][error] Could not open stream: Unable to open URL: http://live.ennahartv.ne
t/endz/EnnaharTV/chunklist.m3u8 (HTTPConnectionPool(host='live.ennahartv.net', p
ort=80): Max retries exceeded with url: /endz/EnnaharTV/chunklist.m3u8 (Caused b
y <class 'httplib.BadStatusLine'>: ''))


Unfortunately does not work

you do not have a good look at my post.
you need referer at the player.swf

mkz1978 07-04-2015 11:49 AM

Re: need help with this stream


 
thanks Biezom i forgot this --http-header "Referer=


is there another solution without livestreamer

mkz1978 07-04-2015 11:50 AM

Re: need help with this stream


 
Quote:

Originally Posted by biezom (Post 77965)
you do not have a good look at my post.
you need referer at the player.swf


why i need referer please ,

biezom 07-04-2015 11:58 AM

Re: need help with this stream


 
if you want add in playlist on xmbc

Code:

#EXTINF:-1 , EnnaharTV
http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8|Referer=http://tv.ennaharonline.com/dzplayer/dzplayer.swf

you need use Referer because it's a protection that the site use

mkz1978 07-04-2015 12:00 PM

Re: need help with this stream


 
how to know if a site uses a protection?
thank you for your help

biezom 07-04-2015 12:09 PM

Re: need help with this stream


 
Quote:

Originally Posted by mkz1978 (Post 77969)
how to know if a site uses a protection?
thank you for your help


usually
3 principals protections user-agent, cookies, referer
in this case livestreamer doesn't work without option
when you try open http://live.ennahartv.net/endz/EnnaharTV/chunklist.m3u8 with your bowser >>> error
with your browser user-agent and cookies are included so if there is an error, this is necessarily referer missing

mkz1978 07-04-2015 12:18 PM

Re: need help with this stream


 
many thanks:)

sonnvl 10-11-2015 02:09 AM

Re: need help with this stream


 
I have same problem here although I use referer :(

Code:

livestreamer --http-header "Referer=http://tv24.vn/jwplayer/jwplayer.flash.swf" "hlsvariant://http://vtsstr10.sctv.vn/betalive/c032_tv.smil/playlist.m3u8?token=4NaWxrh4tJmJUw3tNZfNfxN4RGN4fGChsYAGGcZM" best -o Filename.ts
[cli][info] Found matching plugin stream for URL hlsvariant://http://vtsstr10.sctv.vn/betalive/c032_tv.smil/playlist.m3u8?token=4NaWxrh4tJmJUw3tNZfNfxN4RGN4fGChsYAGGcZM
[cli][info] Available streams: 224p (worst), 336p, 496p, 720p (best)
[cli][info] Opening stream: 720p (hls)
[download][Filename.ts] Written 212.2 MB (11m29s @ 314.8 KB/s)
[stream.hls][warning] Failed to reload playlist: Unable to open URL: http://vtsstr10.sctv.vn/betalive/c032_tv.smil/chunklist_w87917764_b2305000_sleng.m3u8?token=
4NaWxrh4tJmJUw3tNZfNfxN4RGN4fGChsYAGGcZM (HTTPConnectionPool(host='vtsstr10.sctv.vn', port=80): Max retries exceeded with url: /betalive/c032_tv.smil/chunklist_w87917764_b2305000_sleng.m3u8?token=4NaWxrh4tJmJUw3tNZfNfxN4RGN4fGChsYAGGcZM (Ca
used by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host))
[download][Filename.ts] Written 326.3 MB (17m49s @ 341.3 KB/s)

Code:

SWF: http://tv24.vn/jwplayer/jwplayer.flash.swf
m3u8: http://vtsstr10.sctv.vn/betalive/c032_tv.smil/playlist.m3u8 / http://112.197.2.154/betalive/c032_tv.smil/playlist.m3u8



All times are GMT -6. The time now is 06:00 PM.