artclarke / humble-video

Humble Video: Demuxing, Decoding, Filtering, Encoding and Muxing of 100's of video and audio formats and Codecs from the JVM
GNU Affero General Public License v3.0
557 stars 115 forks source link

Long Waiting time while using the demo "RecordAndEncodeVideo.java" #115

Open gabrielofnthu opened 6 years ago

gabrielofnthu commented 6 years ago

Hi,

I modified the "RecordAndEncodeVideo.java" and used it to record my webcam images, but I found that before starting recording, it took a while to let itself ready to start recording. I took a look into the native C code, it seems that the initialization of native library, i guess the "Global.init()" might related to this. Is there any suggestion of this issue, thanks :)

WinterAlexander commented 6 years ago

I experience the same thing. It's about 10 seconds for me on the first call of any lib.

MartensCedric commented 6 years ago

Hi, I have the same problem. Anyone found workarounds?