Jump to content


Photo

M3u8 in bouquet


  • Please log in to reply
62 replies to this topic

Re: M3u8 in bouquet #41 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 22 October 2014 - 09:26

I forgot to add Livestreamer is being called from a 3rd party plugin and not being used from the channel bouquets.

 

but as i said version 1.8.2 works perfectly but the latest version does not and shows as being offline even though its running from the deamon.

 

Ian.



Re: M3u8 in bouquet #42 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 22 October 2014 - 15:00

Sorted it.

 

The latest 1.10.2 r1 version needs the dependencies futures and singledispatch to run.

 

all working perfectly now.

 

Ian.



Re: M3u8 in bouquet #43 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 25 October 2014 - 10:41

@ Athoik

 

Do you have an enigma2 restart script for the livestreamersrv please ?

 

Sometimes it stops working,it doesnt crash,it just stops and the screen remains black and presently because its run from the deamon,the only way to restart it again is to do a full reboot,so a python script would be greatly appreciated.

 

Ian.

 

Re: M3u8 in bouquet #44 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 October 2014 - 14:34

I think you can add it as a softcam and then restart livestreamersrv will be possible, just like any softcam.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: M3u8 in bouquet #45 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 25 October 2014 - 16:31

Thank buddy,I did suspect as much,but wasnt sure.

 

Just for info as I dont know if you are aware,the newest version uses nearly twice as much cpu on enigma2 boxes than version 1.8.2 and causes the streams to freeze and the box eventually to slow to a crawl and become none responsive from the remote.

 

so ive reverted back to 1.8.2 again as the latest fixes are not for HLS which is what its being used for,and all is well once more.very low cpu usage again.

 

I just want to add,that this is an excellent development and knocks the socks of the present gstreamer being used in E2 images.

 

So thank you again and thank you for writing the Livestreamersrv

 

Ian.


Edited by ian1095, 25 October 2014 - 16:32.


Re: M3u8 in bouquet #46 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 10 March 2015 - 14:09

Hi

 

I running livestreamer working good.

 

How i can add option in url / command line.

 

Example : These options of  hls   --hls-live-edge SEGMENTS  --hls-segment-attempts ATTEMPTS  --hls-segment-threads THREADS ).

 

For more http://docs.livestre...--hls-live-edge )

 

My url example

 

http://127.0.01:88/h...m/playlist.m3u8 segments=5 attempts=20

 

Is it working like this .? if yes how i can put.

 

Thanks



Re: M3u8 in bouquet #47 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 14 March 2015 - 09:35

Hi

 

I  get right commands which working in ubuntu like this 

 

livestreamer --hls-live-edge=10 hls://http://mydomain.com/...s/playlist.m3u8 best

 

How i can put ( --hls-live-edge=10 ) with http://127.0.01:88/h...playlist.m3u8.?

 

Because openpli we using livestreamer different way http://127.0.01:88.

 

Any one know about this.?

 

Thanks



Re: M3u8 in bouquet #48 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 March 2015 - 10:52

You need to pass hls-live-edge argument in livestreamersrv.

https://github.com/chrippa/livestreamer/blob/develop/src/livestreamer_cli/main.py#L693

livestreamer.set_option("hls-live-edge", args.hls_live_edge)
Eg you can hardcode it here:

https://github.com/athoik/livestreamersrv/blob/master/livestreamersrv#L84

LIVESTREAMER = Livestreamer()
LIVESTREAMER.set_option("hls-live-edge", 10)
Or make an argument parser from url in do_GET https://github.com/a...streamersrv#L59
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: M3u8 in bouquet #49 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 14 March 2015 - 12:14

Hi Athoik

 

Thanks for your great help

 

i follow your this method

 

----------------------------------------------

https://github.com/athoik/livestreamersrv/blob/master/livestreamersrv#L84

LIVESTREAMER = Livestreamer()
LIVESTREAMER.set_option("hls-live-edge", 10)

----------------------------------------------

 

its working.

 

if i want to put another or more ex --hls-segment-attempts

 

LIVESTREAMER = Livestreamer()

LIVESTREAMER.set_option("hls-live-edge", 10)

LIVESTREAMER.set_option("hls-segment-attempts", 5)

 

is it correct.?

 

Thanks



Re: M3u8 in bouquet #50 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 March 2015 - 12:50

Yes that's the idea. But hardcoding values means same value will apply on each url.

Better it's to make a url parser and get parameters from url.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: M3u8 in bouquet #51 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 14 March 2015 - 13:00

Ok

 

When i modify usr/sbin/livestreamersrv with above code.

 

Now livestreamer not auto start when reboot.

 

when i start manually start then livesstreamer work. its loolinking startup script crash.

 

how i can fix this.

 

Thanks



Re: M3u8 in bouquet #52 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 14 March 2015 - 13:07

You need to find the error (if there is any) and fix it. /usr/sbin/livestreamersrv manualstart will display errors in console.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: M3u8 in bouquet #53 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 14 March 2015 - 19:34

No i mean its working fine.

 

Only init.d file not running when box reboot.

 

Now livestreamer not auto start when box reboot if i manual start its work fine.

 

How i can fix this.

 

Thanks



Re: M3u8 in bouquet #54 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 22 March 2015 - 21:39

Athoik,

 

I am using livestreamer 1.11.0 and trying to play the following rtmp stream:

#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//127.0.0.1%3a88/rtmp%3a//m.live1.fsanook.com/live/ch3_1 live=1 timeout=15:Thai TV3

The stream doesn't play, but shows the offline.mp4 instead.

When using manualstart I get an exeception, but no error message:

Sun Mar 22 20:55:56 2015 Server Starts - :88
localhost.localdomain - - [22/Mar/2015 21:02:57] "GET /rtmp://m.live1.fsanook.com/live/ch3_1%20live=1%20timeout=15 HTTP/1.1" 200 -
localhost.localdomain - - [22/Mar/2015 21:02:57] URL: rtmp://m.live1.fsanook.com/live/ch3_1 live=1 timeout=15 Quality: best
Got Exception:

Do you have any idea what could be wrong with the url?

When I play this stream directly in enigma2, without livestreamer, it play fine, but sometimes with freezes or stuttering.

I was hoping to use livestreamer for better buffering to prevent the freezes.

 

Thanks.



Re: M3u8 in bouquet #55 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 March 2015 - 22:31

Livestreamer uses rtmpdump, unlike enigma2 that uses librtmp. Make sure that rtmpdump is installed and working.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: M3u8 in bouquet #56 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 24 March 2015 - 18:28

Athoik,

 

Rtmpdump is installed.

Cause of the error is still unknown, since the exception doesn't print any extra information.

root@dm8000:~# rtmpdump
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname



Re: M3u8 in bouquet #57 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 25 March 2015 - 23:00

Athoik,

 

I think the problem is with livestreamer 1.11.0.

When I use 1.8.2, rtmp streams play.

With 1.11.0 I get the exception and the 'offline.mp4. video.

Using a manual start, I get lots of python errors about missing import singledispatch.

Maybe the errors are related and the newer livestreamer 1.11.0 ipk is missing one or more dependencies?



Re: M3u8 in bouquet #58 adri

  • Senior Member
  • 373 posts

+5
Neutral

Posted 31 March 2015 - 22:33

Sorted it.

 

The latest 1.10.2 r1 version needs the dependencies futures and singledispatch to run.

 

all working perfectly now.

 

Ian.

Where can I find the ipks of the python futures and singledispatch dependencies?

They do not seem to exist in the standard feeds of OpenPLI or DMM OE 2.0.



Re: M3u8 in bouquet #59 idealsat

  • Senior Member
  • 232 posts

0
Neutral

Posted 26 June 2015 - 20:36

Hi

 

where to download latest version Version 1.12.2.?

 

or how to create ipk from this ( https://github.com/c...reamer/releases ).

 

Thanks



Re: M3u8 in bouquet #60 valseat

  • Member
  • 1 posts

0
Neutral

Posted 26 July 2016 - 09:30

Hi,

I running in xp1000(12-2)  kernel version 4.0 1  and last update.

Someone can say with some thread can run:

#SERVICE 1:0:1:0:0:0:0:0:0:0:http%3a//testlivestream.rfn.ru/live/smil%3arhd.smil/chunklist_b1600000.m3u8

#SERVICE 1:0:1:0:0:0:0:0:0:0:http%3a//android.cdn.bonus-tv.ru%3a8080/russiahd/index.m3u8

 

I tried so:

#SERVICE 4097:1:0:1:0:0:0:0:0:0:http%3a//127.0.01%3a88/hlsvariant%3a//http%3a//testlivestream.rfn.ru/live/smil%3arhd.smil/chunklist_b1600000.m3u8

#SERVICE 4097:1:0:1:0:0:0:0:0:0:http%3a//127.0.01%3a88/hlsvariant%3a//http%3a//android.cdn.bonus-tv.ru%3a8080/russiahd/index.m3u8

but dont work.




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users