Comments (9)
To elaborate, it doesn't cut the ending of the song, it 'skips' to the ending at 2:29, when the ending is really at 3:08.
from audio5js.
I'll try to look into this asap. Can you send a code example please so I can reproduce? Or do I just need to seek to 2:29 to reproduce?
from audio5js.
From my tests, you just need to seek to 2:29 to reproduce it. 2:20 will show the ending and finish at 2:29, seeking past 2:29 to 3:08 will fail.
Thank you.
from audio5js.
So i checked this out and indeed I can reproduce this in Flash player only (not just in FF, in Chrome as well). I checked with a different MP3 file and saw no problem which leads me to believe there might be a problem with this particular file's encoding. Do you have access to a different version of this song? Maybe try and re-encode it?
from audio5js.
there might be a problem with this particular file's encoding
I agree, it happens with a minority of files but many mp3s are in existance which have the same encoding issues. I have found multiple bands with the same problem, ffmpeg doesn't detect a problem with them but flash still has problems seeking them.
I've just checked the encoding type of a few of the files known to have the same issue and they are all using LAME encoder, but I also have mp3 files using the same encoding which work without any problems.
That zippyshare link I have posted above has a flash player which plays the mp3 files like normal. I don't know how to code actionscript but I presume one could decompile zippyshare's player to find out how they're getting it to work?
from audio5js.
I'm not an ActionScript expert myself but will try to take a look and see if I can resolve this
from audio5js.
Thank you, I too will try to figure it out.
from audio5js.
I've installed many open source players trying to find one which has fixed it, I have also tried to decompile zippyshare's player, but the decompilation was full of errors, and I couldn't find any open source players who have fixed it. Then I realized Zippyshare converts the mp3 files to mp4 mono/low bitrate for streaming, so that's why flash hasn't found any errors.
It's frustrating that the only way to fix this is to re-encode the files, I don't want to tamper them.
But I swear there must be a solution with Actionscript, if it can play the mp3 all the way through without any problems (but has problems with seek), then it shows that it can work with the ending, it just needs an alternative way to do the seeking. I'll continue to hunt for that solution
edit; I've given up, AS2 doesn't work as well as AS3.
from audio5js.
I'm sorry there's no apparent solution for this. Trying to find out if there are bugs in the AS3 code turned up empty. I guess there's simply a problem with the encoding which alas I can do nothing about.
from audio5js.
Related Issues (20)
- Setting volume on ready event causes TypeError HOT 6
- Error when on https HOT 4
- one instance has issues loading multiple tracks HOT 4
- Playback speed support HOT 3
- Instance attribute 'position' is a formatted string. HOT 1
- milli seconds for progress HOT 4
- npm does not install latest release HOT 6
- Button to control sound in webpage HOT 3
- Angular implementation
- Catch HTTP response errors when loading audio? HOT 2
- Replay issue in IE8 HOT 1
- trigger 'canplaythrough' and 'stalled' HOT 1
- No Audio Android Chrome, But Full Audio Android Firefox?? HOT 13
- Uncaught (in promise) DOMException: play() can only be initiated by a user gesture. HOT 4
- fail to get audio duration directly HOT 6
- failed to pause playing immediately after this.play() HOT 3
- can laod Multiple songs at one time HOT 1
- any method to clear the event queue of specific event? HOT 4
- Uncaught (in promise) DOMException: play() failed because ... HOT 11
- Can't get info when loaded or play
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audio5js.