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

Error in audio track, prevents correct seek #212

Open
pelnarp opened this issue Oct 3, 2020 · 0 comments
Open

Error in audio track, prevents correct seek #212

pelnarp opened this issue Oct 3, 2020 · 0 comments

Comments

@pelnarp
Copy link

pelnarp commented Oct 3, 2020

Hi,
I have issues with playback of MP4 videos using MP4Box.js. This issue is likely not caused by the MP4Box.js library, but there are some issues in the MP4 atoms or how the data is stored in the videos we are trying to play. We record the videos in our application and can play them in desktop application, but we have issues when trying to play them in the browser. Our videos contain multiple video tracks, therefore we need to use MP4Box.js to segment them and send buffers into individual video elements.
The problem is caused only when there is audio track present in the MP4, same file without audio works OK.
I have the same MP4 files with the same video track and one of them with and on without audio track:

https://1drv.ms/v/s!Ag-RQ3R7NHbEgudl9DHc9XKApkewwg?e=OxJe7F
https://1drv.ms/v/s!Ag-RQ3R7NHbEgudm3-3uyktoe1JFZQ?e=NsLgkn

The issue causes problem with playback at the beginning of the file and also while seeking. When seeked the video with audio starts loading data from the beginning, while the other file correctly requests data from the middle of the file, using HTTP 206 partial content.
I would very much appreciate if there was an expert that could help us analyzing and fixing the issue. This can also be payed work. Please contact me if you can help.
Thanks!

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

No branches or pull requests

1 participant