質問編集履歴

3

追記

2019/10/01 03:33

投稿

apeirogon0813
apeirogon0813

スコア117

test CHANGED
File without changes
test CHANGED
@@ -56,80 +56,58 @@
56
56
 
57
57
  ```ここに言語を入力
58
58
 
59
- $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
59
+ $ LD_LIBRARY_PATH=/opt/mjpg-streamer/ /opt/mjpg-streamer/mjpg_streamer -i "input_raspicam.so -fps 15 -q 50 -x 640 -y 480" -o "output_http.so -w /opt/mjpg-streamer/www"
60
60
 
61
61
  MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
62
62
 
63
- raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
63
+ i: fps.............: 15
64
64
 
65
- ---------------------------------------------------------------
65
+ i: resolution........: 640 x 480
66
66
 
67
- Help for input plugin..: raspicam input plugin
68
-
69
- ---------------------------------------------------------------
70
-
71
- The following parameters can be passed to this plugin:
67
+ i: camera parameters..............:
72
68
 
73
69
 
74
70
 
75
- [-fps | --framerate]...: set video framerate, default 5 frame/sec
71
+ Sharpness 0, Contrast 0, Brightness 50
76
72
 
77
- [-x | --width ]........: width of frame capture, default 640
73
+ Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
78
74
 
79
- [-y | --height]........: height of frame capture, default 480
75
+ Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
80
76
 
81
- [-quality].............: set JPEG quality 0-100, default 85
77
+ Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
82
78
 
83
- [-usestills]...........: uses stills mode instead of video mode
79
+ Rotation 0, hflip No, vflip No
84
80
 
85
- [-preview].............: Enable full screen preview
81
+ ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
86
82
 
87
- [-timestamp]...........: Get timestamp for each frame
83
+ o: www-folder-path......: /opt/mjpg-streamer/www/
88
84
 
89
-
85
+ o: HTTP TCP port........: 8080
90
86
 
91
- -sh : Set image sharpness (-100 to 100)
87
+ o: HTTP Listen Address..: (null)
92
88
 
93
- -co : Set image contrast (-100 to 100)
89
+ o: username:password....: disabled
94
90
 
95
- -br : Set image brightness (0 to 100)
91
+ o: commands.............: enabled
96
92
 
97
- -sa : Set image saturation (-100 to 100)
93
+ i: Starting Camera
98
94
 
99
- -ISO : Set capture ISO
95
+ mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
100
96
 
101
- -vs : Turn on video stablisation
97
+ camera couldn't be enabled
102
98
 
103
- -ev : Set EV compensation
104
99
 
105
- -ex : Set exposure mode (see raspistill notes)
106
100
 
107
- -awb : Set AWB mode (see raspistill notes)
108
101
 
109
- -ifx : Set image effect (see raspistill notes)
110
102
 
111
- -cfx : Set colour effect (U:V)
103
+ $ vcgencmd get_camera
112
104
 
113
- -mm : Set metering mode (see raspistill notes)
114
-
115
- -rot : Set image rotation (0-359)
116
-
117
- -stats : Compute image stats for each picture (reduces noise for -usestills)
118
-
119
- -drc : Dynamic range compensation level (see raspistill notes)
120
-
121
- -hf : Set horizontal flip
122
-
123
- -vf : Set vertical flip
105
+ supported=1 detected=1
124
-
125
- ---------------------------------------------------------------
126
-
127
- input_init() return value signals to exit
128
106
 
129
107
 
130
108
 
131
109
  ```
132
110
 
133
- と実行し直しても、helpが出カメが起動しせん
111
+ と実行し直しらカメラらがenableになっいるにかかわらず、エーになり
134
112
 
135
113
  ご教示願います。

2

追記

2019/10/01 03:33

投稿

apeirogon0813
apeirogon0813

スコア117

test CHANGED
File without changes
test CHANGED
@@ -43,3 +43,93 @@
43
43
  以下のように実行するとエラーになり、カメラが起動しません。
44
44
 
45
45
  ご教示願います。
46
+
47
+
48
+
49
+
50
+
51
+ 追記:実行オプションで./inputをタブで候補をみると
52
+
53
+ input_file.so input_http.so input_raspicam.so input_uvc.so
54
+
55
+ があったので、
56
+
57
+ ```ここに言語を入力
58
+
59
+ $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
60
+
61
+ MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
62
+
63
+ raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
64
+
65
+ ---------------------------------------------------------------
66
+
67
+ Help for input plugin..: raspicam input plugin
68
+
69
+ ---------------------------------------------------------------
70
+
71
+ The following parameters can be passed to this plugin:
72
+
73
+
74
+
75
+ [-fps | --framerate]...: set video framerate, default 5 frame/sec
76
+
77
+ [-x | --width ]........: width of frame capture, default 640
78
+
79
+ [-y | --height]........: height of frame capture, default 480
80
+
81
+ [-quality].............: set JPEG quality 0-100, default 85
82
+
83
+ [-usestills]...........: uses stills mode instead of video mode
84
+
85
+ [-preview].............: Enable full screen preview
86
+
87
+ [-timestamp]...........: Get timestamp for each frame
88
+
89
+
90
+
91
+ -sh : Set image sharpness (-100 to 100)
92
+
93
+ -co : Set image contrast (-100 to 100)
94
+
95
+ -br : Set image brightness (0 to 100)
96
+
97
+ -sa : Set image saturation (-100 to 100)
98
+
99
+ -ISO : Set capture ISO
100
+
101
+ -vs : Turn on video stablisation
102
+
103
+ -ev : Set EV compensation
104
+
105
+ -ex : Set exposure mode (see raspistill notes)
106
+
107
+ -awb : Set AWB mode (see raspistill notes)
108
+
109
+ -ifx : Set image effect (see raspistill notes)
110
+
111
+ -cfx : Set colour effect (U:V)
112
+
113
+ -mm : Set metering mode (see raspistill notes)
114
+
115
+ -rot : Set image rotation (0-359)
116
+
117
+ -stats : Compute image stats for each picture (reduces noise for -usestills)
118
+
119
+ -drc : Dynamic range compensation level (see raspistill notes)
120
+
121
+ -hf : Set horizontal flip
122
+
123
+ -vf : Set vertical flip
124
+
125
+ ---------------------------------------------------------------
126
+
127
+ input_init() return value signals to exit
128
+
129
+
130
+
131
+ ```
132
+
133
+ と実行し直しても、helpが出てカメラが起動しません。
134
+
135
+ ご教示願います。

1

追記

2019/10/01 03:07

投稿

apeirogon0813
apeirogon0813

スコア117

test CHANGED
File without changes
test CHANGED
@@ -1,3 +1,5 @@
1
+ ラズベリーパイのカメラモジュールを用いてライブストリーミングしたいのですが、以下のようなエラー担ってしまします。
2
+
1
3
  ```ここに言語を入力
2
4
 
3
5
  $ sudo ./mjpg_streamer -i "./input_uvc.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www "