You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue trying to get this working on a Raspberry Pi 4 running:
Raspbian GNU/Linux 10 (buster).
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Raspbian-2)
OpenJDK Server VM (build 10.0.2+13-Raspbian-2, mixed mode)
Here are the issues with start-armhf.sh
pi@workbenchraspberrypi:~/RivetCam $ bash start-armhf.sh
Error loading properties: setup.properties (No such file or directory)
Opening video device: /dev/video0
[ libvideo.c:68 ] Using libvideo version 0.9-UNKNOWN
[ v4l2-query.c:49 ] Error looking up V4L2 format 34363248. Please submit
a bug report on the v4l4j mailing list.[ v4l2-query.c:484 ] libvideo has skipped an unsupported image format:
[ v4l2-query.c:485 ] H.264 (0x34363248)
[ v4l2-query.c:486 ] Please let the author know about this error.
[ v4l2-query.c:487 ] See the ISSUES section in the libvideo README file.
[ v4l2-query.c:49 ] Error looking up V4L2 format 34325852. Please submit
a bug report on the v4l4j mailing list.[ v4l2-query.c:484 ] libvideo has skipped an unsupported image format:
[ v4l2-query.c:485 ] 32-bit XBGR 8-8-8-8 (0x34325852)
[ v4l2-query.c:486 ] Please let the author know about this error.
[ v4l2-query.c:487 ] See the ISSUES section in the libvideo README file.
Video device name: mmal service 16.1
munmap_chunk(): invalid pointer
start-armhf.sh: line 6: 14557 Aborted java -jar RivetCam.jar $@
And here is the --info
pi@workbenchraspberrypi:~/RivetCam $ ./start-x86-64.sh --info /dev/video0
OpenJDK Server VM warning: You have loaded library /home/pi/RivetCam/x86-64/libv4l4j.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
Cant load v4l4j JNI library
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pi/RivetCam/x86-64/libv4l4j.so: /home/pi/RivetCam/x86-64/libv4l4j.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2424)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2481)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2678)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2643)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:876)
at java.base/java.lang.System.loadLibrary(System.java:1875)
at au.edu.jcu.v4l4j.VideoDevice.(Unknown Source)
at com.prampec.rivetcam.CameraTools.dumpDeviceInfo(CameraTools.java:98)
at com.prampec.rivetcam.MainFrame.main(MainFrame.java:46)
I tested this to see if I could get a video recorded from the camera and this did work:
ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 test.avi
Thanks!
The text was updated successfully, but these errors were encountered:
start-x86-64.sh will not work on RPi. start-armhf.sh is the right way there, as you have tried it first.
The error message shows: libvideo has skipped an unsupported image format: H.264
I have searched for the internet to find a solution for that, but had no luck. It might can happen, that v4l4j or v4l2 does not support H.264 at all?
Issue trying to get this working on a Raspberry Pi 4 running:
Raspbian GNU/Linux 10 (buster).
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Raspbian-2)
OpenJDK Server VM (build 10.0.2+13-Raspbian-2, mixed mode)
Here are the issues with start-armhf.sh
pi@workbenchraspberrypi:~/RivetCam $ bash start-armhf.sh
Error loading properties: setup.properties (No such file or directory)
Opening video device: /dev/video0
[ libvideo.c:68 ] Using libvideo version 0.9-UNKNOWN
[ v4l2-query.c:49 ] Error looking up V4L2 format 34363248. Please submit
a bug report on the v4l4j mailing list.[ v4l2-query.c:484 ] libvideo has skipped an unsupported image format:
[ v4l2-query.c:485 ] H.264 (0x34363248)
[ v4l2-query.c:486 ] Please let the author know about this error.
[ v4l2-query.c:487 ] See the ISSUES section in the libvideo README file.
[ v4l2-query.c:49 ] Error looking up V4L2 format 34325852. Please submit
a bug report on the v4l4j mailing list.[ v4l2-query.c:484 ] libvideo has skipped an unsupported image format:
[ v4l2-query.c:485 ] 32-bit XBGR 8-8-8-8 (0x34325852)
[ v4l2-query.c:486 ] Please let the author know about this error.
[ v4l2-query.c:487 ] See the ISSUES section in the libvideo README file.
Video device name: mmal service 16.1
munmap_chunk(): invalid pointer
start-armhf.sh: line 6: 14557 Aborted java -jar RivetCam.jar $@
And here is the --info
pi@workbenchraspberrypi:~/RivetCam $ ./start-x86-64.sh --info /dev/video0
OpenJDK Server VM warning: You have loaded library /home/pi/RivetCam/x86-64/libv4l4j.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
Cant load v4l4j JNI library
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pi/RivetCam/x86-64/libv4l4j.so: /home/pi/RivetCam/x86-64/libv4l4j.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2424)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2481)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2678)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2643)
at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:876)
at java.base/java.lang.System.loadLibrary(System.java:1875)
at au.edu.jcu.v4l4j.VideoDevice.(Unknown Source)
at com.prampec.rivetcam.CameraTools.dumpDeviceInfo(CameraTools.java:98)
at com.prampec.rivetcam.MainFrame.main(MainFrame.java:46)
I tested this to see if I could get a video recorded from the camera and this did work:
ffmpeg -f v4l2 -s 320x240 -r 25 -i /dev/video0 test.avi
Thanks!
The text was updated successfully, but these errors were encountered: