Jump to content


Photo

DVB subtitles support in eServiceMP3/GStreamer

DVB Subtitles GStreamer

  • Please log in to reply
63 replies to this topic

#1 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 17 October 2024 - 22:38

Hello.

 

So as title said i have made GStreamer to render graphic DVB subtitles for channels that have them.

It works pretty well. There is minor delay on subtitles but is OK for now imho.

 

I still testing that...But it works on my build here. Currently made for built in eServiceMP3 in OE-A distros....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #2 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 17 October 2024 - 22:41

:thumbs-up:


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #3 littlesat

  • PLi® Core member
  • 57,510 posts

+709
Excellent

Posted 18 October 2024 - 06:12

Really good!!!!

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: DVB subtitles support in eServiceMP3/GStreamer #4 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 18 October 2024 - 13:43

The delay is fixed by a trick...But well it works and now the subs are in sync ;)

Gstreamer have its issues in general so we can not escape from that.

However at least the gap with missing dvb subs is kind of filled in.


Edited by DimitarCC, 18 October 2024 - 13:44.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #5 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 18 October 2024 - 15:29

Brillant !

 

I wish I had your skills... ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #6 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 18 October 2024 - 16:49

Well i just read a lot ;)
There are still minor sync issues... I will investigate if i can eliminate them...
Sometimes subs come too early but maybe can fix that by checking the current decoder time and PTS of the subs.... Will play around...

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #7 kamaxx

  • Senior Member
  • 95 posts

+5
Neutral

Posted 18 October 2024 - 17:30

@DimitarCC;

 

 

A brillant idea !

Super,duper news  :D

:thumbs-up:



Re: DVB subtitles support in eServiceMP3/GStreamer #8 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 19 October 2024 - 12:39

So DVB subtitles sync issues finally fixed....

Just need more testing about this and will port it to PLi too....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #9 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 24 October 2024 - 15:59

So the pulls that are for this

 

https://github.com/O...vicemp3/pull/31

 

https://github.com/O...igma2/pull/4084


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #10 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 24 October 2024 - 18:20

I've merged them both, there is currently a develop build running with these commits.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #11 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 24 October 2024 - 18:54

OK... but it seems there was something missed in the merge.....

So i added new pull

 

https://github.com/O...vicemp3/pull/32


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #12 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 24 October 2024 - 18:55

if you can restart the build will be good since i am not sure is dvb subs going to work without latest PR...


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #13 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 24 October 2024 - 18:59

Just merged it. I'll abort the running build and restart.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #14 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 24 October 2024 - 19:12

Thanks. Hopefully all is there now...Sorry about...


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #15 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 24 October 2024 - 20:04

I am no longer able to build Scarthgap:

| /data/openpli/pli-oe/scarthgap/build/tmp/work/vusolo4k-oe-linux-gnueabi/enigma2-plugin-systemplugins-servicemp3/git/recipe-sysroot/usr/include/c++/13.3.0/bits/stl_algobase.h:1170:29: error: no match for 'operator==' (operand types are 'eServiceMP3::subtitleStream' and 'eServiceMP3::subtitleStream')

 


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #16 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 24 October 2024 - 20:10

Ok. Try with this pull

https://github.com/O...vicemp3/pull/33

 

it adds missing operators.....


Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #17 WanWizard

  • PLi® Core member
  • 71,037 posts

+1,838
Excellent

Posted 24 October 2024 - 20:55

Thanks for the quick fix, this seems to have done it (build is still running).


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: DVB subtitles support in eServiceMP3/GStreamer #18 Dimitrij

  • PLi® Core member
  • 10,385 posts

+354
Excellent

Posted 28 October 2024 - 06:49

ServiceInfo.py(use in panel infobar)

"Framerate": (self.FRAMERATE, (iPlayableService.evVideoSizeChanged, iPlayableService.evUpdatedInfo)),

 

iptv service always show N/A

problem this

https://github.com/O...74ac2d7a8cL2039


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: DVB subtitles support in eServiceMP3/GStreamer #19 DimitarCC

  • PLi® Contributor
  • 1,635 posts

+76
Good

Posted 28 October 2024 - 07:12

Change (or add) the event iPlayableService.evUpdatedInfo to iPlayableService.evUser+15....

evUpdatedInfo  caused impossibility to select anything in the Audio/Subtitle selection screens due to constantly resetting it.

m_event((iPlayableService*)this, evUser+15); // Use user event for tags changed notification since if we use evUpdatedInfo it causes constant refreshes of AudioSelectionLists

Also in OE-A distros there is another way to get the framerate that still get the framerate on evVideoFramerateChanged......Maybe PLi should consider to adopt that code (for whole ServiceInfo.py)....


Edited by DimitarCC, 28 October 2024 - 07:19.

Vu+DUO4KSE, DM920UHD, Vu+Uno4KSE, SF8008Mini, 2xPulse4K, Vu+Solo2, Dreambox DM500HD, Triax 78 (7E,9E,13E,19.2E,23.5E) & 2xTriax 78 (39E)


Re: DVB subtitles support in eServiceMP3/GStreamer #20 Dimitrij

  • PLi® Core member
  • 10,385 posts

+354
Excellent

Posted 28 October 2024 - 08:50

 

use evUpdatedInfo it causes constant refreshes of AudioSelectionLists

Maybe use this solution

https://github.com/D.../common.py#L192

only itv service


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users