PDA

View Full Version : XBMC on AppleTV taking a while to load iso


ZuN1
2009-07-14, 05:28
I have a media server on a gigbit ethernet network and I have XBMC installed on an xbox and an appleTV (ver 9.04.1) both hard wired to the gigabit switch,
When i select a movie (iso) on the xbox xbmc it starts up within 5 seconds pretty much instaneous, now when im on my appleTV XBMC it takes about a minute to load up, anybody know of a way of speeding this up to work like the Xbox version?

Thanks
Rafael

PS the AppleTV os is on the latest verion.

Log http://pastebin.com/md934f68
1.
01:51:54 T:51572224 M: 31965184 NOTICE: ES: Client from 127.0.0.1 timed out
2.
01:55:23 T:51572224 M: 29884416 NOTICE: ES: Client from 127.0.0.1 timed out
3.
01:59:34 T:2684407808 M: 52113408 NOTICE: DVDPlayer: Opening: smb://MEDIASRVR/Movies2/HellBoy II/HELLBOY II THE GOLDEN ARMY.iso
4.
01:59:34 T:2684407808 M: 52125696 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
5.
01:59:34 T:52104704 M: 52133888 NOTICE: Creating InputStream
6.
02:00:19 T:52104704 M: 52142080 NOTICE: DVDPlayer: playing a dvd with menu's
7.
02:00:19 T:52104704 M: 52142080 NOTICE: Creating Demuxer
8.
02:00:19 T:52104704 M: 52072448 NOTICE: Opening audio stream: 0 source: 512
9.
02:00:19 T:52104704 M: 52072448 NOTICE: Opening Subtitle stream: 0 source: 512
10.
02:00:19 T:52104704 M: 52072448 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
11.
02:00:19 T:52104704 M: 52072448 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
12.
02:00:19 T:52104704 M: 51064832 NOTICE: Opening video stream: 0 source: 256
13.
02:00:19 T:52104704 M: 51064832 NOTICE: Creating video codec with codec id: 2
14.
02:00:19 T:52104704 M: 51277824 NOTICE: Creating video thread
15.
02:00:19 T:52278272 M: 51281920 NOTICE: running thread: video_thread
16.
02:00:19 T:52278272 M: 49692672 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
17.
02:00:19 T:52278272 M: 49700864 NOTICE: fps: 25.000000, pwidth: 720, pheight: 480, dwidth: 853, dheight: 480
18.
02:00:19 T:52278272 M: 49700864 NOTICE: Display resolution AUTO : 1280x720 @ 60.00Hz (Full Screen) (12)
19.
02:00:19 T:52278272 M: 49700864 WARNING: Upscale: selected algorithm 1
20.
02:00:19 T:52104704 M: 70553600 NOTICE: Opening audio stream: 1 source: 256
21.
02:00:19 T:52104704 M: 70553600 NOTICE: Finding audio codec for: 86019
22.
02:00:19 T:52104704 M: 70529024 NOTICE: Creating audio thread
23.
02:00:19 T:52088320 M: 70520832 NOTICE: running thread: CDVDPlayerAudio::Process()
24.
02:00:19 T:52088320 M: 70512640 NOTICE: Creating audio device with codec id: 86019, channels: 2, sample rate: 48000, pass-through
25.
02:00:19 T:52088320 M: 77385728 NOTICE: Asked to create device: [Built-in Line Output]
26.
02:00:19 T:52088320 M: 77385728 NOTICE: Device should be digital: [1]
27.
02:00:19 T:52088320 M: 77385728 NOTICE: Channels: [2]
28.
02:00:19 T:52088320 M: 77385728 NOTICE: Sample Rate: [48000]
29.
02:00:19 T:52088320 M: 77385728 NOTICE: BitsPerSample: [16]
30.
02:00:19 T:52088320 M: 77385728 NOTICE: PacketSize: [2048]
31.
02:00:19 T:52088320 M: 77385728 NOTICE: Picked device: [Built-in Line Output]
32.
02:00:20 T:2684407808 M: 70520832 NOTICE: Using GL_TEXTURE_2D
33.
02:00:20 T:2684407808 M: 70537216 NOTICE: GL: ARB shaders support detected
34.
02:00:20 T:2684407808 M: 70529024 NOTICE: GL: Selecting Single Pass ARB YUV2RGB shader
35.
02:00:20 T:2684407808 M: 70529024 NOTICE: GL: No vertex shader, fixed pipeline in use
36.
02:00:20 T:2684407808 M: 70520832 NOTICE: GL: NPOT texture support detected
37.
02:00:40 T:52104704 M: 55595008 NOTICE: Opening Subtitle stream: 2 source: 256
38.
02:00:40 T:52104704 M: 55611392 WARNING: CDVDPlayer::CheckPlayerInit(3) - Ignoring too large delay of 28695333.333333
39.
02:01:03 T:52104704 M: 55386112 NOTICE: Closing subtitle stream
40.
02:01:03 T:52104704 M: 55390208 NOTICE: Opening Subtitle stream: 2 source: 256
41.
02:01:03 T:52104704 M: 55390208 WARNING: CDVDPlayer::CheckPlayerInit(3) - Ignoring too large delay of 51851800.000000

aedile
2009-07-14, 21:51
Just to let you know, this is how things work for me as well. My windows-based box that accesses via SMB seems to load up in a jiffy, whereas the ATV can take up to 45 seconds. I always just chalked this up to the slower processor on the ATV taking longer to cache things.

-aedile-

ZuN1
2009-07-15, 02:33
Yeah hopefully a Dev or someone that knows what may be wrong can chime in on this.

aedile
2009-07-15, 20:07
Well, there might not be anything "wrong" per se. One of the realities of using the ATV is that it's never going to be as fast as a dedicated PC. It's entirely possible we are just running into the limits of the hardware.
-aedile-

ZuN1
2009-07-15, 20:12
Well its actually running on an XBOX and I believe the ATV has a snappier CPU

Winkie
2009-07-17, 11:12
I can also attest to the fact that it takes a while with only isos and img files on the appleTV, but bigger MKVs and AVI's work almost immediately.

ZuN1
2009-07-20, 22:58
Well at least we can narrow it down to ISO's having the issue, and hopefully the Dev's will find that useful.

babaraccas
2009-08-05, 08:18
I've been running XBMC on an Xbox for years and recently got an Apple TV. I use the XBOX for iso movies primarily. My Apple TV takes WAY longer to load an iso movie than my XBOX. XBOX is almost instantaneous. I will post a debug log when I get a chance.

Neil
2009-08-05, 17:41
I can also attest to the fact that it takes a while with only isos and img files on the appleTV, but bigger MKVs and AVI's work almost immediately.

For me, the slowness is not limited to ISO and IMG, but also includes the ripped video_ts folder launched from the .ifo file.

babaraccas
2009-08-08, 07:50
I've tried loading .iso's from my NAS using three different skins (PM3_HD, Mediastream, Aeon) all having similar results. The first time the .iso movie loads can take minutes, but subsequent loadings are almost instantaneous. In the log file below you will see I loaded "The Bourne Ultimatum" for the first time and it took a few minutes to load up the DVD menu. Then I opened up an .iso called "Pocoyo" which I had previously played, and it opened right away. Then I went back and opened up "The Bourne Ultimatum" again which also opened up right away. The speedier loads also work after reboots of XBMC so it seems to my uneducated self that information is being cached and accessed quicker the second time around. Hope this helps solve the problem. Thanks for all the good stuff!!

Info:
Platform: Apple TV v2.4
Launcher version: 3.1
Install Method: Launcher
SVN Revision: Built on Aug 6 2009 (SVN:22037)
Debug Log: http://pastebin.com/f4bd83a84

S80_UK
2009-08-08, 14:20
My experience when accessing files wirelessly using SMB shares.... (I generally have XBMC nightly SVN updates running on ATV 2.4)

Folders (VIDEO_TS structures) seem to take longer than ISOs (more files to open across the SMB connection).

ISOs with DVD menus included take much longer than ISOs where I have ripped just the movie. ISOs with menus take ages (could be more than a minute for relatively simple menus, longer for complex ones). ISOs without menus generally start playing in 10-15 seconds. Those that have recently been played will restart very quickly, presumably due to local caching of data.

Since almost of of my DVD rips do not have menus I am happy with the current performance of the software. It could always be faster, but I am not in that much of a hurry. :;):

babaraccas
2009-08-23, 07:28
Any word on this one? Still a problem and ISO's take minutes to load up? I posted a debug log. Is there any other information I can contribute to the cause? Thanks again for XBMC's awesomeness in all respects!

rufrothy
2009-09-03, 23:55
Any update on this... I see this exactly on the mac mini and the ATV.....

I built an ION system last week and the same issue on the ION.

I dont see it on the XBOX or windows... I wonder if the problem is due to I/O performance on the client creating some cache directory....

on my testing video_ts folders instead of ISO's happens much faster. Its only the .iso's that are slow.

I have tried this on 3 different file server OS's and platforms... same exact issue...

The funny thing in that on xbox ISO's are really fast and VIDEO_TS folders take about 8 seconds to load but its nothing compared the 15-second to a minute I see on the mac. and the 15-20 seconds on ION.

There is a real issue here. I wish the dev's or someone would at least offer a suggestion. Another friend of mine started another thread on the subject and no response there... I will gladly post additional logs and do what ever to solve this one... Its causing a lot of pain for me at the moment with the new platforms....

Sean

Vincent Law
2009-09-04, 07:12
I actually have this problem on my Macbook!

It can take upwards of 30 seconds to load an ISO over the network for me. Yet it loads normal .mkvs and such, even if they're abnormally large, just fine (which leads me to rule out network speed).

rufrothy
2009-09-05, 02:17
I'll post all the details this weekend but the OP posted logs etc but still no comments....

Sean