Posts: 93
Joined: Sep 2004
Reputation:
0
hi.
in the last 2 builds (3/7 and 9/7) playback of any video file (divx, xvid, ogg) would stutter for the first 5-10 seconds and then continue to playback flawlessly.
this issue has appeared in all of our xboxs (9 of them) some of which are european (pal) and the others are american (ntsc).
please let me know if there is something i can post that would help isolate this issue.
thanks!
a.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
i'm guessing something is locking a critical section during lookup, wich have to be used during rendering. and when database is getting large, bad things happen.
Posts: 93
Joined: Sep 2004
Reputation:
0
Hey Kraqh3d & Elupus,
First, thanks for the reply and suggestions.
Unfortunately, I do not have the skills nor the SW to compile my own build.
If it helps at all I can upload my DB for one of the developers who handles the DB.
Also - the behavious is persistent even when the video has only one part >>> therefore I am not sure if it has anything to do with the "next video" check.
10x
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
Yes because a lookup occurs whenever a video begins playback. When you hit play on a single video file, it does the lookup. And when you build a queue, and it moves to the next file, it does a lookup on the new file thats just begun playback.
Posts: 93
Joined: Sep 2004
Reputation:
0
Hmmmm... by the sound of it that is the exact problem!
Is there anything I can provide which would help isolating this problem?
Posts: 482
Joined: Aug 2005
Reputation:
0
I and a few others also experienced this problem starting about 3 months ago. There was a thread related to it on the old forums. It seemed that once I added more than about 100 files to the video database this problem would occur. It's not just the stuttering thats a symptom, but during that stuttering period (5 - 10 secs) all controls are in-operable, so now I often get blasted by a loud video, and just have to wait 10 seconds to turn the volume down. It also makes using any view but files hang consistently (with 500+ movies, takes about 20 - 30 seconds to switch views).
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
The pause while changing views is directly proportional to the size of the database. Some optimiztions could be done in Movies to minimize it, but it will never entirely go away. The more pressing problem is the fact that the movie info lookup at the start of a movie is interfering with playback.
Posts: 4
Joined: Jan 2005
Reputation:
0
Hi there
I have the same issue but it only happens on one of my xboxes. The other one which had a new HDD and has only had one version of XBMC works fine.
I have no idea why.
Thanks
Ryan
Posts: 7,172
Joined: Dec 2003
Reputation:
4
kraqh3d
Retired Developer
Posts: 7,172
Its caused by the size of your database. The larger the database, the longer the query take to complete, the longer you get the stuttering.
Posts: 93
Joined: Sep 2004
Reputation:
0
Since it appears that this issue is not going to go away any time soon, may I re-suggest something I have brought up a couple of months ago:
If it would be possible to do IMDB scans that instead of feeding the info+thumb to the DB would actually create a MOVIE.TBN (thumb) and MOVIE.XML (movie info) for every file scanned.
This way, we can then place these files next to the movie files which means the thumb will show up (already works in current builds) and the MOVIE.XML will be read if we choose the movie info option.
This way would leave the DB rather thin with only the information on movies we actually viewed.
Let me put it differently :
XBMC's greatest advantage is it's ability to effectively manage and "use" the user's media library. Once this capability is severely handicaped as it is today with the slooooow DB, then XBMC is merely a rather expensive alternative to the various DVD/DivX players existing in the market.
As a really big fan of XBMC, and as someone with a reasonably large media library, I really do hope you take this matter into consideration as I am sure there are many users like myself who have stopped scanning their media into XBMC because the performance issues that it creats.
A.
Posts: 3,805
Joined: Mar 2004
Reputation:
3
elupus
Team-XBMC Developer
Posts: 3,805
could somebody that has issues with this try something for me. in mplayer.conf comment out (or remove) the line softsleep=1. i intend to remove that in cvs as it serves little purpose and only causes higher cpu usage than needed when not playing extremly heavy videos