INTERACT FORUM

Please login or register.

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

Author Topic: Playing music to Roku spins the processor at 100%  (Read 1572 times)

Mediahome

  • Junior Woodchuck
  • **
  • Posts: 65
Playing music to Roku spins the processor at 100%
« on: October 21, 2010, 12:17:10 am »

When playing music on a Roku SoundBridge the processor on the MC server gets spun up to 100%.  Playing MP3 files that do not require conversion play fine.  Most of my library is in WMA Lossless and when I try to play them the problem occurs.  I am using the standard Roku SoundBridge DLNA server profile with "Convert Unsupported Formats" and "MP3 High Bandwidth Stream". 

The really odd thing is that this occurs when you first select the Album - before it even starts to stream the music to the Roku.  The Roku displays "Waiting for a Reply" for about 30 seconds before proceeding to list the songs on the album.  Select a song and it displays "Play songs starting with...?  Select it and it does play the songs so the on-the-fly conversion to an MP3 stream does work.  Looking at the Task Mgr you see all 4 cores running at 100% and 10 - 13 instances of conhost.exe and lame.exe running.  Power off the Roku and the instances of conhost.exe and lame.exe continue to run for several minutes.  Finally they die off and the processors spin down to normal levels.

Now, the really, really odd thing is that if you keep repeating this sequence with the same album it will work OK sometimes.  Select the album and it steps right on through to streaming the file to the Roku with the processor running at 1%.

I noticed that Lame was an old 32 bit version so I found a recent (3.98.4) 64 bit version and put it in the plugins folder.  MC used the newer 64 bit version without a problem (impressive) but that did not have an impact on the problem.

I am running MC 15.0.136 on a Windows 2008 R2 server (it is actually the latest Vail refresh).  I just rebuilt the server so this is a fairly clean installation. 

I look forward to eliminating the old Roku's somewhere along the way but in the meantime my wife wants to play her playlists.   Help!

Mediahome
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Playing music to Roku spins the processor at 100%
« Reply #1 on: October 21, 2010, 02:49:58 pm »

Any time you see a Lame.exe running, it means we're running the conversion to serve a file.

I wonder, could the Roku be opening all the MP3 files (which are really WMA Lossless files we have to convert) to read the tags?  We expect a device to only actually read a file one at a time, since all the tag information is provided in the DIDL package we deliver over DLNA.

The reason it "just works" sometimes is because the server engine has a caching layer for recently served files.
Logged
Matt Ashland, JRiver Media Center

Mediahome

  • Junior Woodchuck
  • **
  • Posts: 65
Re: Playing music to Roku spins the processor at 100%
« Reply #2 on: October 21, 2010, 08:41:48 pm »

I don't know what is going on here.  It used to work just fine.
Logged

Mediahome

  • Junior Woodchuck
  • **
  • Posts: 65
Re: Playing music to Roku spins the processor at 100%
« Reply #3 on: October 22, 2010, 12:31:35 am »

I rolled back to 15.0.113 and the problem went away.  Looks like something broke between builds 15.0.113 and 15.0.132.

I don't have any builds in between there so I am not able to narrow it down any futher.

Mediahome
Logged

ThoBar

  • Citizen of the Universe
  • *****
  • Posts: 992
  • Was confishy
Re: Playing music to Roku spins the processor at 100%
« Reply #4 on: October 22, 2010, 03:21:38 am »

I'm wondering if this is related to something that happened to me recently.

I was trying to use an iPhad with PlugPlayer to send media from an MC server to a MC renderer... I was wondering why everything was really starting to drag on the server, when I noticed I had 15 (estimate) lame instances running and, as each one would finish, another would fire up.

I think it was trying to convert a whole lotta files unnecessarily -- or I queued them incrrectly and got all files, instead of just 1 or two -- but it does sound very similar.

Unfortunately I cannot go back in versions to test at the moment.
Logged

Mediahome

  • Junior Woodchuck
  • **
  • Posts: 65
Re: Bug - Playing music to Roku spins the processor at 100%
« Reply #5 on: October 26, 2010, 12:31:15 am »

Has this been logged as a bug?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42442
  • Shoes gone again!
Re: Playing music to Roku spins the processor at 100%
« Reply #6 on: October 26, 2010, 10:43:08 am »

This will be fixed in build 139 and later.

Sorry for the trouble.
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up