-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Audio synch issue #870
Comments
Sounds like a good fix. Could you send a pull request?
|
Sure. Seems like ready |
Fix included in newly released version 1.4. Thanks again for the contribution! |
Thank you, too. |
Hi @saudet , I wanted to upgrade javacv version from 1.4.4 to 1.5.2. I made some regression tests including this one. Could you, please, advice how to solve it? |
The "old" behavior should be the same, yes. If you have a test case that fails, it would help if you could add it as unit test and send a pull request, but at least please open a new issue and provide more details. Thanks! |
Hi,
There is one issue according to audio/video sync.
I tried to extract some part of video, but the sound comes earlier than video. You can reproduce it using this code:
Playing with startTimeMicros you can find positions when audio and video are synchronized.
I tried to set timestamps on recorder using
FFmpegFrameRecorder.setTimestamp()
but it didn't help. Then, what I saw that there is an invocation of the methodgrabFrame(false, true, false, false)
in the grabberFFmpegFrameGrabber.setTimestamp()
. It means doAudio = false. I used inheritance and overrided the methodNow it fixed the problem, I tested it on more than 100 time ranges.
Could you explain is it a bug or I forgot to configure something?
The text was updated successfully, but these errors were encountered: