我使用IPNC的RTSP时,就是在命令中加入RTSP出现以下错误:
以下是我的串口打印信息:
DM365MM Init Successful
AVSERVER UI: Initializing.
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] … ERROR
IMAGE TUNE: Paramset File is not available….. Setting DEFAULT parameter
DM365MM Init SuccessfulSYSTEM.MSTPRI0 value changed to 00440011
CONFIGURING AVSERVER FOR DM368 …..
qid = -1
Creat queue id:32769
queue id:32769
AVSERVER UI: Starting Streaming Server…
ApproDrvInit: 10
qid = 0
ApproDrvInit: 9
ApproDrvInit: 8
qid = 0
queue id:0
ApproDrvInit: 2
qid = 0
queue id:0
ApproDrvInit: 6
qid = 0
queue id:0
qid = 0
queue id:0
queue id:0
AVSERVER UI: Starting Streaming Server…DONE
CAPTURE: Recevied CMD = 0x0300
CAPTURE: Create…
gAVSERVER_config.sensorFps:10
CAPTURE: Opening capture on imager MICRON_MT9P031_5MP.
CAPTURE: Opening imager MICRON_MT9P031_5MP.
width = 1920
height = 1092
SENSOR FPS VALUE = 10
Sensor Mode Info,
Width = 1920
Height = 1092
validStartX = 0
validStartY = 2
validWidth = 1920
validHeight = 1088
fps = 10
Bin Enable = 0
Sensor Frame Timing Info,
fps = 10
t_frame (ns) = 100000000.000000
t_row (ns) = 29375.000000
t_pclk (ns) = 10.416667
W = 1920
H = 1092
SW = 3404
SD = 0
HB = 450
VB = 2312
HBmin = 450
VBmin = 9
f_pclk = 96000000
shutterOverhead (ns) = 4437.500000
col_size = 1919
row_size = 1091
col_skip = 0
row_skip = 0
col_bin = 0
row_bin = 0
col_start = 336
row_start = 468
pll_M = 16
pll_N = 1
pll_DIV = 1
CAPTURE: Opening ISIF.
select rec656!
CAPTURE: Opening H3A.
H3A Settings,
AEWB Win Start H = 32
AEWB Win Start V = 34
AEWB Win Num H = 12
AEWB Win Num V = 16
AEWB Win Width = 154
AEWB Win Height = 64
AEWB Win Inc H = 22
AEWB Win Inc V = 22
AEWB Win Pixels/Color = 21
CAPTURE: Opening IPIPE.
CAPTURE: Open DONE.
capture_width:1920
capture_width:1088
CAPTURE: Create…DONE
ENCODE: Recevied CMD = 0x0300
ENCODE: Create…
createPrm.width:1920
createPrm.height:1072
STREAM: Recevied CMD = 0x0300
STREAM: Create…
STREAM: Ext 0: 0x0
STREAM: Ext 1: 0x0
qid = 0
queue id:0
streamSet.ImageWidth:1920
streamSet.ImageHeight:1072
STREAM: Create…DONE
FD: Received CMD = 0x0300
FD: Create…
FR : 0 users registered from exsiting face album
2A: Recevied CMD = 0x0300
2A: Create…
IPNC_DM368_5.0.0 (root@ubuntu) (gcc version 4.3.3 (GCC) ) #1 PREEMPT Tue Oct 1
IPNC AUTO_IRIS = 1
2A: Create…DONE
AUDIOPLAY: Recevied CMD = 0x0300
AUDIOPLAY: Create…
FD: Create…DONE
qid = -1
Creat queue id:65538
queue id:65538
qid = -1
Creat queue id:98307
queue id:98307
Initializing…
Initializing…
Initializing…
Initializing…
AUDIOPLAY: Create…DONE
MOTION: Recevied CMD = 0x0300
MOTION: Create…
MOTION: Create…DONE
SWOSD: Recevied CMD = 0x0300
Default Icon TI Logo
Default Icon TI Logo
2A: Start…
2A: Start…DONE
CAPTURE: Start…
CAPTURE: Starting IPIPE.
SWOSD: Create…DONE
Initializing…
…done initializing
Play this stream using the URL:
rtsp://192.168.1.189:8557/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8304 for optional RTSP-over-HTTP tunneling.)
CAPTURE: Starting ISIF.
CAPTURE: Starting imager.
ERROR (drv_imgs_MT9P031_5MP.c|DRV_imgsReset|505): DRV_i2cWrite16()
ERROR (drv_imgs_MT9P031_5MP.c|DRV_imgsEnable|333): DRV_imgsSetRegs()
…done initializing
Play this stream using the URL:
rtsp://192.168.1.189:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8301 for optional RTSP-over-HTTP tunneling.)
…done initializing
Play this stream using the URL:
rtsp://192.168.1.189:8556/PSIA/Streaming/channels/2?videoCodecType=H.264
(We use port 8303 for optional RTSP-over-HTTP tunneling.)
…done initializing
Play this stream using the URL:
rtsp://192.168.1.189:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG
(We use port 8302 for optional RTSP-over-HTTP tunneling.)
…done initializing
Play this stream using the URL:
rtsp://192.168.1.189:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4
(We use port 8300 for optional RTSP-over-HTTP tunneling.)
CAPTURE: Starting H3A.
CAPTURE: Start DONE.
CAPTURE: Start…DONE
Module | Avg Time/Frame | Frame-rate | Total time | Total Frames |
CAPTURE | 36.91 | 27.09 | 11110 | 301 |
IPIPE | 31.57 | 31.68 | 9502 | 301 |
ENCODE0 | 36.87 | 27.12 | 10988 | 298 |
STREAM | 1.21 | 823.20 | 362 | 298 |
想请教一下,这是怎么回事?关于RTSP没有修改过。
而且,我用抓包工具发现没有收到来自从机的数据,会不会是wis-stream有问题呢?
Chris Meng:
你好,
你有关注过下面的错误信息么?sensor工作正常么?
ERROR (drv_imgs_MT9P031_5MP.c|DRV_imgsReset|505): DRV_i2cWrite16()ERROR (drv_imgs_MT9P031_5MP.c|DRV_imgsEnable|333): DRV_imgsSetRegs()
malik:
回复 Chris Meng:
Chris Meng,
您好!
我是自己配置的sersor,所以这里的错误返回是没问题的,前端有数据进来的。
Chris Meng:
回复 malik:
你好,
请问你用IPNC能ping通你的电脑么?反过来呢?
malik:
回复 Chris Meng:
Chris Meng,
您好!
我的IPNC和电脑连接没问题的,用自己写的网口发送程序是没问题的。