Jump to content


Photo

Problem with subtitles

subtitles problem disappear

  • Please log in to reply
21 replies to this topic

#1 smile20

  • Member
  • 33 posts

0
Neutral

Posted 7 November 2011 - 15:42

Hello! I have problem with subtitles which disappears with no reason. Im talking about movie player, dont know if problem also exist while watching normal tv channel. I turn on movie, turn on subtitles, wait few seconds and i see them on screen. And next sometimes they disapears in sound menu they are turned off and i have to once again turn them on. Also subtitles disappears when i move back/forward movie, not always, its random. Any solutions? DM 800 se, latest beta, but i have the same problem with earlier versions of PLI. Subtitles named same as movie. *.srt and coded in UTF-8. Please for help, beause i watch alot of movies and its annoying when you have to turn it on few times.

Re: Problem with subtitles #2 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 7 November 2011 - 17:07

This is due to bugs in gstreamer that were never solved yet...

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


Re: Problem with subtitles #3 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 7 November 2011 - 20:39

@Littlesat:

today i tried play .mkv with .srt in utf-8 with problems - on same place of movie subtitles disappearing. When I want it turn on again, movie continues, but OSD menu is black only. Use Exit and again. Same. After several trying no action of RC. I must turn off/on box.
Tried again - same.
I saw into .srt file and subtites disappearing on lines, where are only spaces (dont know, why exist in .srt, but exist). I must set there "." (point) and all is ok. Do you think, problem in gstreamer it can be too ?
Kdo nic nedělá, nic nezkazí!

Re: Problem with subtitles #4 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 November 2011 - 15:20

Indeed looks like a (another) gstreamer bug to me.

OTOH imho it's completely pointless to add lines with only whitespace to a srt file?

Edited by Erik Slagter, 8 November 2011 - 15:21.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #5 ims

  • PLi® Core member
  • 13,624 posts

+212
Excellent

Posted 8 November 2011 - 15:58

I did not add it, it was ... I cannot check all .srt files before playback :-)
Kdo nic nedělá, nic nezkazí!

Re: Problem with subtitles #6 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 8 November 2011 - 16:02

I did not imply you did it ;-) I just cannot understand why "someone" would do it.

I have a perl script that sanitizes srt files before I add them (embedded) to mp4 files, guess I need to add this to it as well :-(

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #7 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 8 November 2011 - 21:09

What perl script. I would like to test that one ;)

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


Re: Problem with subtitles #8 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 9 November 2011 - 15:38

It's very simple, it rewrites the time codes so you can shift and squeeze/expand the subs for programs using different frame rates etc. It also concats multi-line subs to one line, so enigma can do the "proper" formatting instead of relying on what the subtitler decided. And it replaces " ," and " ?" sequences by ", " and "? " like it should. It shouldn't be that hard to expand it to also filter lines with only whitespace.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #9 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 November 2011 - 15:43

It also concats multi-line subs to one line

Rewrapping subtitles leads sometimes also to strange worse readable stuff.... ;)

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


Re: Problem with subtitles #10 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 9 November 2011 - 15:59

That's not my experience. As long as there is a space in between, it's fine with me.

Or you may be referencing to this phenomenon:

- person a says something
- person b says something

becomes

- person a says something - person b says something

I don't mind that.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #11 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 9 November 2011 - 17:04

That is taste ;) that is why for teletekst subtitles and also for srt subtitles we get the rewrap function in PLi... You do not have the rerender this in the srt file....

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


Re: Problem with subtitles #12 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 November 2011 - 11:43

Yes you do... If the subs renderer encounters a text consisting of two lines, when embedded in mp4, they are always shown as two separate lines, even if "reformat" is selected. You might want to have a look at that ;-)

Yes I know, I am the only one using the "reformat" option, I know ;-)

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #13 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 10 November 2011 - 11:58

You are right... The rewrap is in the teletext subtitles... Not in the srt subtitles... XQQ

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


Re: Problem with subtitles #14 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 November 2011 - 12:26

Do you think it's much work to implement it in srt / embedded as well?

Also there are some tiny bugs in the algorithm, which I plan to have a look at myself when I have the time for it :-/

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #15 smile20

  • Member
  • 33 posts

0
Neutral

Posted 10 November 2011 - 12:33

Maybe new player would fix the problems, is there any known player which work better?

Re: Problem with subtitles #16 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 10 November 2011 - 13:18

What tiny bugs? (I'm not talking about gstreamer bugs now).

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


Re: Problem with subtitles #17 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 10 November 2011 - 13:46

Me neither, I was talking of tiny bugs LOL.

Sometimes many words in a sub get concatenated without whitespace, sometimes part of the first and last character on a (long) are cropped, sometimes a line gets wrapped at an illogical place, the next word is then in dark grey ink, and the rest of the line is okay. I've seen this only on BBC. Looks like some control character is interpreted incorrectly.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #18 jeanclaude

  • Senior Member
  • 866 posts

+28
Good

Posted 10 November 2011 - 16:34

talking of UK subtitles - they use different colors for the different people speakin on-screen. Maybey the problem is related to these colour changes ?
DreamBox 7000S+8000HD (eindelijk), openPLi, CCcam, 85 cm schotel, draaibare opstelling en VEEL te weinig slaap.

Re: Problem with subtitles #19 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 11 November 2011 - 09:00

It's not only in the UK, it's common practise for teletext subtitles to have different colours for different speakers.

* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: Problem with subtitles #20 littlesat

  • PLi® Core member
  • 56,271 posts

+691
Excellent

Posted 11 November 2011 - 10:41

If you do not want these colors you can set use original colors to OFF...

@Erik, I now that you are able to create cpp code... so the rewrap for srt subtitles you can make by your own (I recommend to use the same rewrap setting as now for teletext rewrap)... the code that should be changed is in cpp code... /lib/gui/esubtitle.cpp.... then you are also able to make it exactly as you which... ;)
(not everything from the user interface in in python)

Edited by littlesat, 11 November 2011 - 10:42.

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




Also tagged with one or more of these keywords: subtitles, problem, disappear

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users