huanganhen / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

audio and video do not synchronization #405

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. get video frame from onPreviewFrame()  and put equeue
2. in AsyncTask get from equeue and record
3.

What is the expected output? What do you see instead?
video and audio do not synchronization   ,should synchronization

What version of the product are you using? On what operating system?
0.7   Android

Please provide any additional information below.
the audio record thread stopped but the video record task do not stop and still 
record video frame ,I do not know why , please help me ,thanks    ....

Original issue reported on code.google.com by bladepoi...@gmail.com on 8 Jan 2014 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
Isn't this the same as issue #404? Yes, it seems like we need to add some logic 
to synchronize audio and video after a seek.

Original comment by samuel.a...@gmail.com on 8 Jan 2014 at 2:38

GoogleCodeExporter commented 9 years ago
thanks,   but  how to do?    I use  h264 codec  ,if in  onPreview
callback method  will lose frames!

Original comment by bladepoi...@gmail.com on 8 Jan 2014 at 2:47

GoogleCodeExporter commented 9 years ago
if  in  onPreview  callback method  record frame  will lose some frames

Original comment by bladepoi...@gmail.com on 8 Jan 2014 at 2:49

GoogleCodeExporter commented 9 years ago

Original comment by samuel.a...@gmail.com on 9 Jan 2014 at 2:07