質問するログイン新規登録

質問編集履歴

2

追記

2019/10/01 03:31

投稿

apeirogon0813
apeirogon0813

スコア117

title CHANGED
File without changes
body CHANGED
@@ -13,40 +13,32 @@
13
13
 
14
14
  追記;
15
15
  ```ここに言語を入力
16
- $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
16
+ $ 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"
17
17
  MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
18
- raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
19
- ---------------------------------------------------------------
18
+ i: fps.............: 5
20
- Help for input plugin..: raspicam input plugin
19
+ i: resolution........: 640 x 480
21
- ---------------------------------------------------------------
22
- The following parameters can be passed to this plugin:
20
+ i: camera parameters..............:
23
21
 
22
+ Sharpness 0, Contrast 0, Brightness 50
23
+ Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
24
+ Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
25
+ Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
26
+ Rotation 0, hflip No, vflip No
27
+ ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
24
- [-fps | --framerate]...: set video framerate, default 5 frame/sec
28
+ o: www-folder-path......: /opt/mjpg-streamer/www/
25
- [-x | --width ]........: width of frame capture, default 640
26
- [-y | --height]........: height of frame capture, default 480
29
+ o: HTTP TCP port........: 8080
27
- [-quality].............: set JPEG quality 0-100, default 85
30
+ o: HTTP Listen Address..: (null)
28
- [-usestills]...........: uses stills mode instead of video mode
31
+ o: username:password....: disabled
29
- [-preview].............: Enable full screen preview
32
+ o: commands.............: enabled
30
- [-timestamp]...........: Get timestamp for each frame
31
-
32
- -sh : Set image sharpness (-100 to 100)
33
- -co : Set image contrast (-100 to 100)
34
- -br : Set image brightness (0 to 100)
35
- -sa : Set image saturation (-100 to 100)
36
- -ISO : Set capture ISO
33
+ i: Starting Camera
37
- -vs : Turn on video stablisation
38
- -ev : Set EV compensation
39
- -ex : Set exposure mode (see raspistill notes)
40
- -awb : Set AWB mode (see raspistill notes)
41
- -ifx : Set image effect (see raspistill notes)
42
- -cfx : Set colour effect (U:V)
43
- -mm : Set metering mode (see raspistill notes)
44
- -rot : Set image rotation (0-359)
45
- -stats : Compute image stats for each picture (reduces noise for -usestills)
46
- -drc : Dynamic range compensation level (see raspistill notes)
34
+ mmal: mmal_vc_component_enable: failed to enable component: ENOSPC
47
- -hf : Set horizontal flip
35
+ camera couldn't be enabled
48
- -vf : Set vertical flip
49
- ---------------------------------------------------------------
50
- input_init() return value signals to exit
51
36
 
37
+
38
+ ```
39
+ となり、カメラはenableになっているのにかかわらず、このようなエラーが出ます。
40
+ 以下も一応実行してみましたが、正常でした。
41
+ ```ここに言語を入力
42
+ $ vcgencmd get_camera
43
+ supported=1 detected=1
52
44
  ```

1

追記

2019/10/01 03:31

投稿

apeirogon0813
apeirogon0813

スコア117

title CHANGED
File without changes
body CHANGED
@@ -9,4 +9,44 @@
9
9
  i: cleaning up resources allocated by input thread
10
10
  ```
11
11
  とエラーが出てカメラが表示されません.
12
- ご教示願います.
12
+ ご教示願います.
13
+
14
+ 追記;
15
+ ```ここに言語を入力
16
+ $ sudo ./mjpg_streamer -i "./input_raspicam.so -f 10 -r 640x480 -d /dev/video0 -y -n" -o "./output_http.so -w ./www -p 8080"
17
+ MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
18
+ raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
19
+ ---------------------------------------------------------------
20
+ Help for input plugin..: raspicam input plugin
21
+ ---------------------------------------------------------------
22
+ The following parameters can be passed to this plugin:
23
+
24
+ [-fps | --framerate]...: set video framerate, default 5 frame/sec
25
+ [-x | --width ]........: width of frame capture, default 640
26
+ [-y | --height]........: height of frame capture, default 480
27
+ [-quality].............: set JPEG quality 0-100, default 85
28
+ [-usestills]...........: uses stills mode instead of video mode
29
+ [-preview].............: Enable full screen preview
30
+ [-timestamp]...........: Get timestamp for each frame
31
+
32
+ -sh : Set image sharpness (-100 to 100)
33
+ -co : Set image contrast (-100 to 100)
34
+ -br : Set image brightness (0 to 100)
35
+ -sa : Set image saturation (-100 to 100)
36
+ -ISO : Set capture ISO
37
+ -vs : Turn on video stablisation
38
+ -ev : Set EV compensation
39
+ -ex : Set exposure mode (see raspistill notes)
40
+ -awb : Set AWB mode (see raspistill notes)
41
+ -ifx : Set image effect (see raspistill notes)
42
+ -cfx : Set colour effect (U:V)
43
+ -mm : Set metering mode (see raspistill notes)
44
+ -rot : Set image rotation (0-359)
45
+ -stats : Compute image stats for each picture (reduces noise for -usestills)
46
+ -drc : Dynamic range compensation level (see raspistill notes)
47
+ -hf : Set horizontal flip
48
+ -vf : Set vertical flip
49
+ ---------------------------------------------------------------
50
+ input_init() return value signals to exit
51
+
52
+ ```