Audio Channel Changes During Playback

Server Version#: 1.30.0.6442
Player Version#: 1.58.1.3380-ea159c52

This issue has been present/noticeable for at least a few months. I’ve recently started watching a lot of anime. When I play episodes with multiple audio tracks they’ll default to English Audio, which I expect given that’s the default audio preference in the settings. However, I will manually change the audio channel to Japanese and then switch the subtitles to English (if necessary). I will then play the episode and at random intervals (has happened as soon as 5 seconds after starting to play an episode, or 20 minutes in), the Japanese Audio will just switch the English Audio as I’m watching the show.

I have to stop and resume the playback to get it to return to Japanese Audio.

A related issue, but doesn’t happen as frequently, is if there is only a Japanese Audio track, with English subtitles selected, sometimes the subtitles switch to “None” during playback.

1 Like

I’ve disabled Direct Play and Direct Stream and this is no longer happening. I’d still like suggestions on how to fix the issue, however, because I don’t want to have to transcode everything.

Could you share your server logs and client logs when this language switching happens again? Please make sure your server’s debugging log level is enabled but verbose is disabled (Settings > [Server Name] > General)!

Attached are the log files. The switch happened at 12:35am. I see in the Client Log that it happened at exactly 00:35:19:966 (line 107944). I don’t see anything of note in the Server Logs at the same time.

For clarity, this was an instance where the subtitle track switched. I haven’t had the audio track switching issue happen yet.

Please post a sample file that reproduces the issue, along with client logs of the issue being reproduced with the sample.

1 Like

Here is a link to the sample file: Dropbox - Sample File.zip - Simplify your life

Sorry for the delayed reply, it took me a while to figure out how to consistently repeat the problem (and find a sample file that it worked with).

I shut down and then re-opened plex just before performing the experiment, so the logs shouldn’t be too extraneous.

The file in question has 2 audio tracks: Brazilian and Japanese. I’m starting the file with “Japanese (EAC3 5.1)” selected.

The file has a lot of subtitle tracks. I’m starting the file with “English (SRT) For Japanese Audio” selected.

I can’t decipher the logs well enough to know which line corresponds to me pressing “Play”, but I can see on line 2584 (at 18:49:41.345) that the file begins to play. I allow the file to play for about 5 seconds, so that the subtitles appear on screen. Then I pause the playback and do not touch Plex for 3 minutes.

This process I was able to repeat, where pausing for at most 5 minutes causes the error to occur. This specific instance it was around 3 minutes (from the time I pressed Play). I found that pausing for 3 minutes leaves the least amount of variables to wade through. This same issues occurs if I’m simply playing the file for at most 5 minutes, but I would need to make the sample file 3 times as large to demonstrate that.

(I would also like to note that these times are for this specific file. In other files sometimes the error doesn’t occur for 10 minutes or more of playback/pausing. Also, in a previous comment I mentioned that this issue only happens during Direct Play/Stream, not when transcoding, however, I have since seen the issue occur while transcoding, but it happens very rarely, and I can’t reproduced it.)

So the pause occurred on line 2734.

And then on line 3053 (at 18:52:42.339), the audio track switches from Japanese to Brazilian.

At the same time, on line 3108, the subtitle track switches from English to None.

This is all without user input, with the playback being paused. (I may have moved my mouse and activated the hover UI, but that was only once, around 1 minute into the pausing, not at the exact moment, or even close to the moment, when the tracks switch. I’ve done other tests with no mouse hovering and the issue persists.)

The instant this occurs, the subtitles disappear from the paused screen.

At this point, you can press play and the playback will have no subtitles and the audio will be Brazilian.

Of note with this specific file, if you attempt to change the audio and/or subtitle track by clicking the “Settings” button at the bottom right (after the tracks have switched, whether you attempt this while the video is paused, or it’s playing back in Brazilian), the playback stops/crashes with an error. It just says “Playback Error: There was an unexpected error during playback. Please visit our forums if you continue to experience problems.” I did this with this sample file at the end of this test, so the crash should be included in the logs. I believe this is happening around line 3210, but I don’t know for sure.

All of the lines I’ve provide are for the Client Logs. I don’t really see anything of note in the Server Logs.

Please let me know if there is any other info you need.

@Ridley Hello. Just wondering if there was any update, or any further information you needed from me. Didn’t want this thread to die/get locked.

This issue is believed to have been fixed. Please try the latest version.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.