Transcoding breaks Flash player's progress bar?

Need help? Post your questions here.

Moderator: moderators

Transcoding breaks Flash player's progress bar?

Postby ozmo » Tue Mar 10, 2009 6:48 pm

I enabled transcoding using Lame 3.98.2, and I noticed that transcoded files will cause the Flash-based player's progress bar and total time indicators to fail, roughly in proportion to how compressed the output is. (My Lame downsample command, by the way, is "lame -S -h -b %b %s", which is default i think)

For example, I have a song encoded at 192kbps that is 4:00 long. When I set the player to trancode to 128kbps, the total time shows 6:01, and the 'buffered' bar only loads to about 2/3rd of the way (which is about 4:00). When I set the player to transcode to 64kbps, the total time shows 12:03 and the 'buffered' bar loads to about 1/3rd of the way (~4:00). Untranscoded files do not show this behavior.

Fortunately, the player does not stall upon reaching the end of the buffer bar, and instead skips to the next track as expected.

I'm just wondering if this is a known issue, and if there is anything I can do to fix it. It works fine, but it's a little confusing to people when the buffer bar only loads up part-way, as it gives the impression that the connection stalled.

thanks.
ozmo
 
Posts: 1
Joined: Tue Mar 10, 2009 6:34 pm

Postby zeekay » Tue Apr 14, 2009 6:12 pm

I have encountered the same problem. This only occurs when downsampling from mp3, does not happen when transcoding, or downsampling to the same bitrate. Investigating it a bit, I realized the downsampling function is not working right. Subsonic always downsamples to 128kbps, no matter what you set max bitrate to under players. I also noticed that it will not transcode higher than 128kbps, but if you set max bitrate to 112/96/etc it will transcode lower. By default and at 128kbps or higher it will always transcode to 128kbps. So...I guess the transcoding and downsampling functions need a bit of reworking. I have had the flash player choke at 1 second left on a number of downsampled songs, I am guessing due to this bug.

Using 3.7b1 compiled from svn.
zeekay
 
Posts: 63
Joined: Sun Aug 03, 2008 6:33 pm

Postby zeekay » Wed May 06, 2009 2:49 pm

Tried lame 3.97 as well as a newer version, doesn't seem to be an issue with lame. Very annoying as it causes playback to stop in the middle of a playlist. Not sure if it's an issue with jw player or what.
zeekay
 
Posts: 63
Joined: Sun Aug 03, 2008 6:33 pm

Postby mixmaster » Thu May 07, 2009 1:08 am

Fixed in the next version I believe:

http://subsonic.svn.sourceforge.net/vie ... n/TODO.TXT

Bugfix: Web player now displays correct duration for transcoded tracks.
________
mixmaster
 
Posts: 121
Joined: Thu Nov 13, 2008 5:30 am


Return to Help

Who is online

Users browsing this forum: No registered users and 23 guests