Jump to content

Hebrew Subtitles: Request to correct the location of punctuation marks


AlderaaN

Recommended Posts

AlderaaN

Hello,

 

Hebrew is a Right-to-Left language.

Is it possible for Emby Server to render the subtitles correctly at the start/end of each line when loading Hebrew subtitles?

 

My set up:

  • Emby Server v4.3.1.0-1 installed on a Synology DS414 NAS.
  • Emby Theater v1.0.20 installed on LG Smart TV (65UM7340PVA).
  • Emby for Android v1.7.78g installed on three (3) Android TV devices:
    2 x Xiaomi Mi Box (not the newer Xiaomi Mi Box S), Android v8.0.0, Kernel v4.9.54
    1 x STING 9993 device (AKA: STINGTV Box), Android v7.0, Kernel v4.1.39
 

Below I've attached 3 examples.

PotPlayer is installed on a Windows machine, plays the media files from the same Synology DS414 NAS and renders correctly the Hebrew Subtitle's punctuation marks at the start/end of each line.

 

I've also specified timestamps, so you can refer to them in the attached .srt file.

 

1:

00:34:38,398 - Played locally on PotPlayer:

5e3d5d8cb48b0_PotPlayer1.jpg

 

00:34:38,398 - Played via Emby Server on LG Smart TV or AndroidTv:

5e3d5d6ad9697_Emby1.jpg

 

2:

00:34:45,104 - Played locally on PotPlayer:

5e3d5e14460db_PotPlayer2.jpg

 

00:34:45,104 - Played via Emby Server on LG Smart TV or AndroidTv:

5e3d5e220df79_Emby2.jpg

 

3:

00:35:33,553 - Played locally on PotPlayer:

5e3d5e4b0f011_PotPlayer3.jpg

 

00:35:33,553 - Played via Emby Server on LG Smart TV or AndroidTv:

5e3d5e6dbc42b_Emby3.jpg

 

 

Regards,

Avengers Endgame (2019).srt

Edited by AlderaaN
Link to comment
Share on other sites

AlderaaN

Hello and thank you for taking the time to reply.

 

Following your question, I've just installed Emby for Android Mobile v3.0.97 on my Smartphone.

Punctuation marks in Hebrew Subtitles appear to be rendered perfectly.

 

You advise that for now I use my Smartphone to stream and cast it onto my TVs, or would you like to troubleshoot the issue from another angle?

 

 

Regards,

Edited by AlderaaN
Link to comment
Share on other sites

No, I was just trying to collect information to help us solve it. What version of WebOS does your LG run?

Link to comment
Share on other sites

AlderaaN

Cool, thank you.

 

My LG 65UM7340PVA Software version reads 4.70.20 and when I drill further down it reads webOS TV 4.7.0-50706 (goldilocks2-gulaga) .

Edited by AlderaaN
Link to comment
Share on other sites

AlderaaN

BTW:

If additional information regarding my Android TV devices is required:

2 x Xiaomi Mi Box (not the newer Xiaomi Mi Box S), Android v8.0.0, Kernel v4.9.54

1 x STING 9993 device (AKA: STINGTV Box), Android v7.0, Kernel v4.1.39

 

Emby for Android v1.7.78g installed on all three (3) devices. All of them exhibit the same issue.

 

 

Regards,

Link to comment
Share on other sites

Hello @@Luke, @@SamES,

 

Wanted to know if this is still being looked at.

 

Thank you.

 

Hi, yes most certainly. I'll let you know soon what I find.

  • Like 1
Link to comment
Share on other sites

If I play your sub file on Chrome and Safari they also show the punctuation on the right (like your second picture 00:34:38,398 - Played via Emby Server on LG Smart TV or AndroidTv:). In all these cases the html video player is rendering the track elements.

 

If I switch to custom rendering, the punctuation appears to be in the correct location, but it's not rendering with line breaks, which is another issue (ie: the sub at 00:34:38,398 is displayed as one long line)

 

Where does this leave us?  I suspect there is an issue with this subtitle srt file, but I've been wrong before.  While it's possible, I would take some convincing to believe that this is a fault in the html5 video player as otherwise I think this would be causing many more problems for other people.

 

Do you only have punctuation issues with this movie, or is it a problem with all movies?

Link to comment
Share on other sites

AlderaaN

Hello and thank you for taking the time to investigate the issue!

 

1. The punctuation issue applies to all movies.

 

2. As mentioned earlier, if I install Emby for Android Mobile on my Smartphone and then play it on my TV:

There are no issues with punctuation nor with line breaks.

 

3. If necessary, I can provide you in private with additional .srt files for other movies to confirm.

 

 

Regards,

Edited by AlderaaN
Link to comment
Share on other sites

Thanks for confirming, that means I'll keep looking at this.  When you play it on android mobile, is it transcoding on the server?

Link to comment
Share on other sites

OK, this all seems to be about character encodings.

 

Your srt file is encoded using 1252: Western European coding, so while the characters are drawn as you expect them to be, the punctuation is following latin/western approach

 

If I change your encoding to utf8, the punctuation now swaps to the correct (Hebrew) way, but the characters are no longer rendered correctly.

 

I still don't know how to solve this, but @@Luke or others may have some thoughts.

 

Do you know how these subtitles were created?

5e4fcbfc29b12_Untitled.jpg

Link to comment
Share on other sites

AlderaaN

Thanks for confirming, that means I'll keep looking at this.  When you play it on android mobile, is it transcoding on the server?

It's playing the file from the server but I don't think the server is transcoding anything.

How can I check just to be sure?

 

Do you know how these subtitles were created?

5e4fcbfc29b12_Untitled.jpg

No.

Link to comment
Share on other sites

  • 2 months later...

@@AlderaaN

 

Your server dashboard will tell you during playback if it is transcoding or not. Please let us know if this helps. Thanks !

Link to comment
Share on other sites

  • 1 month later...
ddwiz410

I also tried the latest release of Emby on LG WebOS and the hebrew STR subtitles issue of punctuation marks still exist.

Link to comment
Share on other sites

ddwiz410

Hi

@ddwiz410

I tried the latest Emby for LG WebOs and the location of punctuation marks on Hebrew SRT subtitles is wrong.

There is other topic opened here , I am using Emby windows Server.

 

 

Link to comment
Share on other sites

On LG it's a little tricky because we think it is a webos platform defect. I'm not sure if we can work around it but we'll look into what might be possible. Thanks.

  • Like 1
Link to comment
Share on other sites

ddwiz410

Thanks for looking into this issue :)

the same topic I opened under LG smart TV was deleted, I opened it there since it is probably an LG client issue, I guess it was deleted to prevent duplication.   

 

Edited by ddwiz410
Link to comment
Share on other sites

  • 4 weeks later...
2 hours ago, Bner2 said:

Is there any progress on this issue?

HI there, what Emby app are you playing with?

Link to comment
Share on other sites

2 hours ago, Bner2 said:

I am using Emby for Android TV

What device are you playing on?

Link to comment
Share on other sites

4 hours ago, Luke said:

What device are you playing on?

Just like OP, I have a Mi Box and a Mi Box S, both updated to the latest version.

It's really the only thing keeping me from emby, so it sucks big time

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...