We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I find that media stamp time is not correct when i play it using other player.then I check code
// adjust the ByteBuffer values to match BufferInfo (not needed?) encodedData.position(mBufferInfo.offset); encodedData.limit(mBufferInfo.offset + mBufferInfo.size); mMuxer.writeSampleData(mTrackIndex, encodedData, mBufferInfo); Log.d(TAG, "sent " + mBufferInfo.size + " bytes to muxer");
found mBufferInfo.presentationTimeUs = 710920,not correct, at last, I try to modify presentationTimeUs like this
// adjust the ByteBuffer values to match BufferInfo (not needed?) encodedData.position(mBufferInfo.offset); encodedData.limit(mBufferInfo.offset + mBufferInfo.size); Log.e("TAG",startRecordTime+"S"); mBufferInfo.presentationTimeUs = startRecordTime / 1000; startRecordTime += 1000 / FRAME_RATE; mMuxer.writeSampleData(mTrackIndex, encodedData, mBufferInfo); Log.d(TAG, "sent " + mBufferInfo.size + " bytes to muxer");
It does not work. please help me to solve issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I find that media stamp time is not correct when i play it using other player.then I check code
found mBufferInfo.presentationTimeUs = 710920,not correct,
at last, I try to modify presentationTimeUs like this
It does not work.
please help me to solve issue.
The text was updated successfully, but these errors were encountered: