I’m reencoding some h.264 files with FFmpeg to h.265. The h.264 version would both play to any device and sync to our iPads just fine. The new h.265 version will play everywhere, over plex, on a Mac, directly on the iPad when copied there, but when I try to sync the files to the iPad it errors out.
@trumpy81 said:
Most iOS devices do not support HEVC (H.265) and will not play it, so I am not surprised that Sync is failing for you.
Stick to H.264 as that is the only format that all Apple devices support, the only exception to that is the new Apple TV 4K which does support HEVC but only in an mp4 container.
All due respect, that’s ridiculous advice. The whole point of Plex is to play any file anywhere thanks to transcoding. The file should be transcoded for sync, and apparently it’s not happening so there’s a bug. So sick of Plex telling users we’re doing it wrong when clearly the product is buggy.
Starting in iOS 11 iOS supports HEVC. As the OP stated, it plays back just fine, it just doesn’t sync. Not all iOS devices support decoding HEVC in hardware, so on older devices, performance of HEVC playback may suffer.
Is the file a 4K file by any chance? iOS devices will play them back just fine but won’t sync it because the transcoder engine thinks it’s too big. I found that editing the iOS.xml file in the /plexmediaserver/Resources/Profiles directory of the server and restarting it allows me to sync them without issue. My edited iOS.xml file is attached. YMMV with it.
Also, until Plex corrects it the file need to be manually replaced every PMS server update.
@kclimie no, not a 4k file. Some 1080p and other 480p
Just tested again with latest plex server, 1.13.1.5063 and ios client, still no worky.
@trumpy81 due to plex’s inability to fix the AppleTV buffer size issue, I can choose between the features of files syncing to the device OR having playback on the AppleTV work consistently (smaller h.265 files fit more data into the same small buffer size). Its a crappy choice but give all the other benefits of h.265, giving up syncing and periodically dragging files into icloud drive then downloading to iOS device is at least a workaround, though a really crappy one.