Jump to content

ASS subtitle formatting issues (iOS, Apple TV, Android, Kodi)


Go to solution Solved by iBoss,

Recommended Posts

Posted (edited)

Hi,

 

There is some issue with ASS Arabic subtitle (actually I don't know if it's there in English as well).

 

Please see the screenshots.

 

 

Server: Ubuntu Linux 16.04.5

Emby Version 3.5.2.0

The log file and subtitle is attached

 

Thanks

post-134723-0-05847400-1534006997_thumb.png

post-134723-0-87782800-1534007007_thumb.png

post-134723-0-17179100-1534007021_thumb.jpg

logs.zip

subtitle.zip

Edited by iBoss
Posted

What exactly is the issue?

Posted

Hi Luke,

 

The word with color style not at the correct position in iOS, Android and Apple TV emby app (attached ios.png); it should be as (attached chrome.png).

 

Kodi shows the ASS but without any formatting/color (attached kodi.jpg)

 

with chrome, it works perfectly.

 

I hope now is clear :)

 

Thanks

Posted

Which android app, the TV app, or mobile app?

Posted

Android TV app

 

actually I dont have android mobile app to check

Posted

I can reproduce this with all of our apps that use the mpv video player @.

 

I think this issue needs to be reported to mpv.

Guest asrequested
Posted (edited)

They won't pay attention to it without logs and/or examples to work with.

 

You'll want to report as much info as you can. I would do it, but I don't have anything to work with. And if it's the android app, don't get your hopes up.

 

mpv issues

 

mpv android issues

 

Edit:

 

Just downloaded the subs zip. I'll test it later

Edited by Doofus
Posted

They won't pay attention to it without logs and/or examples to work with.

 

 

but I have already attached the log and the subtitle. also the screenshoot for the example.

 

If there anything missing, I'll be happy to provide it :)

 

 

 

Just downloaded the subs zip. I'll test it later

 

Thanks

Posted

Thanks for the advice @.

Guest asrequested
Posted

but I have already attached the log

 

I mean the mpv log. When I get around to testing, I'll generate a log and make a report. As for Kodi and Apple, I can't do anything with that.

Posted

- Can I generate mpv log from emby android app? or should I download mpv app and generate the log from it?

- In Goolge Chrome (Mac), it works, what is the player use for emby browser?

 

 

 

 

I mean the mpv log. When I get around to testing, I'll generate a log and make a report

 

Thanks :)

 

 

As for Kodi and Apple, I can't do anything with that.

 

Is it because Apple use own video player so you can't do anything :( ?

 

Ok what about transcoding the video and make hard subtitle on it, is it possible? (if it is possible, please tell me how)

 

@@Luke @ thanks

Guest asrequested
Posted

MPV is the player in the windows desktop app, I'll test with the MPV, directly.

 

You can burn them in, if you want to.

Posted

MPV is the player in the windows desktop app, I'll test with the MPV, directly.

 

You can burn them in, if you want to.

 

I know about MPV Player .. I have tested the subtitle there and yes it has the same problem.

 

I have some question:

 

1- Is emby android mobile and tv app use this mpv player as android default player?

2- Why does the subtitle work in emby browser (Chrome)?

3- So the issue from the player not emby?

4- How can I force emby server to burn subtitle before send the video to the emby client app?

 

Thanks

Guest asrequested
Posted

The Android mobile uses mpv. Android TV has the option to use mpv, but isn't the default.

 

If you want to have the server burn them in, just lower the bitrate on the palyer to below the file bitrate. That will make it transcode. Now here's where I'm unclear. Your subs are external, I'm not sure they will get burned in or not.

 

The player in chrome seems to be able to handle them.

 

The issue would appear to be player related.

 

Until I test it and see what's happening, I'm just speculating. MPV has a multitude of options

Guest asrequested
Posted

Can you share the actual video, that you're playing (with the subs)? I'm playing around with your sub file, but I want to verify something.

Posted

You might be right, although it doesn't seem like any of the -sub-ass option default values will cause any problem.

 

This is interesting though:

--sub-ass-shaper=<simple|complex>
Set the text layout engine used by libass.

simple:	uses Fribidi only, fast, doesn't render some languages correctly
complex:	uses HarfBuzz, slower, wider language support
complex is the default. If libass hasn't been compiled against HarfBuzz, libass silently reverts to simple.

I don't know if libass is compiled against harfbuzz or not.

Guest asrequested
Posted (edited)

With the override on, I had the subs overlapping. Turning it off, the positions looked correct. But I can't read it.

Edited by Doofus
Posted

You mean you tested with this exact same subtitle?

Guest asrequested
Posted

The subtitle he posted in post #1

  • Solution
Posted (edited)

@ @@Luke appreciate your support.

 

I can provide you the video ... but after some investigation, it seems the subtitle itself wrote on the wrong way  :wacko:  .. I'm not sure but I'll try other ASS subtitle later

 

In the meantime please leave it until I make sure about it .. Sorry about that.

 

Many thanks to you

 

 

 

For mpv, this may be needed. But as I can't tell if it's correct, you may have to test it yourself.

 

https://mpv.io/manual/stable/#options-sub-ass-override

sub-ass-override=no

 

Anyway I have tried this but nothing changed

Edited by iBoss
Guest asrequested
Posted

Oh, well that would explain it :)

Posted

Thanks for the feedback !

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...