Jump to content


Photo

Issue in Font Style

ass android_tv font

  • Please log in to reply
34 replies to this topic

#1 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 01 February 2019 - 01:29 PM

Hi,

 

Please see the attached image "issue.png" .. it will explain everything :)

 

I have attached the ASS file for the test

I have attached the transcode files for: iOS, Apple TV, Android TV, Android mobile

The Log is attached

 

Server: Ubuntu Linux 16.04 LTS

Emby Version 4.0.1.0

iOS,Apple TV and Android Mobile: latest update

Android TV: 1.6.79g

Attached Files


  • acmby likes this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142291 posts
  • Local time: 04:10 AM

Posted 01 February 2019 - 01:30 PM

what happens if it direct plays to the mobile apps instead of transcoding? how does that compare?



#3 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 01 February 2019 - 01:39 PM

what happens if it direct plays to the mobile apps instead of transcoding? how does that compare?

 

Direct plays on iOS, AppleTV and Android Mobile it shows the font correctly

Transcode play on iOS, AppleTV and Android mobile it shows the font correctly

 

The issue only on Android TV, it shows different font :(


Edited by iBoss, 01 February 2019 - 01:39 PM.


#4 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 01 February 2019 - 05:46 PM

Hi.  The Android TV app supports that subtitle format but only with basic text display - it does not support the formatting.



#5 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 02 February 2019 - 04:46 AM

Hi.  The Android TV app supports that subtitle format but only with basic text display - it does not support the formatting.

 

It supports the the style formatting, but the problem how the server behave with the Android TV.

 

Did you read the transcode file? In Android TV, actually does not use basic text. I'll explain

 

first to make it clear: in my issue there is two separate files mkv and ass file (the ass not embedded inside mkv)

 

this is how it works

 

- In Android mobile, iOS and Apple TV:

  • In transcoding: the server transcode the video without burn the subtitle -> it will send the transcoded video to the emby client + ass -> the emby will show the font correctly
  • In Direct: the server send the video to the emby client + ass -> the emby will show the font correctly

- In Android TV:

  • In transcoding: the server will burn the subtitle ass using server font "/var/lib/emby/fonts/DroidSansFallback.ttf" .. why?!!! the server should behave same as above: send transcoded video + ass file to emby Android TV

          (so the font is showing is not a plain text, it is a full styling text but with different font "DroidSansFallback.ttf").

  • In Direct: the server always transcode the video, there is no Direct stream even I set the bitrate max.

 

there is approve that Android TV support the formatting: if I embed the ass file inside mkv ... the Android TV will show the subtitle font correctly but other issue will happened with other devices; I'll talk about it later, now lets please focus to solve this issue.

 

Please do me a favor, just update the emby server beta to force it when transcode the video for Android TV, don't burn the subtitle -> just send it with ass separately as other emby clients. if you did it I'll test it (I'm very sure it will work)



#6 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 06 February 2019 - 01:32 PM

@Luke @ebr

 

Are you looking into it? do you need from me any more information about the issue?

 

I'm ready to help



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142291 posts
  • Local time: 04:10 AM

Posted 06 February 2019 - 01:43 PM

It's something we can look at improving in a future update. thanks.



#8 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 06 February 2019 - 04:25 PM

Ok .. now I'm trying to use SRT instead of ASS but the subtitle is not shown  :wacko:

 

 

emby Android TV v1.6.79g

 

The log and transcode files are attached

Attached Files



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 142291 posts
  • Local time: 04:10 AM

Posted 06 February 2019 - 04:29 PM

Make sure to run a library scan after adding the new subtitle file.



#10 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 06 February 2019 - 04:32 PM

Make sure to run a library scan after adding the new subtitle file.

 

I did .. and when I play the video the subtitle is there and selected but it is not shown



#11 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 06 February 2019 - 04:45 PM

Also I would like to inform, this video file I have it will direct play on max. bitrate on iOS, Apple Tv and Android Mobile .... but on Android TV is always transcoded even with max bitrate (even I remove the subtitle file, it is always transcoded). Is this normal? why other devices can play it direct but Android TV can't?

 

 

If you want, I can send you the video file


Edited by iBoss, 06 February 2019 - 04:46 PM.


#12 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 06 February 2019 - 05:32 PM

The ffmpeg log indicates an unsupported video profile and I see it is reported as level 6.2 which is higher than anything the app has encountered before (5.x).

 

Edit: Sorry, was looking at wrong part of log - the video is only level 4.1 so I don't know why it is reporting an unsupported profile level...

 

There is no subtitle requested in those logs either so I'm not sure what would be up with that if you actually did turn them on in the interface.



#13 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 06 February 2019 - 06:16 PM

Okay, now I see it - this is h264 High 10 which is not currently recognized by the app.  I may have to investigate what devices will support it.



#14 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 07 February 2019 - 01:16 AM

There is no subtitle requested in those logs either so I'm not sure what would be up with that if you actually did turn them on in the interface.

 

I have turn on the subtitle from the interface but nothing change. it works with other devices

 

 

 

Okay, now I see it - this is h264 High 10 which is not currently recognized by the app.  I may have to investigate what devices will support it.

 

I have these devices and I have test it with them:

 

- iOS: Direct play works.

 

- Apple TV: Direct play works.

 

- Android Mobile: Direct play works.

 

- Android TV: Direct play does not work

 

--------

 

Do you want from me to send the video file to you?

 

 

Thanks


Edited by iBoss, 07 February 2019 - 01:49 AM.


#15 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 07 February 2019 - 10:58 AM

Do you want from me to send the video file to you?

 

Yes please.



#16 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 07 February 2019 - 12:09 PM

@ebr @Luke

 

In brief, let me explain everything:

 

Scenario 1 : Video file only:

 

- iOS, AppleTV and Android Mobile:

  • Max. bitrate: Direct play (Perfect)
  • low bitrate: Transcoded (Perfect)

- Android TV:

  • Max. bitrate: Transcoded (need to be fixed)
  • low bitrate: Transcoded (Perfect)

 

Scenario 2 : Video file + ASS:

 

- iOS, AppleTV and Android Mobile:

  • Max. bitrate: Direct play and subtitle is shown with its style (Perfect)
  • low bitrate: Transcoded and subtitle is shown with its style (subtitle not burn in ... thats really good :) .. it send to client as it is) (Perfect)

- Android TV:

  • Max. bitrate: Transcoded and subtitle burn in with different font (font from the server) (need to be fixed)
  • low bitrate: Transcoded and subtitle burn in with different font (font from the server) (need to be fixed)

 

Scenario 3 : Video file + SRT:

 

- iOS, AppleTV and Android Mobile:

  • Max. bitrate: Direct play and subtitle is shown (Perfect)
  • low bitrate: Transcoded and subtitle is shown (subtitle not burn in ... thats really good :) .. it send to client as it is) (Perfect)

- Android TV:

  • Max. bitrate: Transcoded and subtitle is not shown (need to be fixed)
  • low bitrate: Transcoded and subtitle is not shown (need to be fixed)

-------------------

 

Please Download this file

 

The link is zip file which contain three files:

  • video
  • srt
  • ass

Edited by iBoss, 07 February 2019 - 03:34 PM.


#17 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 07 February 2019 - 03:57 PM

Thanks for the sample.  Both subtitles work fine for me in the app now.  There was a fix that went out earlier today in beta that may be related to this.

 

As for the transcoding, as I mentioned above, this is due to the profile being something unexpected (h264 High 10).  I will test your sample on various devices to see if that profile can play.

 

Thanks.


  • iBoss likes this

#18 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 07 February 2019 - 04:20 PM

Unfortunately, that item will not play reliably on either my Mi or Shield due to the high 10 profile.  The right thing to do here is transcode it which makes it play fine.



#19 iBoss OFFLINE  

iBoss

    Advanced Member

  • Members
  • 150 posts
  • Local time: 12:10 PM

Posted 07 February 2019 - 04:26 PM

Unfortunately, that item will not play reliably on either my Mi or Shield due to the high 10 profile.  The right thing to do here is transcode it which makes it play fine.

 

yes I know it is high 10 profile ... but why is working on Android Mobile and not on Android TV, is they both use same player mpv? or because the graphic chip?



#20 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 48092 posts
  • Local time: 04:10 AM

Posted 07 February 2019 - 04:29 PM

Android TV uses Exoplayer as it is built by Google for the platform and supports a wider range of features.  MPV doesn't support anything other than stereo audio on the TV platform right now.







Also tagged with one or more of these keywords: ass, android_tv, font

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users