Some movies are lagging

Hi guys, I'm streaming movies from a Windows PC to my ATV.

 

Usually all goes ok but some movies are lagging.

 

How it goes depends on the movie itself.

 

Some movies seem to run ok, but they won't load subtitles. If I change settings to force encode, subtitles will load but the movie will stop every 5 seconds or so.

 

Here's the info of one of those

Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 1.95 GiB
Duration                                 : 2h 12mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 2 110 Kbps
Encoded date                             : UTC 2013-08-26 12:03:02
Tagged date                              : UTC 2013-08-26 12:03:02

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 12mn
Bit rate : 2 012 Kbps
Maximum bit rate : 16.4 Mbps
Width : 1 920 pixels
Height : 800 pixels
Display aspect ratio : 2.40:1
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.055
Stream size : 1.86 GiB (95%)
Writing library : x264 core 132 r2 76a5c3a
Encoding settings : cabac=1 / ref=5 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=36 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=60 / rc=2pass / mbtree=1 / bitrate=2012 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=31250 / vbv_bufsize=31250 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2013-08-26 12:03:02
Tagged date : UTC 2013-08-26 12:03:17
Color primaries : BT.709
Matrix coefficients : BT.709

Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 12mn
Bit rate mode : Variable
Bit rate : 93.7 Kbps
Maximum bit rate : 104 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 88.5 MiB (4%)
Language : English
Encoded date : UTC 2013-08-26 12:03:15
Tagged date : UTC 2013-08-26 12:03:17

Other are running ok with subtitles withou force encoding but, at some point of the movie, they just start lagging like the case before.

 

Here's the info on one of those medias

Format                                   : Matroska
Format version                           : Version 2
File size                                : 5.46 GiB
Duration                                 : 1h 55mn
Overall bit rate                         : 6 763 Kbps
Encoded date                             : UTC 2012-11-04 11:12:53
Writing application                      : mkvmerge v5.8.0 ('No Sleep / Pillow') built on Sep  2 2012 15:37:04
Writing library                          : libebml v1.2.3 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 5 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 1h 55mn
Bit rate : 5 257 Kbps
Width : 1 280 pixels
Height : 696 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 24.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.246
Stream size : 4.13 GiB (76%)
Writing library : x264 core 128 r2216 198a7ea
Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=5257 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Language : French
Default : Yes
Forced : No

Audio
ID : 2
Format : DTS
Format/Info : Digital Theater Systems
Mode : 16
Format settings, Endianness : Big
Codec ID : A_DTS
Duration : 1h 55mn
Bit rate mode : Constant
Bit rate : 1 509 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 1.22 GiB (22%)
Title : DTS 5.1
Language : French
Default : Yes
Forced : No

Text
ID : 3
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text
Title : Forced
Language : French
Default : Yes
Forced : No

Menu
00:00:00.000 : en:00:00:00.000
00:09:53.792 : en:00:09:53.792
00:18:45.708 : en:00:18:45.708
00:31:17.833 : en:00:31:17.833
00:41:49.708 : en:00:41:49.708
00:52:06.042 : en:00:52:06.042
01:02:09.833 : en:01:02:09.833
01:11:20.917 : en:01:11:20.917
01:22:57.417 : en:01:22:57.417
01:32:01.542 : en:01:32:01.542
01:42:51.833 : en:01:42:51.833
01:50:48.500 : en:01:50:48.500

I don't recall any lagging on files which are not using subtitles. That makes me think it might be my server running out of memory or processing. My PC is quite ok, though.  It's a i7  with 8GB of RAM and plenty of space.

 

 

Do you guys have any tips on how could I find out the issue and fix it?

 

Thanks a lot!

 

 

There were some posts about increasing the transcoders task priority... using Win taskmanager and/or some additional tools.

If I recall correctly, it was said to solve such an issue...

There were some posts about increasing the transcoders task priority... using Win taskmanager and/or some additional tools.

If I recall correctly, it was said to solve such an issue...

I'll search for it and report back!

Thanks!

UPDATE: I did a search and couldn't find anything that could help me.

The issue seems to be with subtitled movies, which leads me to believe the issue is at the configuration. Since my PC config isn't that bad, do you guys suggest anything I could change?

This is QUITE annoying =/