dinhminhquoi / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Strange video and audio lagging #768

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi all, I use libvpx and vorbis libraries to make webm stream from android.
My LibVpxEncConfig config:

vpxConfig = new LibVpxEncConfig(640, 480);
vpxConfig.setTimebase(1, 1000000000);
vpxConfig.setThreads(1);
vpxConfig.setRCTargetBitrate(2000);
vpxConfig.setRCMinQuantizer(10);
vpxConfig.setRCMaxQuantizer(30);
vpxConfig.setKFMinDist(0);
vpxConfig.setKFMaxDist(50);
vpxConfig.setRCUndershootPct(95);
vpxConfig.setRCBufInitialSz(400);
vpxConfig.setRCBufOptimalSz(500);
vpxConfig.setRCBufSz(600);

I`m set cpu used to -12 and framerate to 10.
Record audio from mic with sample rate 44100 and 16 bps.
In attached file you will see result. I`m don`t undestand why this lagging exist

Original issue reported on code.google.com by native1...@gmail.com on 24 Apr 2014 at 9:24

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry. Now i think that is not a place for my question. Create question at
https://groups.google.com/a/webmproject.org/forum/#!topic/apps-devel/06gqrmrO0tQ
. Unfortunately cannot delete this issue.

Original comment by native1...@gmail.com on 24 Apr 2014 at 3:37

GoogleCodeExporter commented 8 years ago
Closing in preference to mailing list post at 
https://groups.google.com/a/webmproject.org/forum/#!topic/apps-devel/06gqrmrO0tQ

Original comment by louquil...@google.com on 24 Apr 2014 at 6:03