Nachtrag:
Beim Tracen des doorpi steht u.a. das hier navh dem Auslösen des Tasters:
2022-01-12 19:00:07,322 [INFO] [doorpi.sipphone.from_linphone] Call [0xb2329308]: disabling video in our call params because the remote doesn't want it.
liegt das nun an den Clients oder geht Video-Call mit der FritzBox als SIP-Server nicht oder was auch immer.
In der doorpi.ini steht ja:
video_device = V4L2: /dev/video0
sudo modprobe bcm2835-v4l2 weist keinen Fehler auf,
Im Trace.log von doorpi steht:
2022-01-12 18:59:39,403 [INFO] [doorpi.sipphone.from_linphone] Webcam V4L2: /dev/video0 added
2022-01-12 18:59:39,404 [INFO] [doorpi.sipphone.from_linphone] Webcam V4L2: /dev/video1 added,
...
2022-01-12 18:59:39,457 [INFO] [doorpi.sipphone.from_linphone] found 3 possible videodevices:
2022-01-12 18:59:39,457 [DEBUG] [doorpi.sipphone.from_linphone] | name
2022-01-12 18:59:39,458 [DEBUG] [doorpi.sipphone.from_linphone] ------------------------------------
2022-01-12 18:59:39,458 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] >>> pylinphone_Core_get_video_devices(0xb3fcb7d0 [0x206e948])
2022-01-12 18:59:39,458 [DEBUG] [doorpi.sipphone.from_linphone] [PYLINPHONE] <<< pylinphone_Core_get_video_devices -> 0xb3feb968
2022-01-12 18:59:39,458 [DEBUG] [doorpi.sipphone.from_linphone] | V4L2: /dev/video0
2022-01-12 18:59:39,458 [DEBUG] [doorpi.sipphone.from_linphone] | V4L2: /dev/video1
...
2022-01-12 19:00:00,212 [INFO] [doorpi.sipphone.from_linphone] No valid video stream defined.
Streamen mit mjpg_streamer (wenn aktiv) wie auch mit motion /wenn aktiv) auf url im Browser odewr in VLC geht auch mit der USB-Kamera einwandfrei.
Aber wenn ich z.B das hier eingebe
dd if=/dev/video0 of=snapshot.jpeg bs=11M count=1<br>
bekomme ich als Fehlerergebnis<br>
dd: Fehler beim Lesen von '/dev/video0': Das Argument ist ungültig
0+0 Datensätze ein
0+0 Datensätze aus
0 Bytes kopiert, 0,00162471 s, 0,0 kB/s
ls /dev/video0
liefert
/dev/video0
damit
sudo /usr/bin/ffmpeg -f video4linux2 -s 640x480 -i /dev/video0 -vframes 1800 -vcodec mpeg4 -y /dev/shm/`date +%y-%m-%d-%H-%M-%S`.mp4
erzeuge ich erfolgriech ein mp4-Video-File das VLV prima wiedergibt.
fswebcam -d /dev/video0 --list-controls
liefert >>
--- Opening /dev/video0...
Trying source module v4l2...
/dev/video0 opened.
No input was specified, using the first.
Available Controls Current Value Range
------------------ ------------- -----
Brightness 0 (50%) -64 - 64
Contrast 32 (50%) 0 - 64
Saturation 64 (50%) 0 - 128
Hue 0 (50%) -40 - 40
White Balance Temperature, Auto True True | False
Gamma 100 (6%) 72 - 500
Gain 0 (0%) 0 - 100
Power Line Frequency 50 Hz Disabled | 50 Hz | 60 Hz
White Balance Temperature 4600 (48%) 2800 - 6500
Sharpness 3 0 - 6
Backlight Compensation 1 0 - 2
Exposure, Auto Aperture Priority Mode Manual Mode | Aperture Priority Mode
Exposure (Absolute) 157 (3%) 1 - 5000
Exposure, Auto Priority True True | False
Adjusting resolution from 384x288 to 640x480.
--- Capturing frame...
Captured frame in 0.00 seconds.
--- Processing captured image...
There are unsaved changes to the image.
Kapier ich nicht. Ist /dev/video0 nun über V4L2 in DoorPi über Linphone verwendbar oder nicht???
Ich brauche bitte einen Schubs in die richtige Richtung.