Jump to content


Photo

Hebrew Subtitles: Request to correct the location of punctuation marks


  • Please log in to reply
13 replies to this topic

#1 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 07 February 2020 - 09:10 AM

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,

Attached Files


Edited by AlderaaN, 07 February 2020 - 04:14 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:05 AM

Posted 07 February 2020 - 02:20 PM

Hi there, do you have any mobile devices?



#3 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 07 February 2020 - 02:37 PM

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, 07 February 2020 - 02:39 PM.


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:05 AM

Posted 07 February 2020 - 02:54 PM

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



#5 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 07 February 2020 - 03:26 PM

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, 07 February 2020 - 03:27 PM.


#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 149390 posts
  • Local time: 01:05 AM

Posted 07 February 2020 - 03:30 PM

@SamES



#7 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 07 February 2020 - 04:12 PM

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,



#8 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 14 February 2020 - 06:49 AM

Hello @Luke, @SamES,
 
Wanted to know if this is still being looked at.

 

Thank you.



#9 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1157 posts
  • Local time: 05:05 PM

Posted 14 February 2020 - 08:34 AM

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.


  • AlderaaN likes this

#10 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1157 posts
  • Local time: 05:05 PM

Posted 21 February 2020 - 06:31 AM

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?



#11 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 21 February 2020 - 06:43 AM

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, 21 February 2020 - 06:45 AM.


#12 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1157 posts
  • Local time: 05:05 PM

Posted 21 February 2020 - 06:58 AM

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



#13 SamES OFFLINE  

SamES

    Advanced Member

  • Members
  • 1157 posts
  • Local time: 05:05 PM

Posted 21 February 2020 - 08:24 AM

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



#14 AlderaaN OFFLINE  

AlderaaN

    Newbie

  • Members
  • 7 posts
  • Local time: 08:05 AM

Posted 21 February 2020 - 11:45 AM

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.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users