Server Version#: 1.29.6260
Player Version#: latest beta (10.9?) as of 29/9/22
When I autoplay TV episodes, there is no sound when moving to next episode. I have to go out the of the episode and play it again to get the sound? Any ideas?
Have this same issue. Setting my apple tv to Dolby 5.1 instead of auto fixes it. Not sure why auto causes the volume to drop on the next episode.
Thanks for the help, I tried that but still no sound at all. I changed to Stereo and had sound, but still no sound when going to the next episode. The sound was fine up until the last couple of beta updates to tvOS. I though it may have been the external speaker I was using, so try it on my Homepods and still no sound when going to next episode. Very frustrating. Every time there is an update to fix something, there is different problems that weren’t there before. I don’t know if it is the tvOS or the Plex app causing the problem.
I likewise have this issue on two different AppleTV 4K boxes, one the older model, one the newer. Both started after being updated to tvOS 16. Not sure on server/player versions at present, but auto-updates are on for the players and do so regularly (not-beta).
Tried setting both from auto to manual Dolby Digital 5.1 and rebooted and that did not resolve either.
It’s not 100% of the time, probably not even 50% of the time. Maybe it’s 30% of the time when auto playing the next episode, there is no audio.
I can confirm across 2 apple tv 4ks this is happening - both models purchased in last 2 years. It was not happening on a third apple tv 4k (which maybe interestingly is the only one that is on the old remote model).
Only happens on next episode and it is not deterministic when.
Version 1.29.1.6260
I tried to remove the audio codecs, you know because that sometimes fixes this, and it did not. Have not tried troubleshooting outside of that.
Believe it’s due to my Apple TV auto updating to the latest version - I didn’t realize I had those auto updating. Doh.
I did find a solution for now — to disable the auto next episode. The UI now requires one click (it shows the queue of the next episode). But this has after 5 or so tests sidesteps the issue. Not the most ideal.
I also tried disabling direct play in the hopes a direct stream would trigger audio. It does not. No relevant guess to what’s causing this.
I have a similar issue. If I start a tv show or movie about every other time it doesn’t start playing the audio. I have to quit the stream, kill the app, reopen the app and start again.
Plex: 1.29.0.6244
Plex for Apple TV: 8.9
Also have this issue on 2 Apple TV 4K (newest model) (tvOS 16.1 Beta 4)
It only occurs on auto play (via next episode or shuffle)
Sometimes when it’s going to have this issue, the Video will also be blacked out with no audio/video and the play timer will show 0:00 - 0:00
both cases, backing out and playing it again, does it with no issue.
Just another “me too.” This is definitely a consistent (inconsistent) problem. On appleTV, Plex autoplay TV episodes randomly and occasionally start w/o audio. Jump out and back in and the audio is fine. Probably some bug between latest TvOs and Plex build. Hopefully somebody is on it for future builds.
It seems like this issue has become far more consistent for me. It happens almost every episode. Maybe 90% of the time.
It seems to happen with different audio formats.
Server: Version 1.29.0.6244
AppleTV Player: 8.9(3900)
AppleTV OS: 16.0 (20J373)
Hardware: A2169 (32GB)
Logs:
plex_autoplay.txt (114.3 KB)
it looks to me it’s finding a language track of language “xn”, which is, of course, not accurate:
plex@media ~/M/T/O/Season 02> mediainfo Orphan\ Black\ -\ s02e06.mp4
General
Complete name : Orphan Black - s02e06.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp42/iso2/avc1/mp41)
File size : 958 MiB
Duration : 43 min 33 s
Overall bit rate mode : Variable
Overall bit rate : 3 076 kb/s
Movie name : To Hound Nature in Her Wanderings
Encoded date : UTC 2022-03-31 12:35:42
Tagged date : UTC 2022-03-31 12:35:42
Writing application : HandBrake 1.5.1 2022011000
Comment : Sarah joins forces with an unlikely and untrustworthy ally, following a trail of clues that she hopes will lead her to the origins of the clone experiment. Cosima and Delphine make a discovery that could prove to be the key to treating her illness. Alison finds herself in unsavory company at rehab.
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Main@L4
Format settings : CABAC / 2 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 2 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 43 min 33 s
Bit rate : 2 846 kb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 (24000/1001) FPS
Minimum frame rate : 23.974 FPS
Maximum frame rate : 23.981 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.057
Stream size : 887 MiB (93%)
Encoded date : UTC 2022-03-31 12:35:42
Tagged date : UTC 2022-03-31 12:35:42
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Codec configuration box : avcC
Audio
ID : 2
Format : E-AC-3
Format/Info : Enhanced AC-3
Commercial name : Dolby Digital Plus
Codec ID : ec-3
Duration : 43 min 33 s
Bit rate mode : Constant
Bit rate : 224 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Compression mode : Lossy
Stream size : 69.8 MiB (7%)
Title : Stereo
Language : English
Service kind : Complete Main
Default : Yes
Alternate group : 1
Encoded date : UTC 2022-03-31 12:35:42
Tagged date : UTC 2022-03-31 12:35:42
Text
ID : 3
Format : Timed Text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 43 min 1 s
Bit rate mode : Variable
Bit rate : 118 b/s
Stream size : 37.3 KiB (0%)
Title : English [CC]
Language : English
Default : Yes
Forced : No
Alternate group : 3
Encoded date : UTC 2022-03-31 12:35:42
Tagged date : UTC 2022-03-31 12:35:42
Throw me in as another person experiencing this problem. Running TvOS 16, latest PMS for my M1 Mac Mini server. Started randomly over the weekend. Went nearly a whole day without the bug yesterday before it returned last night and has persisted since. Every auto play to the next episode plays with no audio and when I wake up at night it’s just a black screen with nothing playing that backs out to the episode selection screen.
And I’m assuming your ‘black screen’ is the timeframe of the episode that was next? Mines usually a ‘30min’ show so they are held at 26min when I wake up to either go back and restart or turn it off.
It’s “almost” a feature I’d like. I’d like no video with audio only for going to bed with a show I use for bed such as Golden Girls.
I have two Apple TVs 4k , one at beta 5 and at beta 4 and both have the issue. My old Apple TV is way past needing update so I can’t see if it’s a 15/16issue or an Plex server + tvOS 16 issue.
Throwing my hat in the ring for also having an issue whereby autoplay episodes do not have sound and I need to back out / reselect the episode for it to have audio. Super annoying when my son wants to watch 7 min Thomas the Tank Engine episodes
I can’t access my ATV4K yet to test this, but some of you could enable debug mode, restart PMS and gather log files for server and ATV after demonstrating the problem. Zip them up and drop them into your reply.
Was able to reproduce the issue (took a couple of episodes of Thomas, but got it). I’m not familiar with log diving thru Plex logs, but the issue occurred between the 2nd to last / last episode “viewed” (if that can be determined within the logs).
This is a difficult problem because it looks like the file direct plays
Oct 25, 2022 18:48:56.353 [0x7fc33f76eb38] DEBUG - Request: [192.168.1.159:50900 (Subnet)] GET /library/metadata/39705?asyncAugmentMetadata=1&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=0&includeMarkers=1&includeMeta=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (9 live) #351 TLS GZIP Signed-in Token (Michael_McDonald) (Apple TV)
Oct 25, 2022 18:51:02.678 [0x7fc343194b38] DEBUG - Completed: [192.168.1.159:50940] 200 GET /library/metadata/39705?asyncAugmentMetadata=0&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=1&includeMarkers=1&includeMeta=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (9 live) TLS GZIP 19ms 1606 bytes (pipelined: 1)
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] MDE: Selected protocol http; container: mkv
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] MDE: analyzing media item 59192
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] MDE: E24 - Dunkin' Duncan: Direct Playing due to no transcode profile
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] MDE: E24 - Dunkin' Duncan: DirectPlay
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] MDE: Thomas the Tank Engine & Friends - S6 E24 - Dunkin' Duncan: selected media 0 / 59192
Oct 25, 2022 18:51:02.678 [0x7fc343194b38] DEBUG - Completed: [192.168.1.159:50939] 200 GET /library/metadata/39705?asyncAugmentMetadata=0&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=1&includeMarkers=1&includeMeta=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (9 live) TLS GZIP 23ms 1606 bytes (pipelined: 1)
Oct 25, 2022 18:51:02.678 [0x7fc33f56cb38] DEBUG - [Req#80f/Transcode] Streaming Resource: Reached Decision id=39705 codes=(General=1000,Direct play OK. Direct Play=1000,Direct play OK.) media=(id=59192 part=(id=59324 decision=direct play protocol=http streams=(Video=(id=158339 decision= width=688 height=384) Audio=(id=158340 decision= channels=2 rate=48000))))
Oct 25, 2022 18:51:02.679 [0x7fc343194b38] DEBUG - Completed: [192.168.1.159:50932] 200 GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=100&autoAdjustQuality=0&directPlay=1&directStream=1&directStreamAudio=1&location=lan&mediaBufferSize=20000&partIndex=0&path=%2Flibrary%2Fmetadata%2F39705&protocol=hls&subtitleSize=100&subtitles=auto&videoResolution=4096x2160 (9 live) TLS GZIP 26ms 1691 bytes (pipelined: 58)
I suppose you should get us the mediainfo for both those two Thomas episodes. A command like this should work. You could then copy and paste the output into a code block </> thanks.
mediainfo "/tv/Thomas the Tank Engine & Friends/Season 6/S06E23*.mkv"
mediainfo "/tv/Thomas the Tank Engine & Friends/Season 6/S06E24*.mkv"
I think the apple tv log might be the thing that shows why the Plex app took a direct play with audio and but didn’t output the audio. More fun
And here are the logs directly from the AppleTV using the same two episodes with the same issue occurring. Let me know what else I can provide to help!
logging.zip (1.2 MB)
Additionally: here is the MediaInfo for each episode (S6E23 / S6E24) as well:
MediaInfo_Thomas_S6E23.txt (3.7 KB)
MediaInfo_Thomas_S6E24.txt (3.6 KB)
We can definitely see the errors ( )
in your log entries
2022/10/26 19:10:47.897 (448 MB) (607578) 🔧 PMKMPVClient.m:508 | [cplayer] v: Starting playback...
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: Track switched:
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: (+) Video --vid=1 (*) (h264 688x384 25.000fps)
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: (+) Audio --aid=1 --alang=eng (*) (ac3 2ch 48000Hz)
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: Track switched:
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: (+) Video --vid=1 (*) (h264 688x384 25.000fps)
2022/10/26 19:10:47.897 (448 MB) (607578) ➖ PMKMPVClient.m:500 | [cplayer] info: (+) Audio --aid=1 --alang=eng (*) (ac3 2ch 48000Hz)
2022/10/26 19:10:47.898 (448 MB) (606764) 🔧 PMKMPVClient.m:508 | [af] v: [in] 48000Hz stereo 2ch s16
2022/10/26 19:10:47.898 (448 MB) (606764) 🔧 PMKMPVClient.m:508 | [af] v: [userspeed] 48000Hz stereo 2ch s16
2022/10/26 19:10:47.898 (448 MB) (606764) 🔧 PMKMPVClient.m:508 | [af] v: [userspeed] (disabled)
2022/10/26 19:10:47.898 (448 MB) (606764) 🔧 PMKMPVClient.m:508 | [af] v: [convert] 48000Hz stereo 2ch s16
2022/10/26 19:10:47.901 (448 MB) (607565) 🔧 PMKMPVClient.m:508 | [vd] v: Pixel formats supported by decoder: videotoolbox_vld yuv420p
2022/10/26 19:10:47.901 (448 MB) (607565) 🔧 PMKMPVClient.m:508 | [vd] v: Codec profile: High (0x64)
2022/10/26 19:10:47.901 (448 MB) (607565) 🔧 PMKMPVClient.m:508 | [vd] v: Requesting pixfmt 'videotoolbox_vld' from decoder.
2022/10/26 19:10:47.917 (449 MB) (607576) ➖ PMKMPVClient.m:500 | [vd] info: Using hardware decoding (videotoolbox).
2022/10/26 19:10:47.917 (449 MB) (607576) 🔧 PMKMPVClient.m:508 | [vd] v: Decoder format: 688x384 [0:1] videotoolbox[nv12] auto/auto/auto/auto/auto CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (607576) 🔧 PMKMPVClient.m:508 | [vd] v: Using container aspect ratio.
2022/10/26 19:10:47.917 (449 MB) (607576) 🔧 PMKMPVClient.m:508 | [vf] v: [in] 688x384 videotoolbox[nv12] bt.601/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [userdeint] 688x384 videotoolbox[nv12] bt.601/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [userdeint] (disabled)
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [autorotate] 688x384 videotoolbox[nv12] bt.601/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [autorotate] (disabled)
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [convert] 688x384 videotoolbox[nv12] bt.601/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [convert] (disabled)
2022/10/26 19:10:47.917 (449 MB) (606764) 🔧 PMKMPVClient.m:508 | [vf] v: [out] 688x384 videotoolbox[nv12] bt.601/bt.709/bt.1886/limited/display SP=1.000000 CL=mpeg2/4/h264
2022/10/26 19:10:47.917 (449 MB) (607578) 🔧 PMKMPVClient.m:508 | [ao] v: Trying audio driver 'audiounit'
2022/10/26 19:10:47.917 (449 MB) (607578) 🔧 PMKMPVClient.m:508 | [ao/audiounit] v: requested format: 48000 Hz, stereo channels, s16
2022/10/26 19:10:47.918 (449 MB) (607577) 🔧 PMKMPVClient.m:508 | [ao/audiounit] v: maxChannels: 0, requested: 2
2022/10/26 19:10:47.919 (449 MB) (607576) ❌ PMKMPVClient.m:492 | [ao/audiounit] error: unable to initialize audio unit ([206][255][255][255]/-50)
2022/10/26 19:10:47.920 (449 MB) (607576) 🔧 PMKMPVVideoPlayer.m:951 | event: audio-reconfig
2022/10/26 19:10:47.920 (449 MB) (607576) 🔧 PMKMPVVideoPlayer.m:951 | event: video-reconfig
2022/10/26 19:10:47.920 (449 MB) (607576) ❌ PMKMPVClient.m:492 | [ao] error: Failed to initialize audio driver 'audiounit'
2022/10/26 19:10:47.920 (449 MB) (607576) ❌ PMKMPVClient.m:492 | [cplayer] error: Could not open/initialize audio device -> no sound.
2022/10/26 19:10:47.920 (449 MB) (607576) 🔧 PMKMPVClient.m:508 | [mkv] v: deselect track 1
2022/10/26 19:10:47.920 (449 MB) (607576) ➖ PMKMPVClient.m:500 | [cplayer] info: Audio: no audio
Thanks for the mediainfo of the two episodes. It looks like there’s only 1 difference between them, present in the audio track of Ep23, which adds
Delay relative to video : 40 ms
probably a non-issue but I don’t know the code.
What you’ve presented looks 98% ready. A sample file (of each episode, 25 MB or so each) is usually requested by the devs.
@FordGuy61 @tom80H has the ATV autoplay no sound issue been reported to the devs by any chance? We are seeing numerous users report this and good logs.
Here’s another Apple TV issues (Sound)
Thanks!