Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox Doesn't Like Our ESDS #3

Closed
gliese1337 opened this issue Jun 23, 2015 · 0 comments
Closed

Firefox Doesn't Like Our ESDS #3

gliese1337 opened this issue Jun 23, 2015 · 0 comments

Comments

@gliese1337
Copy link
Owner

The ESDS box, part of the metadata for audio tracks, is generated at

function esds(trkdata){

I attempted to write this straight from the MPEG specs, but it is entirely possible that I screwed something up. Chrome and Windows Media Player play the generated files just fine, but Firefox chokes on them and claims the files are corrupted. I know it's the ESDS box that is the problem because copying an ESDS block (and updating all of the appropriate box size fields) from an equivalent MP4 file generated by https://github.com/RReverser/mpegts or ffmpeg for the same .ts input and substituting it into my generated MP4 files in a hex editor produces files that Firefox is perfectly happy to play.

So, not sure if it's a problem with my ESDS box, which other players are somehow capable of ignoring, or a problem with Firefox. Probably the former, but either way I have no clue how to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant