PDA

View Full Version : Simultaneous client and video problems


jack46
2005-04-17, 21:55
hi,

i have 2 xboxes connected through a 100 mbit wired ethernet connection to my media center pc. the pc is a 3.2 ghz machine with 1 gig of ram and 1 tb of disk space.

xbmc works fine when only one xbox is being used. as soon as i turn on the other xbox and go into xbmc, if i'm watching a movie on the other, it will suddenly stop at some random point, and [sometimes] give me an access denied message after a while.

as i've said, it works fine when only one xbox is turned on. i've made sure that both xboxes have a different ip.

any ideas ?

jack46
2005-04-19, 16:56
does anyone else out there have a setup similar to mine, e.g. two xboxes that are connected to the same pc share ?

can you play videos on one xbox's xbmc while your other xbox is also running xbmc (and not necessarily playing a video, the other xbox could simply be at the main menu)...

kraqh3d
2005-04-19, 17:09
i have two xboxs though i dont think i've ever had both xbox's running xbmc at the same time. *i'll give it try later tonight and see what happens.

** edit **

are you trying to stream the same file via both xboxes?

jack46
2005-04-19, 17:30
like i said, one xbox is usually idle (from not having been turned off the last time it was used) while the other one is playing an avi file...

usually, it takes around 5 to 15 minutes to crash...

this is a bug i can reproduce on both xboxes while the other one is on.

i turn off the other xbox, and the problem goes away...

thanks for you help, let me know what happens with your setup.

kraqh3d
2005-04-19, 17:45
idle in what way? are you:

1) in the same media window, same share but not playing anything
2) in the same media window, differnent share but not playing anything
3) in a different media window but not playing anything
4) at the home page doing nothing at all
5) doing something else

are you using recently added media?
did you change your database to a remote location?

jack46
2005-04-19, 18:00
i have set up xbmc to only have access to one share on my network for videos. in other words, when i select "my videos" in the main menu, i get only one item in the resulting screen, e.g. the single share.

as far as what the other xbox is doing, i haven't pinpointed one of the cases you mentionned.

i can tell you however that it is not 2) or 5). it could be any of the other three cases (i'm not home right now, so i can't check).

recently added media : well, yes and no. i am in the process of ripping all my children's dvds to the pc's hard disk, and so i'm adding a few movies daily. however, i have had the same problem with content that's been on the hd for a few weeks. i therefore don't think that it's an issue, but hey, what do i know !

change the database to a remote location : no, as i don't know what you're talking about ;-)

kraqh3d
2005-04-19, 18:42
so if one xbox is playing content from its hard drive, it will stop playing when the second xbox is online?

jack46
2005-04-19, 19:21
no.

remember, i have 2 xboxes, and one pc.

both xboxes have access to the same share on the pc through smb.

jack46
2005-04-21, 13:08
i had a bit more time to troubleshoot the problem.

i turned on my bedroom xbmc (left it at the main screen), and went to the family room to watch a movie on my other xbmc. the cache level was always at 76%-77%.

after about 10 minutes, it started to drop linearly to 0%, and xbmc crashed.

i remember seeing this problem on the boards, and i'll search for a solution later...

kraqh3d
2005-04-21, 16:27
so which is it? does it only affect remote files or not? earlier you said:


however, i have had the same problem with content that's been on the hd for a few weeks. i therefore don't think that it's an issue, but hey, what do i know !

jack46
2005-04-21, 17:44
ha, now i see why there's confusion between us :-)

let me rephrase : i am adding movies on a daily basis on the pc's hard disk, but some movies have been on the pc's hard disk for a while.

i am never playing videos from either of the xboxes hard disk. each xbox points to one and only one common location : the pc's folder where i store my movies.

LostIt
2005-04-22, 00:22
ok... i have 2 xboxs (one living room, one bedroom...) both are running the same xbmc build (4.17.05.) i also have an xp machine (specs prolly don't matter...); all of which are hooked up to a router (which is connected to my dsl modem.) i started up my living room box, and started a movie on my bedroom box that is being streamed from my pc's smb share. well, it's been playing for about 20 minutes and no problems on either box so far.

just to help me understand... which box is crashing? the one playing the movie or the one that isn't?

jack46
2005-04-22, 03:50
it's the xbox playing the movie that crashes...

i tried it again tonight. turned on the xbox in the bedroom, selected xbmc, and left it at the main menu.

then i went downstairs, ftp'd to the living room xbox, and edited xboxmediacenter.xml to set loglevel to 0 and mplayerdebug to true...

then, i launched a movie.

here's the log file from xmbc:

21-04-2005 19:20:27 debug msg:starting playback...

21-04-2005 19:20:27 debug msg:mplayer_open_file(smb://172.24.101.99/video/films/contact/contact (1997 - jodie foster - carl sagan).avi) done 1.0000

21-04-2005 19:20:27 debug msg:[ffmpeg] aspect_ratio: 0.000000

21-04-2005 19:20:27 debug msg:vdec: vo config request - 720 x 272 (preferred csp: planar yv12)

21-04-2005 19:20:27 debug msg:trying filter chain:

21-04-2005 19:20:27 debug msg: vo

21-04-2005 19:20:27 debug msg:

21-04-2005 19:20:27 debug msg:vdec: using planar yv12 as output csp (no 0)

21-04-2005 19:20:27 debug msg:movie-aspect is undefined - no prescaling applied.

21-04-2005 19:20:27 debug msg:vo config (720x272->720x272,flags=0,'mplayer',0x32315659)

21-04-2005 19:20:27 debug msg:vo: [directx] 720x272 => 720x272 planar yv12

21-04-2005 19:20:27 debug msg:vo: description: xbox direct3d8 yv12 renderer

21-04-2005 19:20:27 debug msg:vo: author: frodo/jcmarshall/butcher

21-04-2005 19:20:28 debug msg:*** [vo] allocating (slices) mp_image_t, 720x272x12bpp yuv planar, 293760 bytes

21-04-2005 19:20:28 debug msg:xxx initial v_pts=0.000 a_pos=8000 (0.500)

21-04-2005 19:20:32 debug msg:*** [vo] allocating (slices) mp_image_t, 720x272x12bpp yuv planar, 293760 bytes

21-04-2005 19:30:00 info msg:[msmpeg4 @ 0148ced0]

21-04-2005 19:30:00 info msg:[msmpeg4 @ 0148ced0]

21-04-2005 19:30:00 debug msg:cache_stream_seek: warning! can't seek to 0x2e00310 !

21-04-2005 19:30:00 debug msg:ds_fill_buffer: eof reached (stream: video)

21-04-2005 19:30:00 debug msg:

21-04-2005 19:30:00 debug msg:uninit audio filters...

21-04-2005 19:30:00 debug msg:[libaf] removing filter dummy

21-04-2005 19:30:00 debug msg:uninit audio: mp3lib

21-04-2005 19:30:00 debug msg:uninit video: ffmpeg

21-04-2005 19:30:00 debug msg:demuxer: freeing demuxer at 00b2b010

21-04-2005 19:30:00 debug msg:winsock2 uninit

21-04-2005 19:30:00 debug freeing fs segment @ 0x98abc0

21-04-2005 19:30:00 debug msg:

21-04-2005 19:30:40 error smbdirectory->getdirectory: unable to open directory : 'smb://172.24.101.99/video/films/contact/'

unix_err:'2743' nt_err : 'c0000022' error : 'access denied'




and here's my xboxmediacenter.xml file

<xboxmediacenter>

<!-- when using xbmc as dashboard, define home directory here !-->
<!-- and move the xbmc xbe plus this xml config file to c:\ !-->
<!-- example: <home>e:\apps\xbmc\</home> !-->

<home>-</home>

<!-- network settings are now in the gui -->


<!-- http proxy settings are now in the gui -->

<!-- web server port setting is now in the gui -->

<!-- set the logging level !-->
<!-- log level 0 = debug !-->
<!-- log level 1 = info !-->
<!-- log level 2 = notice !-->
<!-- log level 3 = warning !-->
<!-- log level 4 = error !-->
<!-- log level 5 = severe !-->
<!-- log level 6 = fatal !-->
<!-- log level 7 = none !-->

<!-- the higher the number, the less logging you will get. !-->
<!-- the default level is notice. this logs everything !-->
<!-- except debug and info. !-->

<loglevel>0</loglevel>
<mplayerdebug>true</mplayerdebug>
<showfreemem>false</showfreemem>

<!-- kai settings are now in the gui -->


<!-- do not touch these settings!! (unless you know what you're doing) !-->
<!-- workgroup : workgroup which xbmc uses to login to a server. !-->
<!-- winsserver: if you run one you can set the ip here (if you don't know !-->
<!-- what it is, leave it as it is). !-->
<!-- debuglevel: only set this if you have problems using samba (0 - 10) !-->
<!-- setting it too high will slow it down a lot. !-->

<!-- defaultusername & defaultpassword: the username and password that !-->
<!-- will used if none is specified in bookmark !-->
<!-- usefull for samba browsing. will fallback to guest access !-->
<!-- if it can't !-->

<samba>
<workgroup>workgroup</workgroup>
<winsserver>-</winsserver>
<debuglevel>0</debuglevel>
<defaultusername>mediacenter\jacques</defaultusername>
<defaultpassword>jpt05031</defaultpassword>
</samba>

<!-- this is the ip address to freedb.org cddb music lookup database !-->
<cddbipaddress>194.97.4.18</cddbipaddress>

<!-- determines which drives 2 use. only change this for lba48 support !-->
<usefdrive>yes</usefdrive>
<usegdrive>no</usegdrive>
<usepcdvdrom>no</usepcdvdrom>

<!-- should a cd with iso/udf filesystem be treated as iso (yes) or udf (no) when autodetecting !-->
<detectasiso>no</detectasiso>

<!-- time server host setting is now in the gui -->

<!-- dashboard 2 launch when exiting xbmc!-->
<dashboard>c:\evoxdash.xbe</dashboard>

<!-- fill in path&filename of external dvd player-->
<!-- if empty, xbmc will play any dvd's by itself-->
<dvdplayer></dvdplayer>

<!-- fill in path&filename of external cd audio player-->
<!-- if empty, xbmc will play any cd's by itself-->
<!-- only applicable if autorun cdda=yes in autorun settings-->
<cddaplayer></cddaplayer>

<!-- alternate subtitle directory. if subtitle cant be found in same directory !-->
<!-- as the movie it will look here: !-->
<subtitles>$home\subtitles</subtitles>

<!-- note: the flipcharset element is no longer defined in this xml and should !-->
<!-- now be modified from the user interface. !-->

<!-- startup window !-->
<startwindow>0</startwindow>

<!-- file extensions for pictures,music and videos !-->
<pictureextensions>.png|.jpg|.jpeg|.bmp|.gif|.ico|.tif|.tiff|.tga|.pc x</pictureextensions>
<musicextensions>.nsv|.m4a|.flac|.aac|.strm|.pls|.rm|.mpa|.wav|.wma |.ogg|.mp3|.mp2|.m3u|.mod|.amf|.669|.dmf|.dsm|.far |.gdm|.imf|.it|.m15|.med|.okt|.s3m|.stm|.sfx|.ult| .uni|.xm|.sid|.ac3|.dts|.cue</musicextensions>
<videoextensions>.nsv|.ts|.ty|.nfo|.strm|.rm|.rmvb|.m3u|.ifo|.mov|. qt|.divx|.xvid|.bivx|.vob|.nrg|.img|.iso|.pva|.wmv |.asf|.asx|.ogm|.m2v|.avi|.bin|.dat|.mpg|.mpeg|.mp 4|.mkv|.avc|.vp3|.svq3|.nuv|.viv|.dv|.fli</videoextensions>

<!-- path where xbmc should store its thumbnails !-->
<thumbnails>$home\thumbs</thumbnails>

<!-- path where xbmc should store its shortcuts !-->
<shortcuts>$home\shortcuts</shortcuts>

<!-- path where xbmc should store the music albums cache !-->
<albums>$home\albums</albums>

<!-- path where shoutcast rips/recordings are stored !-->
<recordings>$home\recordings</recordings>

<!-- path where screenshots are stored !-->
<screenshots>$home\screenshots</screenshots>

<!-- path where cdda rips are stored !-->
<cddarippath>e:\music\cdrips</cddarippath>

<!-- move & repeat delays for controller and remote (values are in msec) !-->
<!-- deadzone for controller is a value between 0 and 1 (0 being no deadzone, 1 being all deadzone) !-->
<delays>
<remote>
<move>220</move>
<repeat>300</repeat>
</remote>
<controller>
<move>220</move>
<repeat>220</repeat>
<deadzone>0.1</deadzone>
</controller>
</delays>

<!-- remote debug info. displays the dvd-remote code with each button press !-->
<!-- useful to see if xbmc reads extra buttons on your universal ir remote !-->
<!-- these remote codes can be placed in keymap.xml to give you more button options !-->
<displayremotecodes>true</displayremotecodes>

<!-- this section allows you to overwrite/specify the icons shown !-->
<!-- for specific file types !-->
<filetypeicons>
<xbe>defaultprogram.png</xbe>
</filetypeicons>

<!-- my programs bookmarks !-->
<!-- the depth allows you to specify how deep to look for xbe when flattening is on. for example, with depth of 1: !-->
<!-- f:\games\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- game3 !-->
<!-- if your depth is 2, it will look even further for the xbe !-->
<!-- f:\emulators\ !-->
<!-- nin64\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- psx\ !-->
<!-- game1 !-->
<!-- game2 !-->
<!-- you can have multiple paths per bookmark. use a comma-separated list of the paths. !-->
<!-- ex: <path>e:\games\,f:\games\</path> !-->
<!-- <path> can also take direct links to xbe !-->
<!-- ex: <path>e:\apps\,c:\xbmc.xbe</path> !-->



<myprograms>
<default>q:\shortcuts</default>
<bookmark>
<name>c drive</name>
<path>c:\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>e drive</name>
<path>e:\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>f drive</name>
<path>f:\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>g drive</name>
<path>g:\</path>
<depth>1</depth>
</bookmark>
<bookmark>
<name>dvd-rom</name>
<path>d:\</path>
<depth>1</depth>
</bookmark>
</myprograms>


<!-- my pictures shares !-->
<pictures>
<default></default>
<bookmark>
<name>c drive</name>
<path>c:\</path>
</bookmark>
<bookmark>
<name>e drive</name>
<path>e:\</path>
</bookmark>
<bookmark>
<name>f drive</name>
<path>f:\</path>
</bookmark>
<bookmark>
<name>g drive</name>
<path>g:\</path>
</bookmark>
<bookmark>
<name>dvd-rom drive</name>
<path>d:\</path>
</bookmark>
<!-- expert setting: uncomment for seperate iso and udf share !-->
<!-- comment out the bookmark named dvd to disable dvd autodetect !-->
<!-- for my pictures !-->
<!-- <bookmark> !-->
<!-- <name>iso</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>udf</name> !-->
<!-- <path>udf:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>xns</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>auto-discover xbmsp network shares</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>xbmsp network share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>smb</name>
<!-- you can use the following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://domain;username:pwd@mywindowsserver/pictures/</path>
</bookmark>
<bookmark>
<name>workgroups (smb)</name>
<path>smb://</path>
</bookmark>
</pictures>

<!-- my files shares !-->
<files>
<bookmark>
<name>c drive</name>
<path>c:\</path>
</bookmark>
<bookmark>
<name>e drive</name>
<path>e:\</path>
</bookmark>
<bookmark>
<name>f drive</name>
<path>f:\</path>
</bookmark>
<bookmark>
<name>g drive</name>
<path>g:\</path>
</bookmark>
<bookmark>
<name>q drive</name>
<path>q:\</path>
</bookmark>
<bookmark>
<name>dvd-rom drive</name>
<path>d:\</path>
</bookmark>
<!-- expert setting: uncomment for seperate iso and udf share !-->
<!-- comment out the bookmark named dvd to disable dvd autodetect !-->
<!-- for my files !-->
<!-- <bookmark> !-->
<!-- <name>iso</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>udf</name> !-->
<!-- <path>udf:</path> !-->
<!-- </bookmark> !-->
<bookmark>
<name>xns</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>auto-discover xbmsp network shares</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>xbmsp network share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>smb</name>
<!-- you can use the following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<path>smb://domain;username:pwd@mywindowsserver/files/</path>
</bookmark>
<bookmark>
<name>workgroups (smb)</name>
<path>smb://</path>
</bookmark>
</files>


<!-- my music shares !-->
<music>
<default></default>
<bookmark>
<name>musique</name>
<path>smb://172.24.101.99/musique</path>
</bookmark>
<!-- <bookmark>
<name>c drive</name>
<path>c:\</path>
</bookmark>
<bookmark>
<name>e drive</name>
<path>e:\</path>
</bookmark>
<bookmark>
<name>f drive</name>
<path>f:\</path>
</bookmark>
<bookmark>
<name>g drive</name>
<path>g:\</path>
</bookmark>
<bookmark>
<name>dvd-rom drive</name>
<path>d:\</path>
</bookmark>-->
<!-- expert setting: uncomment for seperate iso and udf cdda share !-->
<!-- comment out the bookmark named dvd to disable dvd autodetect !-->
<!-- for my music !-->
<!-- <bookmark> !-->
<!-- <name>iso</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>udf</name> !-->
<!-- <path>udf:</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>cdda</name> !-->
<!-- <path>cdda:</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark>
<name>xns</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>ms soundtracks</name>
<path>soundtrack://</path>
</bookmark>
<bookmark>
<name>auto-discover xbmsp network shares</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>xbmsp network share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>smb</name>-->
<!-- you can use the following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<!-- <path>smb://domain;username:pwd@mywindowsserver/music/</path>
</bookmark>
<bookmark>
<name>workgroups (smb)</name>
<path>smb://</path>
</bookmark>
<bookmark>
<name>itunes</name>-->
<!-- only use an ip address here !-->
<!-- <path>daap://192.168.1.100</path>
</bookmark>-->
</music>


<!-- my video shares !-->
<video>
<default></default>
<!-- <bookmark>
<name>e drive</name>
<path>e:\</path>
</bookmark>
<bookmark>
<name>f drive</name>
<path>f:\</path>
</bookmark>
<bookmark>
<name>g drive</name>
<path>g:\</path>
</bookmark>
<bookmark>
<name>dvd-rom drive</name>
<path>d:\</path>
</bookmark>-->
<bookmark>
<name>my movies</name>
<path>smb://172.24.101.99/video</path>
</bookmark>
<!-- expert setting: uncomment for seperate iso and udf share !-->
<!-- comment out the bookmark named dvd to disable dvd autodetect !-->
<!-- for my video !-->
<!-- <bookmark> !-->
<!-- <name>iso</name> !-->
<!-- <path>iso9660://</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark> !-->
<!-- <name>udf</name> !-->
<!-- <path>udf:</path> !-->
<!-- </bookmark> !-->
<!-- <bookmark>
<name>xns</name>
<path>xns://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>auto-discover xbmsp network shares</name>
<path>xbms://</path>
</bookmark>
<bookmark>
<name>xbmsp network share</name>
<path>xbms://192.168.0.1:1400/</path>
</bookmark>
<bookmark>
<name>smb</name>-->
<!-- you can use the following formats: !-->
<!-- smb://domain;user:password@ip/share/directory/ !-->
<!-- smb://user:password@ip/share/ !-->
<!-- if guest/public access is enabled: !-->
<!-- smb://ip/ !-->
<!-- <path>smb://domain;username:pwd@mywindowsserver/movies/</path>
</bookmark>
<bookmark>
<name>workgroups (smb)</name>
<path>smb://</path>
</bookmark>
<bookmark>
<name>replaytv</name>
<path>rtv://*/</path>
</bookmark>-->
</video>
</xboxmediacenter>


can anyone help ?

kraqh3d
2005-04-22, 04:25
ok i did some testing and i was able to play a file from the same share on two seperate xboxes at the same time. i played a 42 minute tv show on both. i watched one to the end.

i also was able to play the same file on both xboxes without a problem. i watched for about 15 minutes.

are you positive they do not have the same ip address?

jack46
2005-04-22, 16:55
ok i did some testing and i was able to play a file from the same share on two seperate xboxes at the same time. *i played a 42 minute tv show on both. *i watched one to the end.

i also was able to play the same file on both xboxes without a problem. *i watched for about 15 minutes.

are you positive they do not have the same ip address?
closure...

:lookaround:

after verification, both xboxes had the same ip.

i'm really sorry for bothering all of you. i just hope that this thread can help someone in the future...

kraqh3d
2005-04-22, 17:42
ah! i'm glad to hear that you've found the problem.

jack46
2005-04-22, 17:45
well, to tell you the truth, i haven't really re-tested (which i will do this weekend), but i have a feeling this'll fix it, and it will also fix the connection problems i was having with microsoft's media center extender for xbox !!!

jack46
2005-04-25, 20:43
maybe this will help someone in the future.

the reason i thought i had different ip addresses on each xbox wsas that i had not changed them using the xbmc settings or the dashboard (evox) interface .

to my surprise last night,i had the same videos crashing problem... so, immediately, i went to check the ip addresses. sure enough, they were the same !!

the reason they were the same was that i had previously transferred the "evox.ini" file from the first xbox to the second, in order to have the same menus on both xboxes. little did i know that the ip address was written in that file !
hope this helps someone sometime :-)