-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Labels
Description
Trying to capture from a Huawei Mediatab M2 (10 inch tablet) yield this exception:
17:07:51 [AWT-EventQueue-0] ERROR ScreenCaptureRunnable - IO exception during writing video frame happened
com.github.xsavikx.androidscreencast.exception.IORuntimeException: javax.imageio.IIOException: Bogus input colorspace
at com.github.xsavikx.androidscreencast.api.recording.QuickTimeOutputStream.writeFrame(QuickTimeOutputStream.java:1428)
at com.github.xsavikx.androidscreencast.api.injector.ScreenCaptureRunnable.lambda$display$1(ScreenCaptureRunnable.java:103)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: javax.imageio.IIOException: Bogus input colorspace
at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeImage(Native Method)
at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.writeOnThread(JPEGImageWriter.java:1007)
at java.desktop/com.sun.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:371)
at com.github.xsavikx.androidscreencast.api.recording.QuickTimeOutputStream.writeFrame(QuickTimeOutputStream.java:1409)
... 14 common frames omitted