CyberGhost84, your problem may not be the same as the problem jpotenza was having. His was an out of spec file problem meaning they wouldn't directplay. Looking at your first post, your problem seems to be happening when the files are transcoded, you haven't provided any media info on the files so I could be wrong.
Nice roidy
Ok jpotenza, try this transcoder profile:-
iOS-AppleTV.xml
On Windows it goes in C:\Program Files (x86)\Plex\Plex Media Server\Resources\Profiles
On Mac - Sorry don’t use a mac so I don’t really know. But at a guess just look in the location PMS is installed for a Resources\Profiles directory.
Back-up your original iOS-AppleTV.xml first and then copy in the replacement.
Not sure if PMS needs to be restarted but to be safe I would shut it down and restart it.
Now set the ATV back to AUTO transcode and see if the files now play ok.
Nice thx roidy its works
Nice roidy
Nice thx roidy its works ;)
Excellent :)
Now how do we get it pushed out to PMS.
What do you mean?
Well the iOS-AppleTV.xml file is part of Plex Media Server not PlexConnect, which means every time you install/update PMS the file will get overwritten with the original version. This file needs to be added to future releases of PMS by the Plex developers.
He means if you update your pms app it will be overwritten unless the PMS dev team updates pms to include this fixed file.
Nevermind he beat me to it :P
How can i suggest this to the plex team?
Im sure the plexconnect team will take care of it ;)
We really need a few more people to test it first to make sure the refFrame limit isn't to strict and we end up transcoding files that really don't need to be.
jpotenza could you give the new profile a try and see if it works for you, thanks.
Tested and works for me
all my iso files coverted with MakeMKV had problems with transcoding to atv3. But with this update .xml file they just play fine 
jpotenza could you give the new profile a try and see if it works for you, thanks.
Just tried it, and it works great! I replaced the xml file, restarted PMS, did not need to restart the PlexConnect server. Zoolander started up transcoding automatically.
jpotenza, just to check, you did set "Transcode Action" back to "Auto" on the aTV, yes?
jpotenza, just to check, you did set "Transcode Action" back to "Auto" on the aTV, yes?
Yes, transcode has been set back to "Auto."
Everything is certainly working now, I can see a CPU spike on my computer as the video is now transcoding live.
As for Beamer, since we never modified the video file, it still continues to fail. I will shoot him out an email regarding the reframes.
Thanks a bunch roidy.
Great stuff. Thanks. Now I wonder if you could help me with some testing when you get time.
I need to determine the maximum reference frames the aTV can play. I've set the value in iOS-AppleTV.xml to 5 but I'm guessing the aTV can probably play higher than that, so when you've got some spare time could you edit the iOS-AppleTV.xml file and look for this line:-
Change the 5 to 6, save the file, restart PMS and check all the files you were having problems with to make sure they still play. If they do then repeat the test but increase the value to 7 and retest your files, and so on until the files fail again. Thia would be a great help as we don't want to make the value so low that files that don't need transcoding end up being transcoded for no reason.
I have a coupe of files with 8 refFrames and they directplay fine on the aTV, so I'm assuming anything up to 8 should work ok anyway.
--------------------------------------------------------------------------------------------
Actually that wont work, because unless you got file with exactly 6, 7, 8..... refFrames it's not going to matter.
Umm.... How to accurately determine the value. Do we just set it to the lowest value you couldn't get to play, 9 refFrames, and hope 8 works ok..... I'm not sure about this.
I removed your xml-fix, set the encode back to auto and tested 8 more files. I linked a pastebin with all mediainfo and the number to the righthand side of the of filename is the reframe #. Everything worked except for Valhalla Rising.
Hoowweeevverr. From my original Post, Megamind was a reframe=10 and that did not work. Maybe there was something else off with that file, but right now it is looking like 16 is the issue. I will continue to test more, but it is getting late here in Thailand.
The new transcoder profile has been submitted to the Plex team and should be included in the next PMS version 0.9.9.3
The new transcoder profile has been submitted to the Plex team and should be included in the next PMS version 0.9.9.3
I ran across 2 files that had 9 reference frames. This was causing the transcoder to kick in (not a good thing on my Synology) so I edited the profile to change it from 8 to 9, and the files seem to play fine on my ATV3. I'm not sure what the upper limit on what it supports, but it seem to be more than 8!
For (ubuntu flavor) linux users:
/usr/lib/plexmediaserver/Resources/Profiles
FWIW, lately I have been getting some medium high quality mkv x264 files and then using ffmepg to remux them into an mp4 container so they will direct play on my ATV3 via plexConnect. My little linux PMS box (Atom 230 CPU) can't handle transcoding high-res video (although it does ok on lower res files).
Some resulting mp4 files would direct play fine and some would choke and now I finally know why. The ones that aren't working all have:
Format settings, ReFrames : 16 frames
The ones that do work, so far, have up to (and including) 13 frames.
I don't know what the upper limit is for the ATV3, but it definitely direct-plays a file I have with 13.
Edit: Here's the full mediainfo for the file I am talking about - this was remuxed from an MKV container with all streams copied (no transcoding) and it direct-plays on my ATV via PlexConnect:
General Complete name : XXXXXXX - h264.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom File size : 2.13 GiB Duration : 1h 50mn Overall bit rate mode : Variable Overall bit rate : 2 769 Kbps Writing application : Lavf55.23.103Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings, CABAC : Yes
Format settings, ReFrames : 13 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1h 50mn
Bit rate : 2 315 Kbps
Width : 706 pixels
Height : 480 pixels
Display aspect ratio : 16:9
Original display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Minimum frame rate : 23.810 fps
Maximum frame rate : 24.390 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.285
Stream size : 1.78 GiB (84%)
Writing library : x264 core 129 r2245 bc13772
Encoding settings : cabac=1 / ref=13 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / psy_rd=1.10:0.05 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=10 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=230 / keyint_min=22 / scenecut=40 / intra_refresh=0 / rc=crf / mbtree=0 / crf=18.6 / qcomp=0.75 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.20 / aq=1:0.80
Language : EnglishAudio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : ac-3
Duration : 1h 50mn
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 353 MiB (16%)
Language : EnglishText #1
ID : 3
Format : Timed text
Muxing mode : sbtl
Codec ID : tx3g
Duration : 1h 45mn
Bit rate mode : Variable
Bit rate : 71 bps
Stream size : 54.9 KiB (0%)
Language : EnglishText #2
ID : 4
Format : Apple text
Codec ID : text
Duration : 1h 50mn
Bit rate mode : Variable
Bit rate : 0
Stream size : 256 Bytes (0%)
Language : English