Playing ISO over NAS first time takes very long
#1
I have a general question about ISO handling. I notice that when I play an ISO file over my NAS that it can take 30-50 seconds before it starts playing - the first time I play it.

A second time (also after a reboot) it will play instantly. I checked my debug log and I think it has something to do with css handling, which it has to do once for each ISO.

Is this normal behavior for an XBMC setup (Linux)?
And if so is there any way I can let xbmc scan all my iso's at once, so next time I want to play I don't have to wait?

Can post debug log and more specs, but I suspect this is normal behavior. Hope someone can clarify that.
Reply
#2
My XBMC on Linux has mounted NFS directories to a ReadyNAS. An .iso movie starts instantaneously for me. No different than an .avi.
Reply
#3
kees667 Wrote:I have a general question about ISO handling. I notice that when I play an ISO file over my NAS that it can take 30-50 seconds before it starts playing - the first time I play it.

A second time (also after a reboot) it will play instantly. I checked my debug log and I think it has something to do with css handling, which it has to do once for each ISO.

Is this normal behavior for an XBMC setup (Linux)?
And if so is there any way I can let xbmc scan all my iso's at once, so next time I want to play I don't have to wait?

Can post debug log and more specs, but I suspect this is normal behavior. Hope someone can clarify that.

The door (css) remains open (in memory) as long you do not reboot.

Regards
hans
Reply
#4
Ok enough to require more details:

http://pastebin.com/m63375d6f

I played the dvd for Moby twice. First time takes forever to start. Second time it is instant.

Linux Ubuntu minimal jaunty
XBMC 22528
Reply
#5
A couple of prior threads that might be relevant:

http://forum.xbmc.org/showthread.php?tid=57311
http://forum.xbmc.org/showthread.php?tid=47555

It's believed to be related to the complexity of the DVD Menu.
Reply
#6
Thanks, I added this thread to the TRAC ticket.

Maxim Wrote:A couple of prior threads that might be relevant:

http://forum.xbmc.org/showthread.php?tid=57311
http://forum.xbmc.org/showthread.php?tid=47555

It's believed to be related to the complexity of the DVD Menu.
Reply
#7
I've seen this same thing over a year ago when I first started using XBMC with an AppleTV. I connected via CIFS (SMB) and had .iso images take extra time to start.

I then connected to the share with NFS and the .iso would load instantly. I think I even posted about it since others had similar problems - all with smb shares. I took the simple solution of not using smb ever again. A year later and it's still around.

I would suggest you mount your directories via NFS and try that.
Reply
#8
Thanks! I haven't tried that yet. I think XBMC itself doesnt support NFS, right?

I'll search for ubuntu help on mounting. But if you have a link please share :-)

tyche Wrote:I've seen this same thing over a year ago when I first started using XBMC with an AppleTV. I connected via CIFS (SMB) and had .iso images take extra time to start.

I then connected to the share with NFS and the .iso would load instantly. I think I even posted about it since others had similar problems - all with smb shares. I took the simple solution of not using smb ever again. A year later and it's still around.

I would suggest you mount your directories via NFS and try that.
Reply
#9
You have to have the nfs client installed on your xbmc machine and you need your NAS to have the NFS protocol running for your share.

a basic test would be like this:

sudo mount server:/share /home/xbmc/directory_i_want

To automount on a boot, I have an entry in /etc/fstab

server:/share /home/xbmc/directory_i_want nfs rw 0 0

setup nfs on Ubuntu
Reply
#10
Thanks. I enabled NFS on my NAS, and try the rest later this week.

tyche Wrote:You have to have the nfs client installed on your xbmc machine and you need your NAS to have the NFS protocol running for your share.

a basic test would be like this:

sudo mount server:/share /home/xbmc/directory_i_want

To automount on a boot, I have an entry in /etc/fstab

server:/share /home/xbmc/directory_i_want nfs rw 0 0

setup nfs on Ubuntu
Reply
#11
I tried it but I can't get this to work.

i first did this:
sudo mkdir /home/xbmc/NAS
then:
sudo mount 192.168.1.30:/private /home/xbmc/NAS


which gives me:
mount: wrong fs type, bad option, bad superblock on 192.168.1.30:/private,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so

I Think the path might be incorrect. I am sure about the ip adress, and I know the folder name is /private with al subfolders below it. also my nas requires a password, so how should I insert that?
Reply
#12
make sure package nfs-common is installed

then, check the man page for mount...i believe you need to specify the fs type. also, specifying user/pwd should be one of the options as well. my nfs line looks like this (put it in /etc/fstab once you've got it working so it will do it on boot)

192.168.1.102:/nfs/Public /media/storage nfs rw, hard, intr
Reply
#13
It has taken some time, but with a lot of help I got it working. I can also confirm that on my setup ISO files now play practically instantly over NFS. Apart from confirming that I'd also like to point to the post with the instructions I used to setup NFS, who knows who might find this post while searching...

http://forum.xbmc.org/showthread.php?p=4...post449150
Reply

Logout Mark Read Team Forum Stats Members Help
Playing ISO over NAS first time takes very long0