INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: 30 second jump forward during recorded TV takes 35 seconds  (Read 2062 times)

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352

When I'm watching recorded TV (.ts format) on my "weak" client machine, a 30 second jump forward causes the show to pause for 35 seconds (no exaggeration) before the picture starts playing again.
This machine has a JRmark of 448 (Intel Atom 330 with ION GPU). All of my other clients can jump through 30 seconds of show in about 4 seconds.
So the 30 sec jump ahead takes longer than just watching the commercial straight through.

I am running WIn7, RO Standard, ver .161. Just updated nVidia to latest version, all the movies/shows playback fine - its only jumping forward that has the long delay.
But I can jump 30 seconds on a mkv file (a DVD TV show) in 3 to 4 seconds, it's just the .ts files which are OTA recorded that has a problem.

I recorded a log from two client machines (one with the delay and one jumping correctly) and compared them but could not find anything obviously wrong/different between the logs. I can send a log if you want.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #1 on: May 29, 2012, 05:42:00 pm »

Are you playing from a network drive?

If nevcairiel sees this, is it possible .TS files are being read in little chunks?  Some network file systems get a couple of orders of magnitude slower when reading small chunks (say < 1024 bytes) at a time.  Or is it seeking more than it would have to?

We might also be able to put our multi-threaded buffered file source in front of the splitter and see what happens.
Logged
Matt Ashland, JRiver Media Center

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #2 on: May 29, 2012, 05:59:13 pm »

I am playing off a network, but my other clients are on the same network and they are jumping properly/quickly on the same files.

Could this just be due to the weak processor/gpu on this machine?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #3 on: May 29, 2012, 06:02:59 pm »

Would you be willing to copy a TS file to a local drive and test that?

It'd be nice to figure out if it's from the NIC/LAN or the CPU.

Thanks.
Logged
Matt Ashland, JRiver Media Center

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #4 on: May 29, 2012, 06:10:10 pm »

Of course.
I'll post back in a couple of minutes.
Logged

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #5 on: May 29, 2012, 06:38:27 pm »

Matt you're brillant.
I copied the .ts file to the client and it now jumps 30 seconds in less than a second. So it is network related somehow.

Any idea what I can check next?

The network is a hardwired Cat5 - the file transfer speed (copying .ts from server to client) was 11.2MB/sec. Seems low for a 100MB/sec network - but it does play back okay (as does 1080p material).
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #6 on: May 29, 2012, 06:48:59 pm »

This is progress.

Are you playing on a Library Server client, or just directly from a mapped network drive?  What's an example filename in Media Center?

I'm trying to figure out who is doing the file I/O -- our network reader, LAV source/splitter, or something else.
Logged
Matt Ashland, JRiver Media Center

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #7 on: May 29, 2012, 07:13:08 pm »

I'm playing on a Library Server client.

The file I tested on is called "Mike & Molly 2012-05-28.ts
The path shown in MC is "E:\TV Recordings\Mike & Molly 2012-05-28.ts" (where E:\TV Recordings is located on the server). I have no local files stored.
Logged

Scolex

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1116
  • Cheers
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #8 on: May 29, 2012, 07:20:44 pm »

The network is a hardwired Cat5 - the file transfer speed (copying .ts from server to client) was 11.2MB/sec. Seems low for a 100MB/sec network - but it does play back okay (as does 1080p material).

Just a FYI when they refer to network speed specs it is Mb (bit) not MB (byte) so if you were getting 11.2MB then that is actually quite good when you consider a hypothetical limit of
12.5MB this limit does not account for overhead. Overhead being the communication packets that get sent back and forth as a sort of receipt system.
Logged
Sean

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #9 on: May 30, 2012, 11:39:38 am »

Please test this again with the next build.

A data shortfall in the internet reader could cause 100% CPU usage on one core, and this would be enough to bury an Atom.

This issue will be fixed next build.
Logged
Matt Ashland, JRiver Media Center

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #10 on: May 30, 2012, 04:17:49 pm »

Thanks for looking into this. I'll key an eye open (for .164 I assume) and post back.
Logged

CountryBumkin

  • Citizen of the Universe
  • *****
  • Posts: 3352
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #11 on: May 31, 2012, 04:17:59 am »

Matt,
the changes you made did not fix the problem. I now see a "buffering" message at opening but the 30 sec jump time is still the same.
The CPU is running pretty hard like you said - looks to be in the 70-75% range but I didn't see it peg during the jump.

As I mentioned before, this issue does not occur on ripped DVD TV shows, its only in my OTA recordings in .ts format (which are larger files, higher bit rate).



The screen shot was taken while the 30 second jump was occuring.
Logged

InflatableMouse

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3978
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #12 on: May 31, 2012, 07:38:54 am »

I'm thinking maybe the TS files require such a demand from the CPU to play, there is not enough time for the CPU to handle network traffic.

That would explain why a simply copy is fast, since there is nothing else going on.

Simple things to check:
Is your CPU always that high during playing a file, or only while streaming?
How does the CPU look when you play another file type that does skip properly?
Do you see your network load change (higher, lower) when a TS file is playing compared to when you skip 30 secs or does it remain the same?

Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: 30 second jump forward during recorded TV takes 35 seconds
« Reply #13 on: June 12, 2012, 10:05:24 am »

I think currently the player can think it's in data starvation mode when it really isn't, leading to troubles on slower machines.

We're working on this now, and hopefully a coming build will improve the situation.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up