Page 1 of 1

Embedded Player

PostPosted: Thu Sep 20, 2007 11:48 am
by pra98cam
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.

PostPosted: Thu Sep 20, 2007 12:55 pm
by sindre_mehus
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

PostPosted: Thu Sep 20, 2007 3:08 pm
by pra98cam
Yep, that sorted it.

Cheers Sindre.

Carl.

PostPosted: Wed Jan 16, 2008 6:10 pm
by braddyo
pra98cam wrote:Yep, that sorted it.

Cheers Sindre.

Carl.


Would you mind sharing what you did to resolve the issue? Thanks :)

PostPosted: Wed Jan 16, 2008 6:25 pm
by braddyo
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?

PostPosted: Wed Jan 16, 2008 6:47 pm
by braddyo
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.

PostPosted: Mon Jul 07, 2008 4:41 pm
by Concept211
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