
현재 다음 명령을 사용하고 있습니다.
libcamera-vid -t 0 --inline --framerate 30 -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264
센서의 해상도가 2592 x 1944인데도 드라이버가 640 x 480의 해상도로만 설정한 것 같습니다(출력:)
libcamera-vid -t 0 --inline --framerate 30 -o - | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264
VLC media player 3.0.16 Vetinari (revision 1.0.6-1682-g88158c836)
[014c4010] main interface error: no suitable interface module
[01439b98] main libvlc error: interface "globalhotkeys,none" initialization failed
[014c4010] dummy interface: using the dummy interface module...
Preview window unavailable
[11:10:08.908820944] [11839] INFO Camera camera_manager.cpp:293 libcamera v0.0.0+3406-e96d0201
[11:10:08.931110987] [11846] ERROR CameraSensor camera_sensor.cpp:551 'ov5647 10-0036': Camera sensor does not support test pattern modes.
[11:10:08.954015489] [11846] INFO RPI raspberrypi.cpp:1326 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[11:10:08.954716951] [11839] INFO Camera camera.cpp:1028 configuring streams: (0) 640x480-YUV420
[11:10:08.955574644] [11846] INFO RPI raspberrypi.cpp:747 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 640x480-SGBRG10_1X10 - Selected unicam format: 640x480-pGAA
[11:10:08.983201335] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Saturation = 1.000000
[11:10:08.983283728] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Contrast = 1.000000
[11:10:08.983323397] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Brightness = 0.000000
[11:10:08.983359065] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AwbMode = 0
[11:10:08.983392715] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: Sharpness = 1.000000
[11:10:08.983428310] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: ExposureValue = 0.000000
[11:10:08.983463349] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeExposureMode = 0
[11:10:08.983494109] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: FrameDurationLimits = [ 33333, 33333 ]
[11:10:08.983530315] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: AeMeteringMode = 0
[11:10:08.983562150] [11859] INFO IPARPI raspberrypi.cpp:626 Request ctrl: NoiseReductionMode = 1
[a2603578] main stream error: unknown query 0x30e in demux_vaControlHelper
비디오 피드가 흠잡을데 없어 보입니다. 반면에 ... 명령을 사용할 때
libcamera-vid -t 0 --inline --framerate 30 -o - --width 1920 --height 1080 | cvlc stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/stream1}' :demux=h264
원래 시야각의 일부만 볼 수 있습니다. 카메라가 1080p30을 사용하도록 어떻게 다르게 말할 수 있습니까?
답변1
두 달이 지나도 이에 대한 답을 얻을 수도 있지만 이 질문은 자주 발생합니다.
카메라 사진은 설정된 해상도(및 비율)에 따라 잘립니다.
1280x960을 사용해 보면 대부분의 각도를 볼 수 있습니다.
하드웨어 사이트 중 하나에 비디오 모드에 대한 정보가 포함된 단일(!) 이미지가 있습니다. 해상도에 따라 상자가 포함된 그림을 표시합니다.