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:)


All times are GMT -6. The time now is 05:14 AM.