Posts: 101
Joined: Jul 2010
Reputation:
0
So I bought a 2TB external HD, hooked it up to the apple tv, have loaded 3/4 of my movie collection onto it and am using the xbmc library feature to sort my movies. I am currenlty using the mediastream lite skin if that means anything. However, I have noticed during video playback there is a little bit lag that shows up every now and then. I use handbrake to rip the dvds to m4V format with H.264 codec. Does anyone know how to reduce this/stop it altogether?
Any help is appreciated! It is a real kick in the guts to find that there is a problem with the system when I've invested so much time converting my DVDs to m4V format.
Posts: 101
Joined: Jul 2010
Reputation:
0
Alright, for instance I was watching Happy Gilmore this afternoon. Every 5 mins or so the picture would seem to stutter for a few seconds with the audio still playing fine and once it has finished having its hissy fit the playback continues normally until 5 minutes later when the video stutters again. Its most noticeable when the camera pans or a car drives by and you see the pictures start stop very quickly.
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
pastebin xbmc.log please. Is "vsync always" turned on ?
Posts: 11,582
Joined: Feb 2008
Reputation:
84
davilla
Retired-Team-XBMC Developer
Posts: 11,582
WARNING: Process - Could not detect frame rate for: /Users/frontrow/Movies/External Media/Star Trek XI/VIDEO_TS/VIDEO_TS.IFO. Using default of 25.000 fps for conversion of any commercial break frame markers to times.
For both. Are these really 25 fps content ? Use MediaInfo (google for it) and check.
Posts: 34
Joined: Aug 2004
Reputation:
0
Just to chime in. I had this exact same lag problem on my AppleTV with content stored on an external usb hard drive (also did it with files on the internal hard drive). Most divx and xvid files were affected. I tried enabling/disabling "journaling" on the hard drive. I even swapped a couple of different usb devices to see if the drives was the problem. Sorry I do not have any logs. I observed the lag regularly over the many months I was using the ATV (mostly with the stable r28256 SVN)
I FINALLY solved it all by using the Ubuntu CrystalHD install that Sam Narzarko posted (I have a CrystalHD card installed). I am now running Sam's image from an external 2.5 usb hard drive and ALL video plays silky smooth (including all my 720p mkv stuff). No lags at all now, even with content streamed via SMB from my iMac running Snow Leopard.
Posts: 101
Joined: Jul 2010
Reputation:
0
Hi guys,
Thanks for your replies. The Star Trek DVD is 25fps. That doesn't sound good bigjuggler, so the only way to fix the problem is crack open the ATV and install a new card + install new drivers etc? I really want to avoid this if at all possible...
Posts: 179
Joined: Jun 2009
Reputation:
0
Rachel
Senior Member
Posts: 179
2010-07-27, 15:17
(This post was last modified: 2010-07-27, 15:18 by Rachel.)
PAL DVDs are always 25fps, and the resulting handbrake rips of them would be too, so that aspect of it doesn't seem unexpected to me. :-) (It's probably also not relevant to the problem. If it's a framerate/refresh-rate mismatch eg: 25fps movie played on 60Hz display, I think the symptoms are different.)
Posts: 131
Joined: Jun 2008
Reputation:
0
I also notice a lag so now and then. It happened after using the new svn Dharma installs. I read somewhere else it can happen because of the auto update feature of the add-ons?
I'll try to find something in the logs next time. Do I have to look in the debug logs or the normal ones?
Posts: 34
Joined: Aug 2004
Reputation:
0
Yes, I have to agree that installing the Ubuntu build to the internal hard drive is a little daunting to me as well (you have to repartition your internal drive, backup your ATV install and stuff....lots of terminal code....well laid out by those who know what they are doing, but still a bit scary to a non-coder guy).
I have to say though that running XBMC off the usb drive could not be easier and it does not change your current setup at all. I have been using XBMC on the ATV for a couple of years now, and this is the smoothest, most compatible, most stable version i have used. No problems at all for me. You have nothing to lose, grab a usb stick, copy the image and boot it up to see if you prefer it.
I am not sure how common the lag problem is (not a lot of others have reported it) and I assumed it was just my problem. Still this Ubuntu solved it.
Best of all, if you are interested in playing HD content using the CrystalHD card, it is GREAT. So far, it plays all my HD files smoothly. This to me is completely worth changing the setup.
Good luck.
Posts: 101
Joined: Jul 2010
Reputation:
0
My only concern is that if i share my external 2TB hard drive over the network through my mac with ubuntu running via usb thumb, it will be too slow and the vids will still lag, but as you say i have nothing to lose so ill give it a try.
im wondering whether i could just get a powered usb hub and connect both the thumb drive with ubuntu and the external hd to the ATV. would it work?