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

Buffer Underrun #8

Open
dburckh opened this issue Jul 20, 2020 · 2 comments
Open

Buffer Underrun #8

dburckh opened this issue Jul 20, 2020 · 2 comments

Comments

@dburckh
Copy link
Collaborator

dburckh commented Jul 20, 2020

So, I'm not sure how this is working. Generally you want to interleave audio and video together. It looks like you are dumping all the video and then dumping all the audio. So, you'll end up with a bunch of video frames, followed by a bunch of audio frames. This may work for MP4 because it bunches things up in the file. My assumption is at some point you'll underrun the player buffer and lose audio. It probably won't stream very well. I have 3 theories, 1) The files are so small it doesn't matter. 2) Android is covering you sins. 3) I'm not correct in how this works. :)

@israel-fl
Copy link
Owner

israel-fl commented Aug 11, 2020

Android is covering your sins

All praise be to thee Android gods 🙏

But in all seriousness, I'll read up more on how to mux both frames together.

@kochchy
Copy link

kochchy commented Sep 11, 2020

@israel-fl it even crashes when no audio is added

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

3 participants