LinuxMCE Forums

General => Users => Topic started by: King on September 24, 2009, 04:40:27 am

Title: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 04:40:27 am
First off great work by everyone in the alpha releases! I have had this problem for some time now. I'm using an Asus P5N7A-VM mobo as a hybrid running latest release alpha 2.35, tried different nvidia drivers, tried running in UI1 and UI2 but no difference, doesn't seem to be a problem with playing directly from disc, and this has happened on previous releases also. The problem I am having is when watching video stored on a Buffalo Linkstation, the video and audio skips every three minutes, but also at multiples of three (example, if it is 10:29 and the video is playing, it will skip at 10:30, 10:33, 10:36 and so on). The only time I have fixed this was a clean install and reformatting my NAS, which obviously I do not wish to do again. I have tried turning off the screen saver, but it didn't help. Any suggestions?

Thanks
Title: Re: Odd video skip on 8.10 and NAS
Post by: pigdog on September 24, 2009, 02:21:29 pm
Hi,

Just for grins you could go into wedadmin>media files sync and uncheck "Update Media Daemon".

This would stop updatemedia from accessing your NAS during video playback.
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 24, 2009, 02:39:34 pm
just a warning, if you do this, then files won't automatically be added to the database when they are found on the disk.

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 03:54:33 pm
Thanks for the reply. All seems well by unchecking Update Media Daemon. But does this mean when I rip a new DVD I need to manually sync the database?
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 24, 2009, 03:55:33 pm
Correct. This indicates a network interconnect issue that you need to resolve. Are you using gigabit ethernet with a high quality switch?

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 04:04:41 pm
Actually my bad, I tried the DVD I was watching last night and it is still skipping, along with others. Yes I am using  gig E and a gig E switch. I thought that it could be a network issue at first because it happens only with my NAS, but I tried plugging just the NAS directly to the Hybrid to bypass the switch and still no luck.

Also I have fixed this before but that involes a clean install of Alpha and reformatting the NAS and re-ripping the DVD's. After this it works fine. It's only when I update to the latest version.
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 24, 2009, 04:09:44 pm
how odd...

hmmm

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: pigdog on September 24, 2009, 04:12:41 pm
Hi,

Just to verify...

these packages have been applied?

/usr/share/doc/libdvdread3/install-css.sh (this installs libdvdcss2)
apt-get install w32codecs
apt-get install kubuntu-restricted-extras
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 04:30:25 pm
Yes all of these have been applied, as I would not be able to view DVD's without them. The weird part about this is it seems to be tied to a clock, in intervals of three minutes at multiples of three. This is driving me nuts!
Title: Re: Odd video skip on 8.10 and NAS
Post by: pigdog on September 24, 2009, 04:44:36 pm
Hi,

Have you tried top?

Login a root.

From a command prompt run 'top' and it will give you the most active processes and also tell you their memory use.

Maybe you will see something kick in every 3 minutes.
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 05:00:39 pm
Yes i've tried top and nothing sticks out,  given I'm running 4 gigs memory and an Intel core duo dual core. Other than that Xine_Player is only about 8% CPU, and memory usage is negligible, nothing goes over 2%.

I'll keep checking top.
Thanks 
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 24, 2009, 05:19:21 pm
pay close attention to iowait.

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 06:44:56 pm
Is iowait in top? I have been watching and haven't seen it.
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 24, 2009, 07:40:41 pm
iowait is the %wa

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 24, 2009, 07:53:05 pm
Attached is the top readout when this happens
Title: Re: Odd video skip on 8.10 and NAS
Post by: pigdog on September 24, 2009, 09:31:25 pm
Hi,

I'm just curious...

If your movies are in VOB video_ts and audio_ts style...

if you look at the parent videos/MovieName directory via a console, do you have any 0 byte cifsxxxx files created?
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 25, 2009, 01:53:08 am
No, All DVD's were ripped using Linuxmce so they are all in the DVD file format. Also didn't see any 0 byte cifs files.
Title: Re: Odd video skip on 8.10 and NAS
Post by: pigdog on September 25, 2009, 01:37:52 pm
Hi,

So then they are .dvd iso files with a keys.tar.gz file.

The keys.tar.gz contain the decoded css encryption keys/chapter info from ripped dvd's and allow you to move between chapters in a movie.

Maybe something to do with accessing the keys during playback?

I dunno.  The three minute thing prompted me to think updatmedia.

I'm outta ideas - sorry bud!
Title: Re: Odd video skip on 8.10 and NAS
Post by: tschak909 on September 25, 2009, 02:25:13 pm
it IS updatemedia. WHAT in updatemedia, I don't know.

-Thom
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on September 29, 2009, 05:04:28 pm
Am I the only one having this problem?
Title: Re: Odd video skip on 8.10 and NAS
Post by: King on October 19, 2009, 12:10:57 am
Update. After installing from Beta (great work guys!) still have the skip. I mapped a drive from the NAS on my XP laptop to look at all files on the drive and found 16,572 CHECK_MOUNTED files that were being added by the core every three minutes, as well as files from DVD's that didn't rip successfully, in a folder called trashbox. I deleted all the files and then disabled Read/Write access to the drive and, NO SKIP! I know this may just be a temp fix but finally no skip.