|
I try to connect the csi camera gc2035 on OPi2 Raspbian orangepi 3.4.39
- modprobe gc2035 vfe_v4l2
- ls /dev/vide0
- /etc/init.d/motion start
Copy code
We enter an http://IP_orange:8081 into the browser and we see the stream picture.
If in a command line to write:
- mplayer -vo png -frames 3 tv://
Copy code
The *.png files aren't created, and mplayer writes:
- MPlayer svn r34540 (Raspbian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
- mplayer: could not connect to socket
- mplayer: No such file or directory
- Failed to open LIRC support. You will not be able to use your remote control.
- Playing tv://.
- TV file format detected.
- Selected driver: v4l2
- name: Video 4 Linux 2 input
- author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
- comment: first try, more to come ;-)
- v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
- Selected device: sunxi-vfe
- Capabilities: video capture read/write streaming
- supported norms:
- inputs: 0 = ;
- Current input: -1
- Current format: unknown (0x2006)
- v4l2: ioctl set format failed: Operation not permitted
- v4l2: ioctl set mute failed: Inappropriate ioctl for device
- v4l2: 0 frames successfully processed, 0 frames dropped.
- Exiting... (End of file)
Copy code
I tried this command for USB webcam - works, creates *.png
You can prompt how to force to work as gc2035 with mplayer? |
|