Jump to content

Emby does not respect the subtitle selection made by the user.


Juan Simón
 Share

Recommended Posts

Juan Simón

I have this file:

General
Format                                   : Matroska
Format version                           : Version 4
File size                                : 12.4 GiB
Duration                                 : 1 h 9 min
Overall bit rate                         : 25.7 Mb/s
Encoded date                             : UTC 2021-09-24 15:14:35
Writing application                      : mkvmerge v60.0.0 ('Are We Copies?') 64-bit
Writing library                          : libebml v1.4.2 + libmatroska v1.6.4

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 1 h 9 min
Bit rate                                 : 24.1 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 920 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Constant
Frame rate                               : 23.976 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.137
Stream size                              : 11.7 GiB (94%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 2666 cd/m2
Maximum Frame-Average Light Level        : 1008 cd/m2

Audio #1
ID                                       : 2
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 1 h 9 min
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 380 MiB (3%)
Title                                    : Castellano DD+ 5.1 @ 768 kbps
Language                                 : Spanish
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Audio #2
ID                                       : 3
Format                                   : E-AC-3 JOC
Format/Info                              : Enhanced AC-3 with Joint Object Coding
Commercial name                          : Dolby Digital Plus with Dolby Atmos
Codec ID                                 : A_EAC3
Duration                                 : 1 h 9 min
Bit rate mode                            : Constant
Bit rate                                 : 768 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 380 MiB (3%)
Title                                    : Inglés DD+ 5.1 @ 768 kbps
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No
Complexity index                         : 16
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

Text #1
ID                                       : 4
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 7 min
Bit rate                                 : 180 b/s
Count of elements                        : 20
Stream size                              : 89.0 KiB (0%)
Title                                    : Castellano [Forzados] PGS
Language                                 : Spanish
Default                                  : No
Forced                                   : Yes

Text #2
ID                                       : 5
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 7 min
Bit rate                                 : 0 b/s
Count of elements                        : 10
Stream size                              : 195 Bytes (0%)
Title                                    : Castellano [Forzados] SRT
Language                                 : Spanish
Default                                  : No
Forced                                   : Yes

Text #3
ID                                       : 6
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 7 min
Bit rate                                 : 31.6 kb/s
Count of elements                        : 1640
Stream size                              : 15.2 MiB (0%)
Title                                    : Castellano [Completos] PGS
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #4
ID                                       : 7
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 7 min
Bit rate                                 : 60 b/s
Count of elements                        : 817
Stream size                              : 29.9 KiB (0%)
Title                                    : Castellano [Completos] SRT
Language                                 : Spanish
Default                                  : No
Forced                                   : No

Text #5
ID                                       : 8
Format                                   : PGS
Muxing mode                              : zlib
Codec ID                                 : S_HDMV/PGS
Codec ID/Info                            : Picture based subtitle format used on BDs/HD-DVDs
Duration                                 : 1 h 6 min
Bit rate                                 : 31.1 kb/s
Count of elements                        : 1614
Stream size                              : 14.8 MiB (0%)
Title                                    : Inglés [Completos] PGS
Language                                 : English
Default                                  : Yes
Forced                                   : No

Text #6
ID                                       : 9
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 1 h 6 min
Bit rate                                 : 58 b/s
Count of elements                        : 807
Stream size                              : 28.6 KiB (0%)
Title                                    : Inglés [Completos] SRT
Language                                 : English
Default                                  : No
Forced                                   : No

I have set Spanish language and in subtitles "Smart".

In this file Emby selects ID 5 (plain text subtitles) as the default subtitle. Why don't it select ID 4 (in PGS format)?

Edited by Juan Simón
Link to comment
Share on other sites

Juan Simón

And even worse, why doesn't the Emby server respect my subtitle selection for this file, in the file information window?

I select:

Screenshot_20220203_135418.png.565dad826fd61a20bb9ce66367425968.png

But if I exit this screen and enter again, the one determined by the server is selected again:

Screenshot_20220203_135234.png.bcda3ec343dd970e015f442fba82e11d.png

This is clearly a server error.

Link to comment
Share on other sites

GrimReaper
15 minutes ago, Juan Simón said:

I have set Spanish language and in subtitles "Smart".

What is your Preferred audio language? 

Link to comment
Share on other sites

Juan Simón
Just now, GrimReaper said:

What is your Preferred audio language? 

I have said: Spanish.

Link to comment
Share on other sites

GrimReaper
Just now, Juan Simón said:

I have said: Spanish.

You haven't, you only said:

17 minutes ago, Juan Simón said:

I have set Spanish language and in subtitles "Smart".

which might as well have been Subtitle language. 

With Spanish as Preferred audio language, subtitle "Smart" mode should actually preselect subtitles to OFF for this file, as audio IS in your preferred language hence no subs needed, you likely already played that item at some point causing selection to stick. 

14 minutes ago, Juan Simón said:

 

Screenshot_20220203_135418.png.565dad826fd61a20bb9ce66367425968.png

 

Screenshot_20220203_135234.png.bcda3ec343dd970e015f442fba82e11d.png

 

 

Link to comment
Share on other sites

GrimReaper
15 minutes ago, Juan Simón said:

And even worse, why doesn't the Emby server respect my subtitle selection for this file, in the file information window?

I select:

Screenshot_20220203_135418.png.565dad826fd61a20bb9ce66367425968.png

But if I exit this screen and enter again, the one determined by the server is selected again:

Screenshot_20220203_135234.png.bcda3ec343dd970e015f442fba82e11d.png

This is clearly a server error.

As for this, an item has to be played even for a few seconds for manual selection to stick, changing it only in Detail screen won't do. 

Link to comment
Share on other sites

Juan Simón

No, I think this is a server and client bug. I didn't play the movie never

In this case your assumption is incorrect. It must select the forced ones in my language (Spanish) but in this case there are 2: some in SRT format and other in PGS format. Emby selects the SRT and there is no way to change it in the movie tab. 

I have also tried it with other movies and series episodes with the same result. 

Plex, for example, remembers the subtitles marked in the movie or episode tab, regardless of what I have selected in the subtitle options (these options should only be used by default for a new movie or episode).

Link to comment
Share on other sites

6 minutes ago, GrimReaper said:

As for this, an item has to be played even for a few seconds for manual selection to stick, changing it only in Detail screen won't do. 

Correct.

Link to comment
Share on other sites

Juan Simón
Just now, Luke said:

Correct.

The selection made by the user should always be respected, or is Emby going to impose the subtitles to be used?

Link to comment
Share on other sites

GrimReaper
10 minutes ago, Juan Simón said:

In this case your assumption is incorrect. It must select the forced ones in my language (Spanish)

AFAIK there's Forced mode for that, but Dev will have to comment.

Edit:

@Luke, should Smart subtitle mode for an item with Spanish audio (preferred audio language: Spanish) preselect Spanish forced subs? 

10 minutes ago, Juan Simón said:

Plex, for example, remembers the subtitles marked in the movie or episode tab, regardless of what I have selected in the subtitle options

It does. Emby does not. 

 

Edited by GrimReaper
Query
Link to comment
Share on other sites

Juan Simón

It seems to me that you are understanding what you want. 

If there are 2 identical forced subtitles with the only difference being the format,

  1. Why does Emby select SRT instead of PGS?
  2. Why, in order for Emby to respect my subtitle/audio selection, do I have to play the movie?
  3. What is the use then of the audio and subtitle dropdown in the movie/episode tab?
Edited by Juan Simón
Link to comment
Share on other sites

1 minute ago, Juan Simón said:

It seems to me that you are understanding what you want. 

If there are 2 identical forced subtitles with the only difference being the format,

  1. Why does Emby select SRT instead of PGS?
  2. Why, in order for Emby to respect my subtitle/audio selection, do I have to play the movie?
  3. What is the use then of the audio and subtitle dropdown in the movie/episode tab?

The selection is based not on format but on the emby user subtitle language options.

The use of the drop-down is to be able to select audio and subtitles prior to playback 

Link to comment
Share on other sites

Juan Simón
1 minute ago, Luke said:

The selection is based not on format but on the emby user subtitle language options.

The use of the drop-down is to be able to select audio and subtitles prior to playback 

Are you see the file media info? Are you read my previous posts? The first subtitle is the same language than the second. But Emby selects the second.

This system only works for movies. In the case of series you have to select it for each episode just before watching it, which means that you can't watch them all in a row.

Link to comment
Share on other sites

If all factors are equal then the text subtitles will be picked over pgs because they are more efficient and don't require server transcoding.

Link to comment
Share on other sites

3 hours ago, GrimReaper said:

AFAIK there's Forced mode for that, but Dev will have to comment.

Edit:

@Luke, should Smart subtitle mode for an item with Spanish audio (preferred audio language: Spanish) preselect Spanish forced subs? 

 

 

It looks like it may not currently, but we should probably adjust that.

  • Thanks 1
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
 Share

×
×
  • Create New...