You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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. :)
The text was updated successfully, but these errors were encountered:
bitmap2video/library/src/main/java/com/homesoft/encoder/Muxer.kt
Line 82 in f51c404
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. :)
The text was updated successfully, but these errors were encountered: