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
Missing frames in TS causes hls.js to create unnecessary gaps in buffered MP4 #409
Comments
In inspecting an mp4 file that ffmpeg stitched together from the same TS files, I notice that ffmpeg inserts the |
I had some success by detecting missing audio frames in the TSDemuxer and pushing duplicate or "silent" frames into the gaps. However, this doesn't feel right to me -- I would expect the mp4 container to be able to accurately represent individual frame timing (including gaps), but I don't know enough about the mp4 format to know if this is the case. |
regarding missing audio frames, the only solution seems to be the injection of silent frames as you do in #412 |
closing this ticket, remaining to be tracked under #412 |
We know we have some missing frames inside some TS files, but the PTS/DTS values contained within should allow the media source to play through consecutive segments at the segment boundaries without skipping.
Sample Problem M3U8:
M3U8 Link | Demo Link
Symptoms:
What we suspect is:
The text was updated successfully, but these errors were encountered: