Failed to instanciate the FrameGrabber

18 views
Skip to first unread message

Ronak Patel

unread,
Apr 23, 2014, 7:47:05 AM4/23/14
to v4...@googlegroups.com



Hello,
i am getting bellow error run in xubuntu with ordroidU-2

root@odroid:~/v4l4j-trunk# ant test-fps
Buildfile: /root/v4l4j-trunk/build.xml

test-fps:
     [java] This program will open /dev/video0, capture frames for 10 seconds and print the FPS
     [java] Failed to instanciate the FrameGrabber (/dev/video0)
     [java] ============================================
     [java] [ libvideo.c:68 ] Using libvideo version 0.9-libvideo_r507Querying general capabilities
     [java]
     [java]
     [java] Driver name: exynos4-fimc
     [java] [ v4l2-input.c:67 ] The device /dev/video0 seems to be a valid V4L2 device but without capture capability.
     [java] Device name: exynos4-fimc[ v4l2-input.c:68 ] Please let the author know about this error.
     [java]
     [java] bus_info:
     [java] [ v4l2-input.c:69 ] See the ISSUES section in the libvideo README file.
     [java] version: 3.8.13
     [java] [ v4l2-input.c:70 ] Listing the reported capabilities:Does NOT have capture capability
     [java]
     [java] Does NOT have output capability
     [java] Failed to get image format.: Invalid argument
     [java] Does NOT have overlay capability[ libvideo.c:98 ] libvideo was unable to detect the version of V4L used by device /dev/video0
     [java]
     [java] Does NOT have VBI capture capability
     [java] [ libvideo.c:99 ] If it is a valid V4L device file & not currently used by anyDoes NOT have VBI output capability
     [java]
     [java] Does NOT have SLICED VBI capture capability
     [java] [ libvideo.c:100 ] other applications, let the author know about this error.
     [java] Does NOT have SLICED VBI output capability[ libvideo.c:101 ] See the ISSUES section in the libvideo README file.
     [java]
     [java] Does NOT have RDS capability
     [java] au.edu.jcu.v4l4j.exceptions.V4L4JException: Error creating new VideoDevice objectDoes NOT have tuner capability
     [java]
     [java]     at au.edu.jcu.v4l4j.VideoDevice.doInit(Native Method)
     [java] Does NOT have audio capability
     [java] Does NOT have radio capability
     [java]     at au.edu.jcu.v4l4j.VideoDevice.<init>(Unknown Source)Does NOT have read/write capability
     [java]     at au.edu.jcu.v4l4j.examples.GetFrameRate.<init>(Unknown Source)
     [java] Does NOT have asyncIO capability
     [java]
     [java] Has streaming capability
     [java]     at au.edu.jcu.v4l4j.examples.GetFrameRate.main(Unknown Source)
     [java]
     [java] Exception in thread "main" java.lang.NullPointerException============================================
     [java]
     [java] Querying image format
     [java]     at au.edu.jcu.v4l4j.examples.GetFrameRate.<init>(Unknown Source)
     [java]     at au.edu.jcu.v4l4j.examples.GetFrameRate.main(Unknown Source)
     [java]
     [java]
     [java] ============================================
     [java] Querying current image format settings
     [java]
     [java]
     [java] ============================================
     [java] Querying supported frame sizes
     [java]
     [java] ============================================
     [java] Querying standard controls
     [java]
     [java] Control: id: 0x98090c - name: Whitebalance (software) - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x980910 - name: Gamma (software) - min: 500 -max: 3000 - step: 1 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x980914 - name: Horizontal Flip - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x980915 - name: Vertical Flip - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x98091f - name: Color Effects - min: 0 -max: 15 - step: 1 - type: 3(Menu) - flags: 0 ()
     [java] Control: id: 0x980922 - name: Rotate - min: 0 -max: 270 - step: 90 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x980929 - name: Alpha Component - min: 0 -max: 0 - step: 1 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x98092a - name: Color Effects, CbCr - min: 0 -max: 65535 - step: 1 - type: 1(Integer) - flags: 0 ()
     [java] ============================================
     [java] Querying private controls
     [java]
     [java] ============================================
     [java] Querying extended controls
     [java]
     [java] Control: id: 0x980001 - name: User Controls - min: 0 -max: 0 - step: 0 - type: 6(Class) - flags: 68 (ReadOnly write-only)
     [java] Control: id: 0x98090c - name: Whitebalance (software) - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x980910 - name: Gamma (software) - min: 500 -max: 3000 - step: 1 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x980914 - name: Horizontal Flip - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x980915 - name: Vertical Flip - min: 0 -max: 1 - step: 1 - type: 2(Boolean) - flags: 0 ()
     [java] Control: id: 0x98091f - name: Color Effects - min: 0 -max: 15 - step: 1 - type: 3(Menu) - flags: 0 ()
     [java] Control: id: 0x980922 - name: Rotate - min: 0 -max: 270 - step: 90 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x980929 - name: Alpha Component - min: 0 -max: 0 - step: 1 - type: 1(Integer) - flags: 0 ()
     [java] Control: id: 0x98092a - name: Color Effects, CbCr - min: 0 -max: 65535 - step: 1 - type: 1(Integer) - flags: 0 ()

BUILD FAILED
/root/v4l4j-trunk/build.xml:232: Java returned: 1

Total time: 2 seconds
Reply all
Reply to author
Forward
0 new messages