Embedded Player

General discussions.

Moderator: moderators

Embedded Player

Postby pra98cam » Thu Sep 20, 2007 11:48 am

Hi Sindre,

Decided to test the flash player on my Wii to see if I can now use SubSonic to strea to it and it works well. However, the streamed music actually plays at double the regular speed. I thought it might be an issue with the Wii rather than SubSonic so I tried it out on my PC and laptop as well and it's doing the same thing. Listening to the stream with a regular player such as WinMedia or WinAmp is fine but the embedded player sounds like the chipmunks on acid...

Any suggestions / ideas?

Thanks,

Carl.
pra98cam
 
Posts: 19
Joined: Wed Oct 25, 2006 3:08 pm

Postby sindre_mehus » Thu Sep 20, 2007 12:55 pm

Hi Carl,

If I remember correctly I noticed the same thing when using LAME to resample mp3 to lower bandwidth. Sounds like a bug in the XSPF player. You might try to fiddle with the LAME resampling command (if that's what's causing problems on your end as well).

Thanks,
Sindre
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby pra98cam » Thu Sep 20, 2007 3:08 pm

Yep, that sorted it.

Cheers Sindre.

Carl.
pra98cam
 
Posts: 19
Joined: Wed Oct 25, 2006 3:08 pm

Postby braddyo » Wed Jan 16, 2008 6:10 pm

pra98cam wrote:Yep, that sorted it.

Cheers Sindre.

Carl.


Would you mind sharing what you did to resolve the issue? Thanks :)
User avatar
braddyo
 
Posts: 97
Joined: Mon Oct 29, 2007 10:27 pm
Location: UT

Postby braddyo » Wed Jan 16, 2008 6:25 pm

I may have solved it, but I don't know if it's a perfect solution because I don't know how this may affect system resources on my server.

It seems like the issue is a sampling problem - I don't know a whole lot about sampling and resampling, but obviously something is wrong with the flash player.

To fix this on my end I added the following argument to the Downlsample command option in the Advanced tab under Settings:

--resample 44.1

My guess is that it resamples everything to 44.1, which could hog a lot of resources. Ideally the web player would recognize the mp3's sample rate and play it accordingly but it doesn't seem to do that. Can't wait for your web player Sindre :)

Does anyone know whether this will use significantly more resources for transcoding than it would if it were just to transcode the bitrate and not resample the mp3?
User avatar
braddyo
 
Posts: 97
Joined: Mon Oct 29, 2007 10:27 pm
Location: UT

Postby braddyo » Wed Jan 16, 2008 6:47 pm

I may have found an even better solution.

Instead of using the --resample 44.1 command, I used the -k argument, so my Downsample command now looks like this:

lame -S -h -k -b %b %s -

whereas it used to be

lame -S -h --resample 44.1 -b %b %s -

Using the -k argument seems to be faster, with the web player loading tracks faster with less lag in between tracks.

Like I said before, I'm no expert. I just looked through the LAME commands at http://www.multimediasoft.com/asrecnet/ ... 000041.htm.

I'm transcoding to 96 Kbps. I have some books in mp3 that are encoded to 56 Kbps which sound chipmunk like regardless of which method I use.
User avatar
braddyo
 
Posts: 97
Joined: Mon Oct 29, 2007 10:27 pm
Location: UT

Postby Concept211 » Mon Jul 07, 2008 4:41 pm

Have you experienced this same issue but in reverse?

I'm currently listening to an MP3 that is originally encoded at 160 kbps but is beeing downsampled by LAME to 40 kbps. But instead of sounding like chipmunks, it is playing EXTREMELY slow.

I've already updated the command to "lame -S -h -k -b %b %s -". Is there any other command that you would recommend to eliminate this issue?

thanks
User avatar
Concept211
 
Posts: 77
Joined: Sat Jul 05, 2008 8:55 pm
Location: Orlando, FL


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests