I was having a recent issue with my video TS folders (DVD rips) freezing or locking on my after about 5 seconds of playing. I had tried removing the source folder and reinstalling it, but that didn't work. Increasing the cache size didn't work either.
A user on the plex forum did post a solution which, for me, and many others, does work.
If you're having Plex issues, I would definitely try this.
Click here to read the whole post (which is now a sticky on the site) or just read here for the simple, but effective, solution. I have no idea how he figured this out, but hey, works for me!
BY DannyV45
Posted 01 September 2009 - 04:25 PM
I was having audio output problems (No audio) with 5.1 AC-3 audio HD media as well as video freezing soon after starting the movie with snow leopard. I believe this to be a buffering problem because I have buffering set for 3 seconds and thats about the time it takes to freeze.
I found a work around that works perfectly. I've now sampled about 40 HD movies and have not had another audio or video lockup problem.
From OSX's application menu go into "utilities/audio midi setup" and in the left pane set the default output to "aggregate device" (If Aggregate device does not exist click the "+" sign to create it) open the drop down menu under aggregate device and highlight "built in output" then set the "Built in output" source located to the right to "digital output" and set "Format" to 48,000 2ch-24bit then exit audio midi setup.
Note: I know your thinking why set it to "48000 2ch-24bit" and not "encoded digital audio". This is because setting it to "encoded digital audio" crashes plex. This setting will still pass the 5.1 digital audio and will also pass films that are 2 channel stereo.
then
Go into plex and in system/audio setup set output device to "aggregate device" then set "Digital output support" To "force digital" then Shut off "normilize film volume". Thats it your done.
Now what happens is the movie will start and there will be no sound for about 3 seconds (could be longer if you are buffering at a higher rate). after the movie buffers then the audio will start to play in 5.1 digital (or 2 channel stereo if encoded that way).
Here are some of my own observations that helped me resolved the problem:
I have a yamaha 7.1 receiver that has status lights for audio mode that show either stereo (2 speaker lamps that light up) or 5.1 (5 speaker lamps that light up). When you have this problem theres no audio and no speaker lamps light up when the movie starts to play and the video plays slowly and studders (Because its buffering) then about 3-5 seconds later the movie will freeze.
When you apply the work around you will then notice when playing a 5.1 audio movie that the receiver status lights will first light up stereo (2 speaker lights lit) then after 3 -5 seconds (of buffering) it will light 5.1 (5 speaker lights lit) and you will here the audio.
I'm pretty sure this problem has something to do with a buffering issue within plex.
Hope this helps.