cefn
YaBB Newbies
Offline
Posts: 4
Re: LibCV: NoDataSourceException
Reply #1 - Apr 4th , 2007, 4:21pm
I get the same error, using LibCV on Ubuntu Edgy. The camera runs fine in Xawtv, Camorama and even with PD. It's picked up in the JMF Registry fine and introspected (full output below). However, when trying to duplicate the approach described here... http://toxi.co.uk/p5/libcv/ ...I get the following error. java.lang.NoClassDefFoundError: javax/media/NoDataSourceException at Temporary_9274_3271.setup(Temporary_9274_3271.java:30) MY JMF REGISTRY SAYS >>>>>>>>>>>> Name = v4l:Logitech QuickCam chat:0 Locator = v4l://0 Output Formats----> 0. javax.media.format.RGBFormat RGB, 320x240, Length=230400, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=960 1. javax.media.format.RGBFormat RGB, 160x120, Length=38400, 16-bit, Masks=63488:2016:31, PixelStride=2, LineStride=320, LittleEndian 2. javax.media.format.RGBFormat RGB, 320x240, Length=153600, 16-bit, Masks=63488:2016:31, PixelStride=2, LineStride=640, LittleEndian 3. javax.media.format.RGBFormat RGB, 176x144, Length=50688, 16-bit, Masks=63488:2016:31, PixelStride=2, LineStride=352, LittleEndian 4. javax.media.format.RGBFormat RGB, 352x288, Length=202752, 16-bit, Masks=63488:2016:31, PixelStride=2, LineStride=704, LittleEndian 5. javax.media.format.RGBFormat RGB, 160x120, Length=57600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=480 6. javax.media.format.RGBFormat RGB, 176x144, Length=76032, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528 7. javax.media.format.RGBFormat RGB, 352x288, Length=304128, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1056 8. javax.media.format.RGBFormat RGB, 160x120, Length=76800, 32-bit, Masks=1:2:3, PixelStride=4, LineStride=640 9. javax.media.format.RGBFormat RGB, 320x240, Length=307200, 32-bit, Masks=1:2:3, PixelStride=4, LineStride=1280 10. javax.media.format.RGBFormat RGB, 176x144, Length=101376, 32-bit, Masks=1:2:3, PixelStride=4, LineStride=704 11. javax.media.format.RGBFormat RGB, 352x288, Length=405504, 32-bit, Masks=1:2:3, PixelStride=4, LineStride=1408 12. javax.media.format.YUVFormat YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 28800 DataType = class [B yuvType = 2 StrideY = 160 StrideUV = 80 OffsetY = 0 OffsetU = 19200 OffsetV = 24000 13. javax.media.format.YUVFormat YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 115200 DataType = class [B yuvType = 2 StrideY = 320 StrideUV = 160 OffsetY = 0 OffsetU = 76800 OffsetV = 96000 14. javax.media.format.YUVFormat YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680 15. javax.media.format.YUVFormat YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 152064 DataType = class [B yuvType = 2 StrideY = 352 StrideUV = 176 OffsetY = 0 OffsetU = 101376 OffsetV = 126720