You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my board is RPI CM4
system is openmptcprouter base ON openwrt. kernel 6.1.71
USE TC358743 HDMI to CSI
all the driver is ok.
I can recoder video via gstreamer1
camera device infomation
Video input : 0 (Camera 0: ok)
DV timings:
Active width: 1920
Active height: 1080
Total width: 2640
Total height: 1125
Frame format: progressive
Polarities: -vsync -hsync
Pixelclock: 148500000 Hz (50.00 frames per second)
Horizontal frontporch: 0
Horizontal sync: 720
Horizontal backporch: 0
Vertical frontporch: 0
Vertical sync: 45
Vertical backporch: 0
Standards:
Flags:
DV timings capabilities:
Minimum Width: 640
Maximum Width: 1920
Minimum Height: 350
Maximum Height: 1200
Minimum PClock: 13000000
Maximum PClock: 165000000
Standards: CTA-861, DMT, CVT, GTF
Capabilities: Progressive, Reduced Blanking, Custom Formats
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : 'UYVY' (UYVY 4:2:2)
Field : None
Bytes per Line : 3840
Size Image : 4147200
Colorspace : SMPTE 170M
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
my board is RPI CM4
system is openmptcprouter base ON openwrt. kernel 6.1.71
USE TC358743 HDMI to CSI
all the driver is ok.
I can recoder video via gstreamer1
camera device infomation
Video input : 0 (Camera 0: ok)
DV timings:
Active width: 1920
Active height: 1080
Total width: 2640
Total height: 1125
Frame format: progressive
Polarities: -vsync -hsync
Pixelclock: 148500000 Hz (50.00 frames per second)
Horizontal frontporch: 0
Horizontal sync: 720
Horizontal backporch: 0
Vertical frontporch: 0
Vertical sync: 45
Vertical backporch: 0
Standards:
Flags:
DV timings capabilities:
Minimum Width: 640
Maximum Width: 1920
Minimum Height: 350
Maximum Height: 1200
Minimum PClock: 13000000
Maximum PClock: 165000000
Standards: CTA-861, DMT, CVT, GTF
Capabilities: Progressive, Reduced Blanking, Custom Formats
Format Video Capture:
Width/Height : 1920/1080
Pixel Format : 'UYVY' (UYVY 4:2:2)
Field : None
Bytes per Line : 3840
Size Image : 4147200
Colorspace : SMPTE 170M
Transfer Function : Default (maps to Rec. 709)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
devices
root@OpenMPTCProuter:~# v4l2-ctl --list-devices
bcm2835-codec-decode (platform:bcm2835-codec):
/dev/video10
/dev/video11
/dev/video12
/dev/video18
/dev/video31
/dev/media0
bcm2835-isp (platform:bcm2835-isp):
/dev/video13
/dev/video14
/dev/video15
/dev/video16
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/media1
/dev/media2
unicam (platform:fe801000.csi):
/dev/video0
/dev/media3
run v4l2rtspsever
root@OpenMPTCProuter:~# v4l2rtspserver /dev/video0 -f
log level:500
[NOTICE] v4l2rtspserver-0.3.7/main.cpp:269
Version: live555 version:2022.10.01
[NOTICE] v4l2rtspserver-0.3.7/src/V4l2RTSPServer.cpp:37
Create V4L2 Source.../dev/video0
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:133
driver:unicam capabilities:85a00001 mandatory:4000001
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:136
/dev/video0 support capture
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:138
/dev/video0 support read/write
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:139
/dev/video0 support streaming
[ERROR] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:212
/dev/video0: Cannot set pixelformat to:H264 format is:UYVY
[ERROR] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:212
/dev/video0: Cannot set pixelformat to:MJPG format is:UYVY
[ERROR] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:212
/dev/video0: Cannot set pixelformat to:JPEG format is:UYVY
[ERROR] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:212
/dev/video0: Cannot set pixelformat to:NV12 format is:UYVY
[ERROR] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2Device.cpp:83
Cannot init device:/dev/video0
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2MmapDevice.cpp:141
VIDIOC_STREAMOFF: Bad file descriptor
VIDIOC_REQBUFS: Bad file descriptor
Device /dev/video0
[NOTICE] v4l2rtspserver-0.3.7/src/V4l2RTSPServer.cpp:37
Create V4L2 Source...-f
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2MmapDevice.cpp:49
VIDIOC_REQBUFS: Not a tty
Device -f
[NOTICE] v4l2rtspserver-0.3.7/libv4l2cpp/src/V4l2MmapDevice.cpp:141
VIDIOC_STREAMOFF: Not a tty
VIDIOC_REQBUFS: Not a tty
run v4l2tools I changed other video dev.
root@OpenMPTCProuter:
# v4l2tools -fH264 /dev/video0 /dev/video13 &# log level:500root@OpenMPTCProuter:
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:133
driver:unicam capabilities:85a00001 mandatory:4000001
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:136
/dev/video0 support capture
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:138
/dev/video0 support read/write
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:139
/dev/video0 support streaming
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:225
/dev/video0:UYVY size:1920x1080 bufferSize:4147200
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2MmapDevice.cpp:49
Device /dev/video0
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2MmapDevice.cpp:73
Device /dev/video0 nb buffer:10
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:133
driver:bcm2835-isp capabilities:84200002 mandatory:4000002
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:135
/dev/video13 support output
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:139
/dev/video13 support streaming
[ERROR] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:212
/dev/video13: Cannot set pixelformat to:H264 format is:BA81
[ERROR] v4l2tools-0.2.0/v4l2wrapper/src/V4l2Device.cpp:83
Cannot init device:/dev/video13
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2MmapDevice.cpp:141
VIDIOC_STREAMOFF: Bad file descriptor
VIDIOC_REQBUFS: Bad file descriptor
Device /dev/video13
[WARN] v4l2tools-0.2.0/src/v4l2compress.cpp:57
Cannot create V4L2 output interface for device:/dev/video13
[NOTICE] v4l2tools-0.2.0/v4l2wrapper/src/V4l2MmapDevice.cpp:141
Device /dev/video0
[1]+ Done(255) v4l2tools -fH264 /dev/video0 /dev/video13
SO what's the wrong.what can I do? give me a mind. thanks.
The text was updated successfully, but these errors were encountered: