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

質問編集履歴

3

追記

2019/10/01 03:33

投稿

apeirogon0813
apeirogon0813

スコア117

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

2

追記

2019/10/01 03:33

投稿

apeirogon0813
apeirogon0813

スコア117

title CHANGED
File without changes
body CHANGED
@@ -20,4 +20,49 @@
20
20
  ```
21
21
 
22
22
  以下のように実行するとエラーになり、カメラが起動しません。
23
+ ご教示願います。
24
+
25
+
26
+ 追記:実行オプションで./inputをタブで候補をみると
27
+ input_file.so input_http.so input_raspicam.so input_uvc.so
28
+ があったので、
29
+ ```ここに言語を入力
30
+ $ 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
+ MJPG Streamer Version: git rev: 501f6362c5afddcfb41055f97ae484252c85c912
32
+ raspicam input plugin: option '-f' is ambiguous; possibilities: '-fps' '-framerate'
33
+ ---------------------------------------------------------------
34
+ Help for input plugin..: raspicam input plugin
35
+ ---------------------------------------------------------------
36
+ The following parameters can be passed to this plugin:
37
+
38
+ [-fps | --framerate]...: set video framerate, default 5 frame/sec
39
+ [-x | --width ]........: width of frame capture, default 640
40
+ [-y | --height]........: height of frame capture, default 480
41
+ [-quality].............: set JPEG quality 0-100, default 85
42
+ [-usestills]...........: uses stills mode instead of video mode
43
+ [-preview].............: Enable full screen preview
44
+ [-timestamp]...........: Get timestamp for each frame
45
+
46
+ -sh : Set image sharpness (-100 to 100)
47
+ -co : Set image contrast (-100 to 100)
48
+ -br : Set image brightness (0 to 100)
49
+ -sa : Set image saturation (-100 to 100)
50
+ -ISO : Set capture ISO
51
+ -vs : Turn on video stablisation
52
+ -ev : Set EV compensation
53
+ -ex : Set exposure mode (see raspistill notes)
54
+ -awb : Set AWB mode (see raspistill notes)
55
+ -ifx : Set image effect (see raspistill notes)
56
+ -cfx : Set colour effect (U:V)
57
+ -mm : Set metering mode (see raspistill notes)
58
+ -rot : Set image rotation (0-359)
59
+ -stats : Compute image stats for each picture (reduces noise for -usestills)
60
+ -drc : Dynamic range compensation level (see raspistill notes)
61
+ -hf : Set horizontal flip
62
+ -vf : Set vertical flip
63
+ ---------------------------------------------------------------
64
+ input_init() return value signals to exit
65
+
66
+ ```
67
+ と実行し直しても、helpが出てカメラが起動しません。
23
68
  ご教示願います。

1

追記

2019/10/01 03:07

投稿

apeirogon0813
apeirogon0813

スコア117

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