質問編集履歴

2

追記

2019/10/01 03:31

投稿

apeirogon0813
apeirogon0813

スコア117

test CHANGED
File without changes
test CHANGED
@@ -28,76 +28,60 @@
28
28
 
29
29
  ```ここに言語を入力
30
30
 
31
- $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
31
+ $ LD_LIBRARY_PATH=/opt/mjpg-streamer/ /opt/mjpg-streamer/mjpg_streamer -i "input_raspicam.so -q 50 -x 640 -y 480" -o "output_http.so -w /opt/mjpg-streamer/www"
32
32
 
33
33
  MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
34
34
 
35
- raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
35
+ i: fps.............: 5
36
36
 
37
- ---------------------------------------------------------------
37
+ i: resolution........: 640 x 480
38
38
 
39
- Help for input plugin..: raspicam input plugin
40
-
41
- ---------------------------------------------------------------
42
-
43
- The following parameters can be passed to this plugin:
39
+ i: camera parameters..............:
44
40
 
45
41
 
46
42
 
47
- [-fps | --framerate]...: set video framerate, default 5 frame/sec
43
+ Sharpness 0, Contrast 0, Brightness 50
48
44
 
49
- [-x | --width ]........: width of frame capture, default 640
45
+ Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
50
46
 
51
- [-y | --height]........: height of frame capture, default 480
47
+ Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
52
48
 
53
- [-quality].............: set JPEG quality 0-100, default 85
49
+ Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
54
50
 
55
- [-usestills]...........: uses stills mode instead of video mode
51
+ Rotation 0, hflip No, vflip No
56
52
 
57
- [-preview].............: Enable full screen preview
53
+ ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
58
54
 
59
- [-timestamp]...........: Get timestamp for each frame
55
+ o: www-folder-path......: /opt/mjpg-streamer/www/
60
56
 
61
-
57
+ o: HTTP TCP port........: 8080
62
58
 
63
- -sh : Set image sharpness (-100 to 100)
59
+ o: HTTP Listen Address..: (null)
64
60
 
65
- -co : Set image contrast (-100 to 100)
61
+ o: username:password....: disabled
66
62
 
67
- -br : Set image brightness (0 to 100)
63
+ o: commands.............: enabled
68
64
 
69
- -sa : Set image saturation (-100 to 100)
65
+ i: Starting Camera
70
66
 
71
- -ISO : Set capture ISO
67
+ mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
72
68
 
73
- -vs : Turn on video stablisation
69
+ camera couldn't be enabled
74
70
 
75
- -ev : Set EV compensation
76
71
 
77
- -ex : Set exposure mode (see raspistill notes)
78
-
79
- -awb : Set AWB mode (see raspistill notes)
80
-
81
- -ifx : Set image effect (see raspistill notes)
82
-
83
- -cfx : Set colour effect (U:V)
84
-
85
- -mm : Set metering mode (see raspistill notes)
86
-
87
- -rot : Set image rotation (0-359)
88
-
89
- -stats : Compute image stats for each picture (reduces noise for -usestills)
90
-
91
- -drc : Dynamic range compensation level (see raspistill notes)
92
-
93
- -hf : Set horizontal flip
94
-
95
- -vf : Set vertical flip
96
-
97
- ---------------------------------------------------------------
98
-
99
- input_init() return value signals to exit
100
72
 
101
73
 
102
74
 
103
75
  ```
76
+
77
+ となり、カメラはenableになっているのにかかわらず、このようなエラーが出ます。
78
+
79
+ 以下も一応実行してみましたが、正常でした。
80
+
81
+ ```ここに言語を入力
82
+
83
+ $ vcgencmd get_camera
84
+
85
+ supported=1 detected=1
86
+
87
+ ```

1

追記

2019/10/01 03:31

投稿

apeirogon0813
apeirogon0813

スコア117

test CHANGED
File without changes
test CHANGED
@@ -21,3 +21,83 @@
21
21
  とエラーが出てカメラが表示されません.
22
22
 
23
23
  ご教示願います.
24
+
25
+
26
+
27
+ 追記;
28
+
29
+ ```ここに言語を入力
30
+
31
+ $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
32
+
33
+ MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
34
+
35
+ raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
36
+
37
+ ---------------------------------------------------------------
38
+
39
+ Help for input plugin..: raspicam input plugin
40
+
41
+ ---------------------------------------------------------------
42
+
43
+ The following parameters can be passed to this plugin:
44
+
45
+
46
+
47
+ [-fps | --framerate]...: set video framerate, default 5 frame/sec
48
+
49
+ [-x | --width ]........: width of frame capture, default 640
50
+
51
+ [-y | --height]........: height of frame capture, default 480
52
+
53
+ [-quality].............: set JPEG quality 0-100, default 85
54
+
55
+ [-usestills]...........: uses stills mode instead of video mode
56
+
57
+ [-preview].............: Enable full screen preview
58
+
59
+ [-timestamp]...........: Get timestamp for each frame
60
+
61
+
62
+
63
+ -sh : Set image sharpness (-100 to 100)
64
+
65
+ -co : Set image contrast (-100 to 100)
66
+
67
+ -br : Set image brightness (0 to 100)
68
+
69
+ -sa : Set image saturation (-100 to 100)
70
+
71
+ -ISO : Set capture ISO
72
+
73
+ -vs : Turn on video stablisation
74
+
75
+ -ev : Set EV compensation
76
+
77
+ -ex : Set exposure mode (see raspistill notes)
78
+
79
+ -awb : Set AWB mode (see raspistill notes)
80
+
81
+ -ifx : Set image effect (see raspistill notes)
82
+
83
+ -cfx : Set colour effect (U:V)
84
+
85
+ -mm : Set metering mode (see raspistill notes)
86
+
87
+ -rot : Set image rotation (0-359)
88
+
89
+ -stats : Compute image stats for each picture (reduces noise for -usestills)
90
+
91
+ -drc : Dynamic range compensation level (see raspistill notes)
92
+
93
+ -hf : Set horizontal flip
94
+
95
+ -vf : Set vertical flip
96
+
97
+ ---------------------------------------------------------------
98
+
99
+ input_init() return value signals to exit
100
+
101
+
102
+
103
+ ```