# Unable to use Video Library in Android

**URL:** <https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277>\
**Category:** Processing for Android\
**Created:** [December 23, 2022, 3:55pm UTC](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277 "2022-12-23T15:55:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jafal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jafal/32/19112_2.png) [@jafal](https://discourse.processing.org/u/jafal)\
**Post date:** [December 23, 2022, 5:25pm UTC](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277/2 "2022-12-23T17:25:05Z")

</div>

Hi

Informations and reference

> [@Native camera android in processing android](https://discourse.processing.org/t/native-camera-android-in-processing-android/26858/34):
>
> i am using a plain sketch not even showing preview image. import ketai.camera.\*; KetaiCamera cam; int time; void setup() { orientation(LANDSCAPE); imageMode(CENTER); cam = new KetaiCamera(this, 176, 144, 30); time = millis(); } void draw() { //image(cam, width/2, height/2); } void onCameraPreviewEvent() { println(millis()-time); time=millis(); cam.read(); } // start/stop camera preview by tapping the screen void mousePressed() { if (cam.isStarted()) { cam.stop(); }…

---

_[View the full topic](https://discourse.processing.org/t/unable-to-use-video-library-in-android/40277)._
