Jump to content

Forced subtitles don't work


lifespeed

Recommended Posts

lifespeed

As far as I know this has been a problem for quite a while.  SRT subtitles that are mux'd into the video file and marked as forced do not play when Emby Theater is configured for "forced only" subtitles.  One can turn them on manually.  However, setting the subtitle configuration back to forced only doesn't turn them off.  They will only turn off if the subtitles are set to OFF.

Link to comment
Share on other sites

Hmm, just did a test, seems to be fine. Why do you feel they aren't working?

Link to comment
Share on other sites

blade005

As far as I know this has been a problem for quite a while.  SRT subtitles that are mux'd into the video file and marked as forced do not play when Emby Theater is configured for "forced only" subtitles.  One can turn them on manually.  However, setting the subtitle configuration back to forced only doesn't turn them off.  They will only turn off if the subtitles are set to OFF.

@@lifespeed

 

You might want to check if any of your FORCED SUBTITLES SRT's are also flagged as DEFAULT. That would create a double negative situation if you select FORCED SUBTITLES ONLY in Emby Theater. It may see the DEFAULT flag first and then not load the FORCED SUBTITLES that you want. 

Link to comment
Share on other sites

lifespeed

I think the forced subtitles are working, I'll see if any other examples come up that show a problem.  "smart" appears to work so long as the audio and subtitle language are labeled correctly.

Link to comment
Share on other sites

  • 2 weeks later...
lifespeed

Here is the problem:  Once the subtitles turn on, for whatever reason (not marked correctly in the file compared to the audio, turned on manually, whatever) they won't turn off using automated logic.  For example, I played a file using "smart" settings where the subtitles where marked as english and the audio was undetermined.  Realizing the file wasn't configured correctly, I fixed it.  But once it had played the subtitles once, Emby refused to apply "smart" or "default" settings.  The only way to turn off the blasted subtitles was to set them to "off" in Emby Theater.

 

However, once they had manually been turned off within Emby, it would then apply "smart" settings to not show the subtitles that are the same language as the audio.

 

So subtitle control partially works, but once they turn on the logic does not seem to prompt a check for a given file ever again.  Even if the file configuration is corrected, Emby won't try to evaluate whether subtitles should be shown, it just turns them on because it did so once before.

Link to comment
Share on other sites

Guest asrequested

There does seem to be something amiss, with the subs. I was just testing with a movie that has one sub track, and it's forced.

 

5987d9407a082_Snapshot_98.jpg

 

When initially set to play only forced subs, it works. If you then stop playback and change it to smart, they get turned off. Switching back to only forced, they stay off and you have to manually toggle them back on in the UI while playing. 

Edited by Doofus
Link to comment
Share on other sites

Guest asrequested

I just played a movie that has many subtitle tracks, none of them marked as forced, preferred language is english. It played the english subtitles when it shouldn't play any. So it looks like it ignored my setting of forced only and played the default track.

 

5987dc490ed5a_Snapshot_99.jpg

 

5987dc9a87acc_Snapshot_100.jpg

  • Like 1
Link to comment
Share on other sites

lifespeed

It's because the selection is remembered from the previous time playing

 

It seems as though it is remembering not the user interface selection, but the result of the subtitle display logic applied when it examined the audio and subtitle language the first time.  Shouldn't it remember the user interface selection instead, and apply subtitle display logic according to the file configuration?  Most of the time when subtitles appear it just means the file isn't configured correctly, at least in my English language situation.  So I fix it, but Emby doesn't pick it up.

Edited by lifespeed
  • Like 1
Link to comment
Share on other sites

Guest asrequested

It's because the selection is remembered from the previous time playing.

 

I thought that was the case. I think for subtitles, it shouldn't remember the previous choice made in the overlay. When replayed, it should follow the setting chosen. With the possible exception of resuming. If played from the start, it should follow the setting we have chosen. Otherwise, there is no point in having a setting at all. It is redundant. 

Edited by Doofus
Link to comment
Share on other sites

lifespeed

I think it should follow the user-selected setting, including resume.  And examine the file audio and subtitle language each time to decide whether to display the subs, I'm sure it is quick.

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...
lifespeed

This issue popped up again.  Is it going to be addressed in a future release?  Once Emby reads a subtitle configuration, set wrong in the media file, it remembers it FOREVER.  Fixing the media audio and subtitle languages doesn't fix it in Emby, because once it has examined the file configuration the first time it never checks it again.

Link to comment
Share on other sites

This issue popped up again.  Is it going to be addressed in a future release?  Once Emby reads a subtitle configuration, set wrong in the media file, it remembers it FOREVER.  Fixing the media audio and subtitle languages doesn't fix it in Emby, because once it has examined the file configuration the first time it never checks it again.

 

What file configuration do you mean?

Link to comment
Share on other sites

lifespeed

What file configuration do you mean?

Audio and subtitle languages in the media file (usually MKV container) as compared to the preferred language configured in Emby, from which Emby decides whether or not to display subtitles.  I believe the "smart" and "default" settings apply language logic to make this decision.  The problem is Emby only seems to do it the first time it encounters the media file, so fixing any errors in language labeling in the file don't get reflected in Emby subtitle behavior.

Edited by lifespeed
Link to comment
Share on other sites

That's not true, rather, we rememeber your selections for a given file so that the next time you come back they will already be selected.

Link to comment
Share on other sites

lifespeed

That's not true, rather, we rememeber your selections for a given file so that the next time you come back they will already be selected.

The result of this behavior is a poor experience, as posted by another user above.  If the language configuration in the files is corrected, Emby ignores the correction.  There is absolutely no reason to "remember" anything.  Just follow the logic per the languages in the file.  If the file changes, follow it.

Link to comment
Share on other sites

lifespeed

That's not true, rather, we rememeber your selections for a given file so that the next time you come back they will already be selected.

It sounds like you're referring to the case where the subtitles have been manually turned on in Emby subtitle configuration.  However, this seems to also happen with Smart or Default subtitle configuration, which is supposed to work according to the audio and subtitle langauge, which makes a lot of sense and is behavior the user would expect - only show subtitles if the audio language is other than English (in my case), while the subtitles are in English.

 

The failure occurs when the inevitable incorrect language tags are present in the file.  The correct approach is to fix the file.  But, Emby has "remembered" the previous language tag configuration.  What it should do is just follow the language configuration per the file every time.  For automated subtitle behavior, there is no need to remember, just apply the correct logic every time.

 

Both @ and I have tried to provide examples of why this behavior is unexpected and problematic.  Hopefully the explanation is adequate.

Edited by lifespeed
Link to comment
Share on other sites

lifespeed

No I mean where subtitles have been selected during playback.

The behavior that concerns me is automatic selection of subtitles using Smart or Default.  In these cases it still appears to remember the first encounter with the media file, instead of following the defined logic by language every time.

Link to comment
Share on other sites

Guest asrequested

I do think that when playing a show/movie from the start, it should always adhere to the default we have chosen. When resuming, have it remember the choice we made while playing. Then once finished playing, that choice is forgotten. It makes having the default choice of language and subs, redundant. Let's say we have a guest in our home, that requires a different choice. Once watched, and they leave, I have no desire to retain the choice :)

 

59adcf6cb2da8_Snapshot_197.jpg

Link to comment
Share on other sites

daedalus

That's not true, rather, we rememeber your selections for a given file so that the next time you come back they will already be selected.

^ first of all it should really be a user setting if the the selected streams get remembered or not

 

2nd is see a similar behavior here

nor the "preferred language" nor most of the "subtiltle modes" seem to have any effect

its always the stream that is marked as default or the first marked as forced in the mediafile that gets played

 

the only thing that is working correctly is setting the "subtitle mode" to 'none', which disables the subtitles as expected

Link to comment
Share on other sites

I think it is working correctly but it is just remembering previous selections, and that's leading you to thinking it's not working.

Link to comment
Share on other sites

lifespeed

I think it is working correctly but it is just remembering previous selections, and that's leading you to thinking it's not working.

It's not working correctly.  Try the following:

 

Configure (I use MKVToolnix) an MKV file incorrectly with audio language "undefined", and subtitles "English".  Configure Emby subtitles to "smart" .Play the file in Emby.  Subtitles will appear.  But you don't want them to because the audio is in English, incorrect file configuration notwithstanding.

 

So you fix the file by correcting the MKV file audio language to English, as this is the underlying cause of the wrong behavior.  Emby is still configured with "smart" subtitles.  You play the corrected MKV.  But subtitles still appear!  Why?  What is Emby remembering and how could this possible be the expected behavior?  I would expect it to show subtitles based on MKV file audio and subtitle languages.

 

I'm not sure how much more clearly I can explain this.  The behavior is simply wrong. I have no idea why this "remembering" is a good or expected behavior.  All I want is automatic selection of subtitles to work according to language.  Once it plays a file with the wrong subtitle or audio language tags, it never corrects even if the file is fixed.

 

The only way to clear the "remembered" wrong configuration is to set subtitles in Emby to "none", play the corrected file long enough to display subtitles, and then stop, change the subtitle configuration in Emby to "smart", and play the file again.  It will then, finally, re-examine the audio and subtitle languages and pick up the new file configuration, turning off the subtitle display automatically.

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