Code Monkey home page Code Monkey logo

Comments (9)

begunitall avatar begunitall commented on June 17, 2024

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.

zohararad avatar zohararad commented on June 17, 2024

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.

begunitall avatar begunitall commented on June 17, 2024

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.

zohararad avatar zohararad commented on June 17, 2024

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.

begunitall avatar begunitall commented on June 17, 2024

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.

zohararad avatar zohararad commented on June 17, 2024

I'm not an ActionScript expert myself but will try to take a look and see if I can resolve this

from audio5js.

begunitall avatar begunitall commented on June 17, 2024

Thank you, I too will try to figure it out.

from audio5js.

begunitall avatar begunitall commented on June 17, 2024

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.

zohararad avatar zohararad commented on June 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.