video and audio lagging

27 views
Skip to first unread message

Anton Vasiljev

unread,
Apr 24, 2014, 11:36:34 AM4/24/14
to apps-...@webmproject.org
Hi all, I use libvpx and vorbis libraries to make webm stream from android camera and mic.
I enable neon support when building libs for 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.
My phone is moto g.
streamable.webm
Reply all
Reply to author
Forward
0 new messages