Jump to content


Photo

serviceapp - gstplayer and exteplayer3

gstreamer ffmpeg

  • Please log in to reply
985 replies to this topic

Re: serviceapp - gstplayer and exteplayer3 #61 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 13 June 2016 - 20:59

Hi mx3L,

 

I've built your latest recipes into a testing image.

I've set exteplayer3 v27 as the default backend for enigma2.

How exactly are the external subtitles working?

 

For example when DreamPlex (which uses servicemp3.cpp) tries to play file://mymovie.mkv with file://mymovie.srt they don't seem to show up, there's nothing under the Yellow Panel  either (normally there's a subtitle option).



Re: serviceapp - gstplayer and exteplayer3 #62 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 13 June 2016 - 21:05

Hi,

 

In serviceapp v3 post I mentioned that embedded subtitles are enabled for exteplayer3, then for serviceapp I wrote that subtitles are enabled for exteplayer3 -> only embedded subtitles are supported.

I was already working on support for external subtitles, but there are still a few things missing, hopefully in v4 update :).



Re: serviceapp - gstplayer and exteplayer3 #63 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 13 June 2016 - 21:05

Update,

 

Same goes for the internal Media Player, it only sets the movie as an argument:

exteplayer3 /run/movies/Memento.2000.720p.BRRip.x264-x0r/Memento.2000.720p.BRRip.x264-x0r.mkv

 

While the external subtitle is in the same directory, e.g. Memento.2000.720p.BRRip.x264-x0r/Memento.2000.720p.BRRip.x264-x0r.srt

 

Any ideas?



Re: serviceapp - gstplayer and exteplayer3 #64 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 13 June 2016 - 21:06

Wow faster than the speed of light lol.

 

Thanks for the update!

 

Embedded subs (within mkv files for example) are indeed working fine!

Keep up the good work, looking forward to v4 :)



Re: serviceapp - gstplayer and exteplayer3 #65 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 13 June 2016 - 21:09

Thanks, main work on subtitles in exteplayer3 was done by @samsamsam so we should thank him :)



Re: serviceapp - gstplayer and exteplayer3 #66 osicam

  • Member
  • 15 posts

0
Neutral

Posted 17 June 2016 - 10:14

Greaaaaat plugin? Due to exteplayer all my ip channels now works perfectly

 

I am only missing epg display on channel list

 

EPG is displayed when hitting epg guide on the channel but is not displayed on the cannel list in favourites

 

Do you know if something is planned to fix this ?

 

thanks



Re: serviceapp - gstplayer and exteplayer3 #67 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 18 June 2016 - 05:56

EPG is currently not supported in serviceapp, though it should be just copy paste from servicemp3, will look into that.



Re: serviceapp - gstplayer and exteplayer3 #68 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 20 June 2016 - 13:16

There is little issue in using EPG for other serviceId then idDVB and idServiceMP3

 

in lib/dvb/epgcache.cpp

			eServiceReference ref(handleGroup(eServiceReference(PyString_AS_STRING(service))));
			if (ref.type != eServiceReference::idDVB && ref.type != eServiceReference::idServiceMP3)
			{
				eDebug("[eEPGCache] service reference for epg query is not valid");
				continue;
			}

So of course this will not work for gstplayer(5001) and exteplayer3(5002) serviceId. Currently only way to use it with serviceapp will be to set "Enigma2 playback system" from "default" to "serviceapp" and use only servicemp3 service ids.

Maybe we could also define some range for custom services?

 

Another thing is, when trying to include epgcache.h, preprocessor cannot find mhw.h header:

In file included from ../../../../src/serviceapp/serviceapp.cpp:8:0:
/home/marko/Projects/Sdk/openpli-mipsel32-nf-myimage/sysroots/mips32el-nf-oe-linux/usr/include/enigma2/lib/dvb/epgcache.h:20:34: fatal error: lib/dvb/lowlevel/mhw.h: No such file or directory
compilation terminated.

 It's not installed because of not included Makefile - https://github.com/O...nigma2/pull/325



Re: serviceapp - gstplayer and exteplayer3 #69 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 21 June 2016 - 08:54

So mx3L,

I'm waiting for your commit to be merged before massively building new images for the public to test.

 

Regarding EPG, I can imagine people setting 5002 (exteplayer3) as the default player because it handles HLS much better and it saves them from editing all of their bouquets.

So is it possible to set 5001 and 5002 as a eServiceReference::idServiceMP3 as well?

If it's a minor patch I;m willing to apply it to keep the folks happy :)



Re: serviceapp - gstplayer and exteplayer3 #70 osicam

  • Member
  • 15 posts

0
Neutral

Posted 21 June 2016 - 14:59

Yeahhhhh that would be great to have this patch :-)

 

 

So mx3L,

I'm waiting for your commit to be merged before massively building new images for the public to test.

 

Regarding EPG, I can imagine people setting 5002 (exteplayer3) as the default player because it handles HLS much better and it saves them from editing all of their bouquets.

So is it possible to set 5001 and 5002 as a eServiceReference::idServiceMP3 as well?

If it's a minor patch I;m willing to apply it to keep the folks happy :)


Edited by osicam, 21 June 2016 - 15:00.


Re: serviceapp - gstplayer and exteplayer3 #71 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 June 2016 - 16:54

Why not simply remove that check?

Most probably the original author always thought that only DVB services can query the epg cache.

commit eb075d3df639057b1f99d65563781401386fb3d4
Author: Andreas Monzner <andreas.monzner@multimedia-labs.de>
Date:   Sun Jan 1 11:46:39 2006 +0000

    code optimize
That's not true since 2013 where serviceMP3 was modified to allow EPG.

commit 9ef60e57810283be26c0462ffa21f33c9d723966
Author: Athanasios Oikonomou <athoik@gmail.com>
Date:   Tue Nov 26 19:00:00 2013 +0200

    servicemp3: Implement iServiceInformation getEvent for EPG

    Servicemp3 didnt shown EPG due to lack of getEvent, altough valid sid,onid,tsid was set.
    Also epgcache only allowed idDVB to query for EPG cache. idServiceMP3 (4097) added in eServiceReference
    Extra check added to allow idServiceMP3 to query EPG cache.

    More information here: http://openpli.org/forums/topic/31451-epg-with-gstreamer-servicemp3/

    Signed-off-by: pieterg <pieterg@users.sourceforge.net>
So more than 10 years since the original commit and after 3 years afer my change, I would say remove that check.
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: serviceapp - gstplayer and exteplayer3 #72 Taapat

  • PLi® Core member
  • 2,345 posts

+121
Excellent

Posted 21 June 2016 - 17:07

@athoik exactly.
I also think that this check is not required.



Re: serviceapp - gstplayer and exteplayer3 #73 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 22 June 2016 - 05:08

I agree, It looks like fine idea and from brief look it shouldn't bring any side-effect.

 

In the meantime EPG support is pushed to serviceapp repository



Re: serviceapp - gstplayer and exteplayer3 #74 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 22 June 2016 - 07:28

Thank you mx3L.

 

With your permission,  I'd like to build a massive set of images for all receivers containing your recipes for serviceapp, exteplayer3, gstplayer etc..

I'll wait for Athoik's pull request to be pulled in, which removes the check for EPG and I'll checkout check your latest commit of serviceapp.



Re: serviceapp - gstplayer and exteplayer3 #75 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 22 June 2016 - 07:36

No problem, you don't need to ask for permission :)..



Re: serviceapp - gstplayer and exteplayer3 #76 ian1095

  • Senior Member
  • 462 posts

+6
Neutral

Posted 30 June 2016 - 10:34

Hi mx3L

 

Found a bug in your Serviceapp plugin.

 

When using the Kodi addon Syfi which streams in 1080p , if Exteplayer3 and Serviceapp are selected the stream only comes in a 360p and stutters at that too,it refuses to find a higher quality stream from what I assume to be an HLS variant m3u8 link. If using the Original setting and Mediaplayer it streams at 1080p with no stutters at all.

 

I don't think there's any setting I can adjust to fix this issue,so I thought you should be made aware of its existence.

 

Another much more minor bug is that sometimes the Exteplayer3 refuses to display the stream Res and Bitrate in the infobar,this is random and can work on a stream,then if exited and entered into the exact same stream again it wont display it,but enter the stream again 10mins later and it will display it again lol

 

Ian.


Edited by ian1095, 30 June 2016 - 10:36.


Re: serviceapp - gstplayer and exteplayer3 #77 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 30 June 2016 - 10:47

1. HLS streams with variant playlists are not handled well in exteplayer3, gstreamer does that much better. I think solution could be done directly in serviceapp by implementing subservices. I've already done it but still few things to do, so I will be satisfied.

2. Weird, resolution is provided by ffmpeg, exteplayer3 takes it and outputs it so serviceapp or other client can parse it. If it's provided it should be shown, will look at it.



Re: serviceapp - gstplayer and exteplayer3 #78 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 30 June 2016 - 22:28

Keep up the great work mx3L :)



Re: serviceapp - gstplayer and exteplayer3 #79 R@shed

  • Member
  • 5 posts

0
Neutral

Posted 8 July 2016 - 03:18

is it possible to add exteplayer3 to openatv image and how

thanks in advance



Re: serviceapp - gstplayer and exteplayer3 #80 mx3L

  • Senior Member
  • 616 posts

+79
Good

Posted 16 July 2016 - 12:48

Yes it should be possible. I'm not using openatv, but It should be the similar process as described in this section, just use different oe-core - https://github.com/o...e-alliance-core . If you have some problem with building, let me know.





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users