Server Version#: 1.18.3.2156
Player Version#: appletv (the one before the 4K version) and plex server v2.13(14243)
Hello guys,
I used to watch movies streamed on my AppleTv from my PlexMediaServer hosted on an old Macbook Air. Everything was working fine and I have recently moved that setup on a proper Synology 218+ NAS. Now when I watch movies on my AppleTv that are streamed by my NAS, the quality is horrible (encoded to 320p). I have been browsing the web for days now and found a few lead but nothing satisfactory. So let me share with you what I have found in my logs so far:
When playing from my AppleTv, the quality as said above is not good at all and the Apple Tv displays the streaming infos:
Playback settings: Convert to 320p (Play Original quality is available but donât have any effect)
Technical Details: Source: Transcode Quality 480x240@0.4Mbps
In my server logs, I can see that there seems to be a limitation that forces the server to encode at a lower resolution :
08:49:54.640 - Green.Book.2018.720p.BluRay.H264.AAC-RARBG - audio.channels limitation applies: 6 > 2
08:49:54.640 - MDE: Cannot direct stream audio stream due to profile or setting limitations
08:49:54.641 - MDE: Green.Book.2018.720p.BluRay.H264.AAC-RARBG (2018): selected media 0 / 3
08:49:54.642 - Streaming Resource: Calculated bandwidth of 3016kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 720kbps
08:49:54.642 - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
08:49:54.642 - Scaled up video bitrate to 2248Kbps based on 1.500000x fudge factor.
08:49:54.644 - Streaming Resource: Reducing playback quality for 685kbps stream bitrate: video resolution to 480x240, audio channels to 2, quality to 24, disable video DS as 5303kbps is > the 541kbps available
08:49:54.646 - Scaled up video bitrate to 2248Kbps based on 1.500000x fudge factor.
08:49:54.646 - Scaled maximum bitrate for resolution reduction to 316Kbps.
08:49:54.646 - MDE: Selected protocol hls; container: mpegts
08:49:54.646 - MDE: analyzing media item 3
08:49:54.646 - MDE: Green.Book.2018.720p.BluRay.H264.AAC-RARBG (2018): Direct Play is disabled
08:49:54.646 - MDE: Green.Book.2018.720p.BluRay.H264.AAC-RARBG (2018): media must be transcoded in order to use the hls protocol
08:49:54.646 - Green.Book.2018.720p.BluRay.H264.AAC-RARBG - video.width limitation applies: 1280 > 480
08:49:54.646 - Green.Book.2018.720p.BluRay.H264.AAC-RARBG - audio.channels limitation applies: 6 > 2
08:49:54.647 - MDE: Green.Book.2018.720p.BluRay.H264.AAC-RARBG (2018): Direct Streaming is disabled, so video stream will be transcoded
08:49:54.647 - MDE: Green.Book.2018.720p.BluRay.H264.AAC-RARBG (2018): no remuxable profile found, so video stream will be transcoded
08:49:54.647 - MDE: Cannot direct stream video stream due to profile or setting limitations
08:49:54.647 - Scaled up video bitrate to 2248Kbps based on 1.500000x fudge factor.
08:49:54.647 - Scaled maximum bitrate for resolution reduction to 316Kbps.
Whatâs funny is that when I play the exact same media it from a recent laptop in a browser from my NAS, everything goes well, technical details of the streaming below:
Media
- Duration 2:10:04
- Bitrate 1728 kbps
- Width 1280
- Height 640
- Aspect Ratio 1.85
- Video Resolution 720p
- Container MP4
- Video Frame Rate 24p
- Web Optimized No
- Audio Profile lc
- Video Profile high
Part
- Duration 2:10:04
- File Green.Book.2018.720p.BluRay.H264.AAC-RARBG.mp4
- Size 1.57 GB
- Audio Profile lc
- Container MP4
- Web Optimized No
- Video Profile high
- Codec H264
- Bitrate 1499 kbps
- Bit Depth 8
- Chroma Location left
- Chroma Subsampling 4:2:0
- Coded Height 640
- Coded Width 1280
- Frame Rate 23.976 fps
- Height 640
- Level 4.1
- Profile high
- Ref Frames 4
- Stream Identifier 1
- Width 1280
- Display Title 720p (H.264)
- Codec AAC
- Channels 6
- Bitrate 229 kbps
- Language English
- Audio Channel Layout 5.1
- Profile lc
- Sampling Rate 48000 Hz
- Stream Identifier 2
- Display Title English (AAC 5.1)
The logs are attached here : Plex Media Server.log (296.4 KB)
From my AppleTv (the one causing issue): starts at 08:49:54.640
From my browser (the one working): starts at around 08:59:23
I have searched for this audio limitation, etc, try to check every settings everywhere, but I think it is time for me to get fresh eyes on that issue!
Do you have an idea of whatâs going on ?
Thank you!