- Mar 10, 2014
- 717
- 203
I got a USB to TTL adapter at Sparkfun.com, about $10 and connected to a camera during bootup. For those interested, I got the JSP connector at the link below that plugs directly into the camera, so easy peasy. The wires coming out of the adapter are as follows, red is ground, black is RX, yellow is TX and white is power (do not connect). You connect these wires to the marked connectors on the USB to TTL adapter.
JST Connector - http://www.aliexpress.com/store/pro...nd-Male-PCB-connector/1114121_1664241613.html
The premise is to help troubleshoot problems like bricking a camera and you can control what gets run, for example, you can stop it from running initrun.sh.
I used pinned jumper wires with pins to stick in the connectors on the USB to TTL adapter. You can just cut them off and solder the JST plug wires directly to this for a cleaner look.
This is the output from boot up to stable. Interesting how it keeps trying to connect to the mother ship towards the end, maybe there is something to be said for paranoia about buying a camera from a state sponsored company in China
JST Connector - http://www.aliexpress.com/store/pro...nd-Male-PCB-connector/1114121_1664241613.html
The premise is to help troubleshoot problems like bricking a camera and you can control what gets run, for example, you can stop it from running initrun.sh.
I used pinned jumper wires with pins to stick in the connectors on the USB to TTL adapter. You can just cut them off and solder the JST plug wires directly to this for a cleaner look.
This is the output from boot up to stable. Interesting how it keeps trying to connect to the mother ship towards the end, maybe there is something to be said for paranoia about buying a camera from a state sponsored company in China

Code:
U-Boot 1.3.4-100728 (Nov 11 2014 - 13:58:34)
ARM Clock: 480MHz
DDR Clock: 336MHz
Hit Ctrl+u to stop autoboot: 0
|BIND err|
Unknown command:null
nand booting ...
load kernel...
load ramdisk...
init started: BusyBox v1.19.3 (2014-07-11 11:25:54 CST)
starting pid 375, tty '': '/etc/init.d/rcS'
Starting udev: [ OK ]
starting pid 606, tty '': '/sbin/iptables -A INPUT -p tcp --dport
23 -j DROP'
starting pid 607, tty '': '/sbin/iptables -A INPUT -p tcp --dport
22 -j DROP'
starting pid 608, tty '': '/sbin/iptables -A INPUT -p tcp --dport
21 -j DROP'
starting pid 609, tty '': '/sbin/inetd -f -e /etc/inetd.conf'
starting pid 610, tty '': '-/bin/sh'
BusyBox v1.19.3 (2014-07-11 11:25:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
UBI device number 1, total 192 LEBs (24772608 bytes, 23.6 MiB),
available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi1_0.
Check dir /dav ok! (0)
UBI device number 3, total 32 LEBs (4128768 bytes, 3.9 MiB),
available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi3_0.
Check dir /davinci ok! (0)
UBI device number 4, total 32 LEBs (4128768 bytes, 3.9 MiB),
available 0 LEBs (0 bytes), LEB size 129024 bytes (126.0 KiB)
waiting for /dev/ubi4_0.
Check dir /config ok! (0)
Hit Ctrl+c to stop and exec /home/initrun.sh to continue
route: ioctl 0x890c failed: No such process
/dav
map_size = 0x300000
nr_item = 3
addr_offset = 0x0 filename = orccode.bin
addr_offset = 0x200000 filename = orcme.bin
addr_offset = 0x2a0000 filename = default_binary.bin
mmap returns 0x4029d000
loading ./orccode.bin...addr = 0x4029d000, size = 0x19f02d
loading ./orcme.bin...addr = 0x4049d000, size = 0x36374
loading ./default_binary.bin...addr = 0x4053d000, size = 0x40000
===============================
u_code version = 2013/10/24 3.0
===============================
ln: /dev/rtc: File exists
=====check_config start=====
===main db is ok===
start unix bus daemon
netprocess version: In branch 5.2.3: 1.2.4 [11:28:53-Oct 13 2014].
[02-28 04:39:23][pid:832][IPC][ERROR] from daemon ack, dst not
work len 0 , load_type is [10012]
[02-28 04:39:23][pid:832][UNI_IF]
[ERROR]65554:ipc_unix_call_service failed, ret = -3.
[02-28 04:39:23][pid:832][UNI_IF][ERROR]communicaite_to_davinci
failed!!!
[02-28 04:39:23][pid:827][IPC][ERROR]daemon can not find Dst
process.load_type 0x10012 is_need_ack 1
==================PPPoE is disable!!!
No need to recover kernel pri partition.
No need to recover ramdisk pri partition.
[02-28 04:39:24][pid:841][CAPA][ERROR]resolution_num_temp = 3
[02-28 04:39:24][pid:841][CAPA][ERROR]resolution_num_temp = 3
[02-28 04:39:24][pid:841][CAPA][ERROR]resolution_num_temp = 4
[02-28 04:39:24][pid:841][CAPA][ERROR]resolution_num_temp = 4
[02-28 04:39:24][pid:827][IPC][ERROR]daemon can not find Dst
process.load_type 0x10012 is_need_ack 1
[02-28 04:39:24][pid:832][IPC][ERROR] from daemon ack, dst not
work len 0 , load_type is [10012]
[02-28 04:39:24][pid:832][UNI_IF]
[ERROR]65554:ipc_unix_call_service failed, ret = -3.
[02-28 04:39:24][pid:832][UNI_IF][ERROR]communicaite_to_davinci
failed!!!
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
========capture_mode_pal=17, capture_mode_ntsc=18===============.
powerLineFrequencyMode = 0
@@@motion PAL!!!!!!!!!!!!!!!!!
[02-28 04:39:26][pid:841][UNI_IF][ERROR]stream request out range
3(2)
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
get samplerate [2]
get samplerate [2]
get samplerate [2]
get samplerate [2]
get samplerate [2]
get samplerate [2]
get samplerate [2]
get samplerate [2]
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
get 0-0-0-0.000000-0-0-0
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[02-28 04:39:28][pid:841][SYSINIT][ERROR]device not support RS485
[02-28 04:39:28][pid:841][HW_IF][ERROR]transfer_485_config_options
error [options:57]
IEfile uncompressed.
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
<DSP> DBG:init_dsp_lib() begin
<DSP> DBG:init_dsp_lib() end
[02-28 04:39:34][pid:841][DSP][ERROR][1]g_pdsp-
>audioTBShare.frameLen=160, g_pdsp->audioTBShare.totalFrame=64..
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
mknod: /dev/snd/controlC0: File exists
mknod: /dev/snd/pcmC0D0c: File exists
mknod: /dev/snd/pcmC0D0p: File exists
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[02-28 04:39:35][pid:841][HW_IF]
[ERROR]<read_fixed_noise_info_from_flash> (CFG_MAGIC !=
read.magicNumber(ffffffff)
<DSP> DBG:setup_dsp() begin
<DSP> DBG:init_cmem_module:cached_size=33030144
(31M),noncached_size=6815744(6M)
init_cmem_module:CMEM_cmdline=insmod /dav/cmemk.ko
phys_start=0xc6600000 phys_end=0xc8c00000
pools=1x33030144,1x6815744
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
gdma Init Successful
b_fd=0,b_smd=1,b_scd=0
channel 1 is not 1 or 2<DSP> DBG:DSP start with
Vout:Enabled,Audio:Enabled,VT:Enabled,MD:Enabled,
vsync_guard:Enabled,vout_osd: Disabled, oversampling:Disabled,
roi: Enabled, primacy: Disabled . hdr mode Disabled qr Disabled
<DSP> DBG:dsp_object.device_mode 0
<DSP> DBG:enc channel cnt 2, delay mode 0
Use CMEM buffer!
goto_idle done
pDspInitPara->VideoInitParam.capture_mode 125967385
find_video_mode sucusss!! mode 125967385 p_mode_table[i].vin_mode
30 vin_object.vin_fps 25.000000 vin w 1920 h 1080
set mode 30 type 21
vin_mode 2304*1296 vin_mode_temp 2304*1296 vin_mode_temp2
2304*1296#######pDspInitPara vout enable 1
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=0,maxRate
(maxFps)=25.000000,fps=0x1
<VidThrd> DBG:update_encode_fps_ctrl:
f_frame_rate=1.000000,clockStep=45000
<VidThrd> DBG:update_encode_fps_ctrl:Finally
chan=0,fps=0x1,fpsFlg=0x1,frmPerSec=1,fpsCounter=0,fpsCycle=25,g_m
d_interval 5 ms
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=1,maxRate
(maxFps)=25.000000,fps=0x19
<VidThrd> DBG:update_encode_fps_ctrl:
f_frame_rate=25.000000,clockStep=1800
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=25.000000,
[25].clockStep=1800,[25]
<VidThrd> DBG:update_encode_fps_ctrl:Finally
chan=1,fps=0x19,fpsFlg=0x1ffffff,frmPerSec=25,fpsCounter=0,fpsCycl
e=25,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=1,encode_type=1,
(1920x1080), mirror type0, I inerval 50, bps 3946,quality 60
i_quant 29, complexity 1 rate_type
1,p_encode_param->f_frame_rate 25.000000,svc mode 0 qp 6
<chan 1> in None MotionJPEG, skip!
<VidThrd> DBG:update_encode_fps_ctrl: Begin chan=2,maxRate
(maxFps)=25.000000,fps=0x19
<VidThrd> DBG:update_encode_fps_ctrl:
f_frame_rate=25.000000,clockStep=1800
<VidThrd> DBG:update_encode_fps_ctrl:f_frame_rate=25.000000,
[25].clockStep=1800,[25]
<VidThrd> DBG:update_encode_fps_ctrl:Finally
chan=2,fps=0x19,fpsFlg=0x1ffffff,frmPerSec=25,fpsCounter=0,fpsCycl
e=25,g_md_interval 5 ms
<VidThrd> DBG:update_video_config_param: chan=2,encode_type=1,
(352x288), mirror type0, I inerval 50, bps 434,quality 60
i_quant 29, complexity 1 rate_type 1,p_encode_param-
>f_frame_rate 25.000000,svc mode 0 qp 6
<chan 2> in None MotionJPEG, skip!
overlay: start = 0x43aef000, total size = 0x100000 ( bytes)
b_rotate 0 overlay_level64 width 1920 height 1072
osd_width 1280 osd_scale_first 64 total 81920
b_rotate 0 overlay_level16 width 352 height 288
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
init osd memory ok
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count
24,osd_lines 0
<SetOsd()> line=1 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count
0,osd_lines 0
chan 1, osd size 0 osd_size_changed 1
chan 2, osd size 0 osd_size_changed 1
b_rotate 0 overlay_level16 width 1920 height 1072
osd_width 1280 osd_scale_first 16 total 20480
b_rotate 0 overlay_level16 width 352 height 288
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=0,flgOsd=0x1, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count
24,osd_lines 0
<SetOsd()> line=1 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count
0,osd_lines 0
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=1,flgOsd=0x3, bStart=1
<OSD> DBG:Left=0 pChar->pos=4000000
<SetOsd()> line=0 y=64 line_char_count=16, valid char count
24,osd_lines 0
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
<SetOsd()> line=1 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count
0,osd_lines 0
chan 1, osd size 0 osd_size_changed 0
chan 2, osd size 0 osd_size_changed 0
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=2,flgOsd=0x7, bStart=1
init osd success
<VidThrd> DBG:setup_video_input begin
# <VidThrd> DBG:set framerate 25.000000
<VidThrd> DBG:set framerate 20480000
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
<VidThrd> DBG:init_vin done
sink 2 is DBus-LCD
sink_type 1, chan 1, sink_info type 2 sink_info.source_id 1
sink 1 is DBus-All
sink_type 1, chan 1, sink_info type 2 sink_info.source_id 0
sink 0 is CVBS
sink_type 1, chan 1, sink_info type 1 sink_info.source_id 1
sinkid 0
<config_vout_flip> rotate_type 0
<DspThrd> DBG:#######vout enable 1
sink 2 is DBus-LCD
sink_type 2, chan 0, sink_info type 2 sink_info.source_id 1
sink 1 is DBus-All
sink_type 2, chan 0, sink_info type 2 sink_info.source_id 0
sink 0 is CVBS
sink_type 2, chan 0, sink_info type 1 sink_info.source_id 1
sinkid 1
<config_vout_flip> rotate_type 0
<DspThrd> DBG:#######vout enable 1
init_vout0 done
bsb_mem = 0x43f67000, size = 0x400000
<VidThrd> DBG:Stream [0] change frame rate 1/25
h264 main profile !
<VidThrd> DBG:Stream [1] change frame rate 25/25
h264 main profile !
<VidThrd> DBG:Stream [2] change frame rate 25/25
<VidThrd> DBG:enable_preview done
audio_sample_per_second 8000
<ISP> sensor_id:4
shm addr = 0x400ac000 0
[02-28 04:39:39][pid:841][HW_IF][ERROR]<read_dpi_from_flash>
(CFG_MAGIC != read.magicNumber(ffffffff)
<STREAM_PACK> DBG:idx=0, pInfo->vAddr=0x4120c000
<STREAM_PACK> DBG:idx=1, pInfo->vAddr=0x4140c000
<STREAM_PACK> DBG:idx=2, pInfo->vAddr=0x4160c000
<STREAM_PACK> DBG:idx=0, pInfo->vAddr=0x4180c000
<STREAM_PACK> DBG:idx=1, pInfo->vAddr=0x41a0c000
<STREAM_PACK> DBG:idx=2, pInfo->vAddr=0x41c0c000
<STREAM_PACK> DBG:Alloc ps_pack_output_buf at 0x0x433c2000,
len=1576960 OK
<STREAM_PACK> DBG:Alloc ps_pack_output_buf at 0x0x43543000,
len=1576960 OK
<STREAM_PACK> DBG:Alloc ts_pack_output_buf at 0x0x43543000,
len=1576960 OK
<STREAM_PACK> DBG:Alloc ts_pack_output_buf at 0x0x436c4000,
len=12288 OK
setup pCtrl->extParam 0x8 1920x1080
<STREAM_PACK> DBG:chan=1, packId=0, packType=4
<STREAM_PACK> DBG:setRtpMuxInfo: video payload = 96, audio payload
= 8<STREAM_PACK> DBG:chan=1, packId=1, packType=4
<STREAM_PACK> DBG:setRtpMuxInfo: video payload = 96, audio payload
= 8<STREAM_PACK> DBG:chan=1, packId=2, packType=16
setup pCtrl->extParam 0x8 352x288
<STREAM_PACK> DBG:chan=2, packId=0, packType=4
<STREAM_PACK> DBG:setRtpMuxInfo: video payload = 96, audio payload
= 8<STREAM_PACK> DBG:chan=2, packId=1, packType=32
<STREAM_PACK> DBG:chan=2, packId=2, packType=16
alloc input_buffer 0x1b30980alloc output_buffer 0x1b31a00alloc
output_buffer 0x1bb8a80alloc output_buffer 0x1bb9b00davinci
receive cmd_query_davinci_param.
S: cmd_query_davinci_param
init audio capture alsa driver OK,chunk_size 320 buffer_size 10240
start_threshold 1
InitAudFilter malloc AudFilter_denoide_mem[i] 0x1bcdf80
AUD_FILTER_MAX_OUT_BUF_SIZE 40960
InitAudFilter Success!!!
AudFilter_denoiseConfig pCtrl->nfParam.sample_rate 8000,pCtrl-
>nfParam.frame_size 320
memTab->size 25344 al 0
AudFilter_allocMem, chan=1 i=0, space=0, size=25344, addr=1bcdf80
initAudIad malloc AudIad_iad_mem[i] 0x1bd8000
AUD_IAD_MAX_OUT_BUF_SIZE 81920
initAudIad Success!!!
create_audio_decoder ok, tb_enc_type = 1
<ME_SHARE> DBG:alloc me data buffer c82c20
<ME_SHARE> DBG:alloc sub me data buffer c82c34
<ME_SHARE> DBG:alloc me data buffer c82c20
<ME_SHARE> DBG:alloc sub me data buffer c82c34
<ME_SHARE> DBG:start setup_red_detect !!!!!
<ME_SHARE> ERR:Red mem_tab[0]:size=408196 base=43ea4008
<ME_SHARE> DBG:setup_red_detect ok!!!!
<SMD Thrd> DBG:smd_pack =4d293080
<SMD Thrd> DBG:size =1a4a9e
<SMD Thrd> DBG:setup_smd ok!!!!
<SCD Thrd> DBG:size =385088
<SCD Thrd> DBG:setup_scd ok!!!!
<FD Thrd> DBG:size =3682272
<FD Thrd> DBG:setup_face_detect ok!!!!
<MD Thrd> DBG:mtd_param.width 320 height 240
<MD Thrd> DBG:set up mtd process done!
<DSP> DBG:bitstream reader thread created
<DSP> DBG:audio_encode thread created
<DSP> DBG:text_osd thread created
<DSP> DBG:VoiceTalk thread created
<DSP> DBG:me data read thread created
<DSP> DBG:motion thread created
<DSP> DBG:vsync_guard thread created
<DSP> DBG:vsync_guard thread created
<DSP> DBG:raptor_statistics thread created
setup_dsp() success.
start!!!!!! HostSetAesSecretKey !!!!!!!!
<CMD> ERR:(HostSetAesSecretKey not Enable!)
[02-28 04:39:40][pid:841][DSP][ERROR]Initial: the permanent code
is disable.
<OSD> DBG:get into text_osd_thread
get into reading _thread function
<ME_SHARE> DBG:get into me_data_read_thread
<STATISTIC> DBG:get into raptor_statistics function
<YUV_SHARE> DBG:get into yuv_data_read_thread
Connection established with kernel.
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[02-28 04:39:44][pid:841][SYSLOG][ERROR]no main log. system log
will not work.
<OSD> DBG:config_osd:chan=1,flgOsd=0x7, bStart=1
<OSD> DBG:start_osd:chan=1,flgOsd=0x7
mode 125967385
update_cap_mode the same mode 125967385
<CMD> DBG:<HostSetViparam()> p_param->fps=0x19
cur 0 set 0
Suspend me capture cost 0 ms
Suspend osd process cost 0 ms
Suspend bs_reader cost 0 ms
Suspend audio cost 0 ms
Suspend total cost 0 ms
<VidThrd> DBG:get into config video encode
<VidThrd> DBG:exit config video encode
resume_all_threads ok
<CMD> DBG:HostSetVoStandard: chan=1,voStd=2
<CMD> DBG:set_encoder_param: same param. chan=1
<CMD> DBG:HostSetEncoderParam: p_param->resolution=0x101b
set_encoder_param:cfg_param:0x1003,101b,0,11,1,1,400000,
19,32,0,0,4,
0,8,0,0,0,
Suspend me capture cost 0 ms
Suspend osd process cost 0 ms
Suspend bs_reader cost 0 ms
Suspend audio cost 0 ms
Suspend total cost 2 ms
<VidThrd> DBG:get into config video encode
<VidThrd> DBG:exit config video encode
resume_all_threads ok
<OSD> DBG:config_osd:chan=1,flgOsd=0x7, bStart=1
<OSD> DBG:start_osd:chan=1,flgOsd=0x7
<CMD> DBG:HostSetEncoderParam: p_param->resolution=0x1001
set_encoder_param:cfg_param:0x1003,1001,0,11,1,1,80000,
19,32,0,0,4,
0,8,0,0,0,
Suspend me capture cost 0 ms
Suspend osd process cost 0 ms
Suspend bs_reader cost 0 ms
Suspend audio cost 0 ms
Suspend total cost 1 ms
<VidThrd> DBG:get into config video encode
<VidThrd> DBG:exit config video encode
resume_all_threads ok
appweb: 1: MPR services are ready
<CMD> DBG:start_encode: chan=1, b_send_file_header=1
get into start encode,chan 1,stream_id1
davinci receive cmd_query_davinci_param.
S: cmd_query_davinci_param
[02-28 04:39:44][pid:832][UNI_IF][ERROR]
===Davinci Init Finish...
<streamPackRTP_STDH264()> send stream[1] header
<streamPackRTP_STDH264()> send stream[1] header
<VidThrd> ERR:stream id 1, get stream too later, stamp 1932013,
interval 1931986
<VidThrd> ERR:stream id 1, get stream too later, stamp 1932410,
interval 1932013
<VidThrd> ERR:stream id 1, get stream too later, stamp 1932463,
interval 1932410
Start encoding for stream 0x1 successfully
<CMD> DBG:start_encode: chan =1 start OK, flgEnc=0x2
video_roi[chan].regionCnt 0
video_roi[chan].regionCnt 0
chan 2 is not encode or stream is not h264 encode
video_roi[chan].regionCnt 0
chan 3 is not encode or stream is not h264 encode
stop bStartSmd 0
<OSD> DBG:config_osd:chan=1,flgOsd=0x7, bStart=1
[02-28 04:39:45][pid:841][PREVIEW][ERROR]in pDevCfgParam max
packetlen = 1440
[02-28 04:39:45][pid:841][PREVIEW][ERROR]packetlen = 1440
[02-28 04:39:45][pid:841][PREVIEW][ERROR]g_metadata_mem.base =
31810096
[02-28 04:39:45][pid:841][PREVIEW][ERROR]g_metadata_mem.totalsize
= 92160
[02-28 04:39:45][pid:841][PREVIEW][ERROR]g_metadata_mem.ridx = 0
[02-28 04:39:45][pid:841][PREVIEW][ERROR]g_metadata_mem.widx = 0
[02-28 04:39:45][pid:841][PREVIEW][ERROR]g_metadata_mem.packetlen
= 1440
[02-28 04:39:45][pid:841][PREVIEW]
[ERROR]g_metadata_mem.peer_packetlen = 1440
<CMD> DBG:start_encode: chan=2, b_send_file_header=1
get into start encode,chan 2,stream_id4
<VidThrd> DBG:######stream_id 4,i 0
<VidThrd> DBG:######stream_id 4,i 1
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 0 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 4 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 5 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 6 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 7 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 8 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 9 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 10 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 11 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 12 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 13 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 14 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 15 ,error!
[02-28 04:39:45][pid:841][UNI_IF][ERROR]encode_chan = 16 ,error!
<OSD> DBG:Left=32 pChar->pos=2008000
<SetOsd()> line=0 y=32 line_char_count=20, valid char count
26,osd_lines 0
<OSD> DBG:Left=512 pChar->pos=20080000
<SetOsd()> line=1 y=512 line_char_count=41, valid char count
9,osd_lines 0
<SetOsd()> line=2 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=3 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=4 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=5 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=6 y=0 line_char_count=0, valid char count
0,osd_lines 0
<SetOsd()> line=7 y=0 line_char_count=0, valid char count
0,osd_lines 0
chan 1, osd size 255 osd_size_changed 1
##########width 1920, height 1080
chan 2, osd size 255 osd_size_changed 1
##########width 352, height 288
b_rotate 0 overlay_level64 width 1920 height 1072
osd_width 1280 osd_scale_first 64 total 81920
b_rotate 0 overlay_level16 width 352 height 288
osd_width 256 osd_scale_first 16 sub total 4096
init osd area success
<OSD> DBG:setosd ok
<OSD> DBG:setosd:END. chan=1,flgOsd=0x7, bStart=1
<OSD> ERR:sub me data capture wrong!
<VidThrd> ERR:stream id 1, get stream too later, stamp 1943457,
interval 1943287
<VidThrd> ERR:stream id 1, get stream too later, stamp 1944537,
interval 1944121
<VidThrd> ERR:stream id 1, get stream too later, stamp 1944807,
interval 1944537
Start encoding for stream 0x2 successfully
<CMD> DBG:start_encode: chan =2 start OK, flgEnc=0x4
<CMD> DBG:HostSetMirrorType:chan=1,mirror_type=0
<CMD> DBG:set_mirror_type:(mirror_type == pDspInitPara-
>mirror_type)
<streamPackRTP_STDH264()> send stream[2] header
<streamPackRTP_STDH264()> send stream[2] header
####rotate_type=0#####
change_blc = 82
####rotate_type=0#####
change_blc = 82
video enable 1
<CMD> DBG:HostSetMirrorType:chan=1,mirror_type=0
<CMD> DBG:set_mirror_type:(mirror_type == pDspInitPara-
>mirror_type)
<VidThrd> ERR:stream id 2, get stream too later, stamp 1964313,
interval 1964094
<VidThrd> ERR:stream id 1, get stream too later, stamp 1964401,
interval 1964109
maxEnChanNo=1 is_support_mpeg4=1
<VidThrd> ERR:stream id 2, get stream too later, stamp 1966517,
interval 1966285
[02-28 04:39:45][pid:841][SYSINIT][ERROR]all player header have
got!
Stop encoding for stream 0x2
[02-28 04:39:45][pid:841][OTHER][ERROR]the stun server is not
valid
<VidThrd> ERR:## stream_id 2 stream end 1 OverFlow ##
pic_size=16777215 > ENCODE_TO_PACK_MEM_BLK_SZ=1572864
Stop encoding for stream 0x2 successed
<CMD> DBG:stop_encode: chan =2 start OK, flgEnc=0x0
[02-28 04:39:46][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:46][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:46][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:39:46][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:46][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:46][pid:841][ONVIF][ERROR]ptz not support
[02-28 04:39:46][pid:841][ONVIF][ERROR]mcast_setloop_ex
[02-28 04:39:46][pid:841][ONVIF][ERROR]set_route error
[02-28 04:39:47][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:39:46][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v4_socket,
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v6_socket
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
S: cmd_get_enable_list
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v4_socket,
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v6_socket
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]xml form error
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v4_socket,
[02-28 04:39:47][pid:841][ONVIF][ERROR]PARAM ERROR
[02-28 04:39:47][pid:841][ONVIF][ERROR]send_unicast_udp(v6_socket
appweb: 1: Starting host named: "::"
appweb: 1: Starting host named: "httpsHost"
[02-28 04:39:48][pid:841][OTHER][ERROR]select err.
[02-28 04:39:48][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:39:48][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:39:48][pid:841][OTHER][ERROR]poll return error, errno 4,
[02-28 04:39:48][pid:841][OTHER][ERROR]poll interrupted by signal
[02-28 04:39:48][pid:841][OTHER][ERROR]poll return error, errno 4,
[02-28 04:39:48][pid:841][OTHER][ERROR]poll interrupted by signal
[02-28 04:39:48][pid:841][OTHER][ERROR]the stun server is not
valid
[02-28 04:39:48][pid:841][ARP][ERROR]Error on ARPING request
error=4
[02-28 04:39:48][pid:841][SADP][ERROR]get_capture_packet failed,
caplen=-1
[02-28 04:39:48][pid:841][ALARM_EXP][ERROR]semWait return error,
errorno:4
[02-28 04:39:48][pid:841][ALARM_EXP][ERROR]semWait return error,
errorno:4
[02-28 04:39:48][pid:841][ALARM_EXP][ERROR]semWait return error,
errorno:4
[02-28 04:39:48][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:48][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
error: IAV_IOC_IMG_GET_STATISTICS error[02-28 04:39:48][pid:841]
[OTHER][ERROR]can't get host by name dev.ys7.com
[02-28 04:39:48][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:48][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:39:48][pid:841][IPC][ERROR]select errno 4 ret -1
[02-28 04:39:48][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:39:48][pid:841][OTHER][ERROR]poll return error, errno 4,
[02-28 04:39:48][pid:841][OTHER][ERROR]poll interrupted by signal
[02-28 04:39:48][pid:841][OTHER][ERROR]poll return error, errno 4,
[02-28 04:39:48][pid:841][OTHER][ERROR]poll interrupted by signal
[02-28 04:39:48][pid:841][OTHER][ERROR]the stun server is not
valid
[02-28 04:39:49][pid:841][ARP][ERROR]Error on ARPING request
error=4
[02-28 04:39:49][pid:841][SADP][ERROR]get_capture_packet failed,
caplen=-1
[02-28 04:39:49][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:49][pid:841][IPC][ERROR]select errno 4 ret -1
appweb: 1: appwebTask: mprStartEventsThread Success.....
error: IAV_IOC_IMG_GET_STATISTICS error[02-28 04:39:49][pid:841]
[OTHER][ERROR]can't get host by name dev.ys7.com
[02-28 04:39:49][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:49][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:39:49][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:54][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:54][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:54][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:39:56][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:39:59][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:39:59][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:39:59][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:04][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:04][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:04][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:07][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:08][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:09][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:09][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:09][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:12][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:14][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:14][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:14][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:19][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:19][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:19][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:21][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:24][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:24][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:24][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:27][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:29][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:29][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:29][pid:841][OTHER][ERROR]the das server is not valid
[02-28 04:40:34][pid:841][OTHER][ERROR]inet_aton failed ,errno =
0, gateway =
[02-28 04:40:34][pid:841][OTHER][ERROR]can't get host by name
dev.ys7.com
[02-28 04:40:34][pid:841][OTHER][ERROR]connect lbs server
dev.ys7.com:8555 fail
[02-28 04:40:34][pid:841][OTHER][ERROR]the das server is not valid