PDA

View Full Version : Closed Caption plugin for Os mio 4K



electrosat
08-10-19, 21:50
Hello,

I am using the Edision OS mio 4K with the OpenVix image.

I am also very hard of hearing and would like to be able to activate closed captioning on FTA channels in North America.

I can get closed captioning by streaming the channels though VLC, but I would like to be able to do it directly on my TV.

I can also code in Python. Can someone give me a general framework for developing a closed caption plugin for OpenVix? Or is it even possible?

Thank you. :)

abu baniaz
08-10-19, 22:03
we call them subtitles. there should be a button on your remote to activate subtitles

electrosat
08-10-19, 22:13
we call them subtitles. there should be a button on your remote to activate subtitles

Unfortunately, when you press the subtitle button on the Edision remote, there are no subtitles. Just a black circle with a bar. But you can stream the channel through VLC and the subtitles will appear on the screen.

So, the subtitles are in the stream, but cannot be displayed on my TV directly from my OS mio. I would like to be able to fix this with a plugin and if someone can give me some guidance, I might be able to code it myself.

abu baniaz
08-10-19, 22:34
There are no plugins for subtitles that I am aware of, it is all done in cpp code. https://github.com/OpenViX/enigma2/commits/Dev/lib/gui/esubtitle.cpp I am sure if somoen knows of one they will post details for you.

What you described is a "button not allowed" icon, that may need fixing in the keymap. Start Enigma2 in console mode (details on commands link in my signature) and double check or enable debug logs and check that way. Alternatively, use the openwebif remote and try enabling subtitles that way. I appreciate you don't believe it is possible.

If American subtitles/ closed caption are not available on Enigma2, then work would need to be done in the file I linked above.

electrosat
08-10-19, 22:39
There are no plugins for subtitles that I am aware of, it is all done in cpp code. https://github.com/OpenViX/enigma2/commits/Dev/lib/gui/esubtitle.cpp I am sure if somoen knows of one they will post details for you.

What you described is a "button not allowed" icon, that may need fixing in the keymap. Start Enigma2 in console mode (details on commands link in my signature) and double check or enable debug logs and check that way. Alternatively, use the openwebif remote and try enabling subtitles that way. I appreciate you don't believe it is possible.

If American subtitles/ closed caption are not available on Enigma2, then work would need to be done in the file I linked above.

Ok, thanks. I will try your keymap suggestion and report back. If that doesn't work, I will take a look at the github file and see if I can figure it out.

abu baniaz
08-10-19, 22:40
Sorry, it might not be possible at the moment.

This thread may be of assistance


https://forums.openpli.org/topic/68209-exteplayer3-support-for-the-embedded-pgs-presentation-graphic-stream-subtitle-format/


Athoik does some wonderful work. Hopefully it can be added to Enigma2

abu baniaz
08-10-19, 22:41
Simonc on our forum did some work on subtitles recently, he may be able to assist too.

electrosat
08-10-19, 22:47
Sorry, it might not be possible at the moment.

This thread may be of assistance


https://forums.openpli.org/topic/68209-exteplayer3-support-for-the-embedded-pgs-presentation-graphic-stream-subtitle-format/


Athoik does some wonderful work. Hopefully it can be added to Enigma2

That would be great for myself and others who have a difficult time hearing. Thank you again for your help.

electrosat
09-10-19, 00:55
I found these packages on the OpenWebif:

enigma2-plugin-extensions-subssupport (1.5.6-r0)
Collection of enigma2 subtitles plugins
enigma2-plugin-extensions-subssupport-dbg (1.5.6-r0)
Collection of enigma2 subtitles plugins - Debugging files
enigma2-plugin-extensions-subssupport-dev (1.5.6-r0)
Collection of enigma2 subtitles plugins - Development files