Difference between revisions of "AFE-R761 GMSL & AHD"

From ESS-WIKI
Jump to: navigation, search
 
Line 1: Line 1:
  
== '''GMSL''' ==
+
=== '''GMSL''' ===
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 +
|-
 +
| colspan="4" style="text-align: center; width: 72px;" | '''GMSL Support List'''
 +
|-
 +
| style="width: 72px;" | '''Camera'''
 +
| style="width: 157px;" | '''Chip/Vendor'''
 +
| '''MPN'''
 +
| '''Factor'''
 +
|-
 +
| colspan="1" rowspan="2" style="width: 72px;" | GMSL Camera
 +
| style="width: 157px;" |
 +
Sensor:ISX031(2.5M)
 +
 
 +
Serializer:MAX96717F
 +
 
 +
| KCC.A002.20
 +
| Fakra CONN
 +
|-
 +
| style="width: 157px;" |
 +
Sensor:ISX031(2M)
 +
 
 +
Serializer:MAX9295A
 +
 
 +
| KCC.A002.13
 +
| Fakra CONN
 +
|}
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 642px;"
 +
|-
 +
| rowspan="2" style="width: 71px;" | '''GMSL'''
 +
| style="width: 106px;" | '''Camera model'''
 +
| style="width: 117px;" | '''Output Voltage'''
 +
| style="width: 55px;" | '''Power'''
 +
| style="width: 68px;" | '''Rate'''
 +
| style="width: 154px;" | '''Reslution Ratio'''
 +
|-
 +
| style="width: 106px;" | MAX96712/MAX96716
 +
| style="width: 117px;" | 12V
 +
| style="width: 55px;" | 200mA
 +
| style="width: 68px;" | 6G
 +
| style="width: 154px;" | 1920*1080 30HZ
 +
|}
  
 
AFE-R761-UxC1 can support 4 ~ 6 GMSL Cameras via AFE-RM02-xPA1 expansion&nbsp;board. The default supported resolution is 1920 x 1080 @ 30fps.<br/> Please note that the supported voltage is 12V.
 
AFE-R761-UxC1 can support 4 ~ 6 GMSL Cameras via AFE-RM02-xPA1 expansion&nbsp;board. The default supported resolution is 1920 x 1080 @ 30fps.<br/> Please note that the supported voltage is 12V.
Line 30: Line 73:
 
| GND
 
| GND
 
|}
 
|}
 
  
 
=== '''SW Number''' ===
 
=== '''SW Number''' ===
  
[[File:AFE-R761 GMSL Number.png]]
+
[[File:AFE-R761 GMSL Number.png|RTENOTITLE]]
  
 
== '''AHD''' ==
 
== '''AHD''' ==
 +
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
 +
|-
 +
| rowspan="2" | '''AHD'''
 +
| '''Camera model'''
 +
| '''Output Voltage'''
 +
| '''Power'''
 +
| '''Rate'''
 +
| '''Resolution Ratio'''
 +
|-
 +
| MAX96717
 +
| 12V(5V Bom)
 +
| 200mA
 +
| 1.2G
 +
| 1920*1080 30Hz
 +
|}
  
 
AFE-R761-UxB1 can support 4 ~ 6 AHD Cameras via AFE-RM01 expansion board.&nbsp;The default supported resolution is 1920 x 1080 @ 30fps.
 
AFE-R761-UxB1 can support 4 ~ 6 AHD Cameras via AFE-RM01 expansion board.&nbsp;The default supported resolution is 1920 x 1080 @ 30fps.
Line 68: Line 126:
 
=== '''SW Number:''' ===
 
=== '''SW Number:''' ===
  
[[File:AFE-R761 AHD Number.png]]
+
[[File:AFE-R761 AHD Number.png|RTENOTITLE]]
 
 
  
 
== '''SW Function''' ==
 
== '''SW Function''' ==
Line 89: Line 146:
 
&nbsp;Plane 0 :
 
&nbsp;Plane 0 :
 
&nbsp;Bytes per Line : 1920
 
&nbsp;Bytes per Line : 1920
&nbsp;Size Image : 3110400</pre>
+
&nbsp;Size Image : 31104000</pre>
  
 
=== '''Set Resolution''' ===
 
=== '''Set Resolution''' ===
Line 103: Line 160:
 
gstreamer-1.0
 
gstreamer-1.0
 
#gst-launch-1.0 v4l2src device=/dev/video0 \
 
#gst-launch-1.0 v4l2src device=/dev/video0 \
! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimage�sink</pre>
+
! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1&nbsp;! xvimagesink</pre>
  
 
=== '''Camera photography''' ===
 
=== '''Camera photography''' ===
Line 109: Line 166:
 
Taking port 0 as an example, the following command can be used to take a camera&nbsp;photo, and the save address is picture.jpg in the current directory.
 
Taking port 0 as an example, the following command can be used to take a camera&nbsp;photo, and the save address is picture.jpg in the current directory.
 
<pre># gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=10 \
 
<pre># gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=10 \
! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc \
+
! video/x-raw,format=NV12,width=1920,height=1080&nbsp;! jpegenc \
 
! multifilesink location=picture_%02d.jpg && \
 
! multifilesink location=picture_%02d.jpg && \
 
rm picture_0{0..8}.jpg && mv picture_09.jpg picture.jpg</pre>
 
rm picture_0{0..8}.jpg && mv picture_09.jpg picture.jpg</pre>
Line 125: Line 182:
 
! filesink location= video.mp4</pre>
 
! filesink location= video.mp4</pre>
  
&nbsp;
+
'''Note:'''
 +
 
 +
If the camera used by the customer is not on the supported list, close cooperation with the original manufacturer of the camera is required. Please ask the original manufacturer to provide the following materials:<br/> 1. The specification sheet of the camera<br/> 2. The specification sheet of the serial converter<br/> 3. The specification of the camera sensor<br/> 4. And reference code.

Latest revision as of 07:19, 16 January 2026

GMSL

GMSL Support List
Camera Chip/Vendor MPN Factor
GMSL Camera

Sensor:ISX031(2.5M)

Serializer:MAX96717F

KCC.A002.20 Fakra CONN

Sensor:ISX031(2M)

Serializer:MAX9295A

KCC.A002.13 Fakra CONN
GMSL Camera model Output Voltage Power Rate Reslution Ratio
MAX96712/MAX96716 12V 200mA 6G 1920*1080 30HZ

AFE-R761-UxC1 can support 4 ~ 6 GMSL Cameras via AFE-RM02-xPA1 expansion board. The default supported resolution is 1920 x 1080 @ 30fps.
Please note that the supported voltage is 12V.

AFE-R761 GMSL.jpg

Hardware pin definition:

GMSL:GMSL Camera Connector
Pin Pin Name
1 GMSL_IN_P (12V)
2 GND
3 GND
4 GND
5 GND

SW Number

RTENOTITLE

AHD

AHD Camera model Output Voltage Power Rate Resolution Ratio
MAX96717 12V(5V Bom) 200mA 1.2G 1920*1080 30Hz

AFE-R761-UxB1 can support 4 ~ 6 AHD Cameras via AFE-RM01 expansion board. The default supported resolution is 1920 x 1080 @ 30fps.

Please note that the supported voltage/current is 12V/200mA.

AFE-R761 AHD.jpg

Hardware pin definition:

AHD:AHD Camera Connector
Pin Pin Name
1 AHD_GND
2 AHD_VIN
3 12V
4 GND

SW Number:

RTENOTITLE

SW Function

View Resolution

Taking port 0 as an example, you can enter the following instructions to view information such as the resolution, pixel format, Field, Number of planes, Flags, Colorspace,
Transfer Function, YCbCr/HSV Encoding, Quantization, Bytes per Line and Size Image.

# v4l2-ctl -d /dev/video0 --get-fmt-video
Format Video Capture Multiplanar:
 Width/Height : 1920/1080
 Pixel Format : 'NV12' (Y/UV 4:2:0)
 Field : None
 Number of planes : 1
 Flags :
 Colorspace : Rec. 709
 Transfer Function : Rec. 709
 YCbCr/HSV Encoding: Rec. 709
 Quantization : Default
 Plane 0 :
 Bytes per Line : 1920
 Size Image : 31104000

Set Resolution

Taking port 0 as an example, you can enter the following commands to set the resolution to 1920*1080.

# v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1080,pixelformat='NV12'

Preview camera

Taking port 0 as an example, you can set the preview of the camera video by using the following command.

# export DISPLAY=:0.0
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/aarch64-linux-gnu/
gstreamer-1.0
#gst-launch-1.0 v4l2src device=/dev/video0 \
! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! xvimagesink

Camera photography

Taking port 0 as an example, the following command can be used to take a camera photo, and the save address is picture.jpg in the current directory.

# gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=10 \
! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc \
! multifilesink location=picture_%02d.jpg && \
rm picture_0{0..8}.jpg && mv picture_09.jpg picture.jpg

Camera screen recording

Taking port 0 as an example, the following command can be used to record videos with the camera, and the save address is video.mp4 in the current directory.

# gst-launch-1.0 -e \
v4l2src device=/dev/video0 \
! video/x-raw,format=NV12,width=1920,height=1080,framerate=25/1 \
! videoconvert \
! x264enc bitrate=5000 speed-preset=ultrafast tune=zerolatency \
! h264parse \
! mp4mux \
! filesink location= video.mp4

Note:

If the camera used by the customer is not on the supported list, close cooperation with the original manufacturer of the camera is required. Please ask the original manufacturer to provide the following materials:
1. The specification sheet of the camera
2. The specification sheet of the serial converter
3. The specification of the camera sensor
4. And reference code.