ATV2 with subtitles enabled causes lag

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
maruchan Offline
Fan
Posts: 311
Joined: Feb 2009
Reputation: 0
Post: #1
I'm running Eden Beta 2 on 4.4.4 and if I have subtitles enabled (SRT/ASS) the video will begin to drop frames every time a new subtitle appears. This happens on 4.3 as well. I tried searching through old posts to no avail.

Is there a simple fix for this? Log file here.
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,954
Joined: Jan 2011
Reputation: 131
Location: Arizona, USA
Post: #2
Others have seen this too. Not sure what it is. Happened to me on my ATV2, but doesn't happen on my iPhone 4, which makes me think it might be a RAM issue. We do think that iOS 5.x (and ATV 4.4.4) takes more system resources, but what exactly, not sure, or what we can do about it. Interesting that you have this happen on ATV2 4.3, though. That could mean something else is happening here that needs to be looked at.
find quote
zhango Offline
Junior Member
Posts: 11
Joined: Dec 2011
Reputation: 0
Post: #3
I've seen this too with pgs subtitles. It appears as if the stuttering is worse when showing two lines of subtitles. When there is just one line there's just a quick stutter(skipping something like 2-3 frames). When two lines are displayed however the loss of frames are more drastic, I'd say a loss of maybe 15-20 frames.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #4
the one testfile with embedded ass subs from another thread let the framerate drop down to 7fps on one special scene.

This is reproducable with my atv2 on ios 4.4.4.

My second atv2 running ios 4.3 has no issues. So its a fact that 4.4.4 hits our performance hard - though there might be issues on xbmc as well of course.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
basslover Offline
Junior Member
Posts: 10
Joined: Mar 2011
Reputation: 0
Post: #5
I have this too. When a Subtitle line appears, it stutter for a frame or two, it is very annoying. It doesn't stutter if the subtitle switching within a second or two, but if it stopped for like more than 10 seconds, the next line of subtitle appears then the video stutters.

Edit:
My ATV2 is running old 4.1. Xbmc is Eden b1. No Add-on, Nothing else was installed.
(This post was last modified: 2012-01-22 15:53 by basslover.)
find quote
maruchan Offline
Fan
Posts: 311
Joined: Feb 2009
Reputation: 0
Post: #6
Hm, interesting that it even happens on 4.1. I remember this happening on 4.3 and I figured it was just a bug with XBMC that would be worked out when Eden hit. I know 4.4.4 uses more resources (and I might downgrade to 4.3 for that very reason), but if it is a RAM issue, how was XBMC able to handle subtitles on the old XBOX with only 64 megs of RAM?
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 7,677
Joined: Feb 2011
Reputation: 91
Location: germany
Post: #7
its not a ram issue imho

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Haohmaru Offline
Senior Member
Posts: 183
Joined: Sep 2005
Reputation: 0
Post: #8
I've opened a ticket because of this problem 7 months ago.
find quote
maruchan Offline
Fan
Posts: 311
Joined: Feb 2009
Reputation: 0
Post: #9
Glad to see there's a trac ticket open. I think most people run XBMC on modern multi-core machines, but since you reported seeing it on a single core + 8400GS, it's obviously an issue within XBMC itself that goes unnoticed by most users. I hope it gets fixed before Eden goes final. If any devs need more info, I'd be glad to post logs/samples, though it sounds like it's fairly consistent to reproduce on the ATV2.
find quote
whitecom Offline
Junior Member
Posts: 9
Joined: Jan 2012
Reputation: 0
Post: #10
I'm also seeing this problem on my ATV2. It's running 4.4.4 w/ Eden b2.

Here's a link to the log. https://pastee.org/qksv4

When subtitles are disabled, the audio and video playback smoothly.
find quote
Post Reply