This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM368外接YUV输入,从DDR IN模式改为ISIF IN后,第一次启动AVSERVER正常,重启AVSERVER就出现出错信息,无法启动;



DM368外界YUV输入,原先的模式为DDR IN,为了提高效率,将其改为ISIF IN模式。更改后,1080P帧率可到30fps,但出现一个问题:上电启动IPNC,此时AVSERVER正常启动,可正常访问网页。但是修改一些参数,重启AVSERVER时,就会出现出错信息:

------------------------------------------正常启动信息:------------------------------------

*****************************************************************

 

  IPNC BUILD VERSION: DM368 IPNC REF DESIGN VERSION 3.00.00.11

 

*****************************************************************

 

./av_server.out DM368 PAL AUDIO 16000 G711 128000 TI2A AEWB D1 H264 1000000 VBR AUTO H264 1000000 CBR AUTO MENUOFF &

 

AVSERVER UI: Initializing.

 

 CLK Hz,

 ARM   Hz =  486000000

 DDR   Hz =  360000000

 VPSS  Hz =  360000000

 IMCOP Hz =  360000000

 

 [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR

IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter

CPU CurrentStatus is = 1

ApproDrvInit: 7

queue id:98307

SYSTEM.MSTPRI0 value changed to 00440011

 

CONFIGURING AVSERVER FOR DM368 .....

 *** WARNING  FD: exceeded max input size for FD, disabling FD (current input 352x288)!!!

SENSOR FPS VALUE = 0

 sensorDataWidth             = 1920

 sensorDataHeight             = 1080

 validStartX             = 0

 validStartY             = 40

 validWidth              = 1920

 validHeight              = 1080

DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:

layer.pix_fmt.bytesperline = 640,

 layer.pix_fmt.width = 640,

 layer.pix_fmt.height = 480,

 layer.pix_fmt.sizeimage =460800

queue id:98307

DavinciDisplay DavinciDisplay.1: pixfmt->width = 640,

 layer->layer_info.config.line_length= 640

IPNC_0.7 (root@jiumu-desktop) (gcc 版本 4.2.0 (MontaVista 4.2

IPNC AUTO_IRIS = 1

audio_test here aic3x_set_dai_fmt=========

aic3x_hw_params test ======iface_areg(192);iface_breg(0)

audio_test here aic3x_hw_params=========

audio_test here aic3x_hw_params=========data(0)

audio_test here aic3x_hw_params====params_rate(16000)=====bupasspll(0)

audio_test here aic3x_hw_params=========data2(60)

audio_test here aic3x_hw_params=========data3(68)

audio_test here aic3x_hw_params==reg3(17)=reg11(1)=reg4(16)=reg5(15)=reg6(0)

audio_test here aic3x_dapm_event=========

audio_test here aic3x_dapm_event=========

TI AWB PRODUCTION VERSION 1.0.0

ApproDrvInit: 3

queue id:98307

queue id:0

queue id:32769

ApproDrvInit: 9

queue id:98307

queue id:32769

Initializing...

ApproDrvInit: 10

queue id:98307

queue id:32769

Initializing...

...done initializing

Play this stream using the URL:

        rtsp://192.168.1.205:8556/PSIA/Streaming/channels/2?videoCodecType=H.264

 

(We use port 8304 for optional RTSP-over-HTTP tunneling.)

...done initializing

Play this stream using the URL:

        rtsp://192.168.1.205:8557/PSIA/Streaming/channels/2?videoCodecType=H.264

 

(We use port 8303 for optional RTSP-over-HTTP tunneling.)

pSysInfo->lan_config.mirror = 0

queue id:32769

SystemInit success

audio_test here aic3x_set_dai_fmt=========

aic3x_hw_params test ======iface_areg(192);iface_breg(0)

audio_test here aic3x_hw_params=========

audio_test here aic3x_hw_params=========data(0)

audio_test here aic3x_hw_params====params_rate(16000)=====bupasspll(0)

audio_test here aic3x_hw_params=========data2(60)

audio_test here aic3x_hw_params=========data3(68)

audio_test here aic3x_hw_params==reg3(145)=reg11(1)=reg4(16)=reg5(15)=reg6(0)

ApproDrvInit: 17

queue id:98307

queue id:32769

IOTC_Initialize VERSION[10A0600]...

thread_VideoFrameData start OK

thread_VideoFrameData start OK

IOTCAPI version[1.10.6.0] AVAPI version[1.4.2.0]

[01/Jan/2000:00:00:16 +0000] boa: server version Boa/0.94.13

[01/Jan/2000:00:00:16 +0000] boa: server built Oct 23 2014 at 17:10:39.

[01/Jan/2000:00:00:16 +0000] boa: starting server pid=665, port 80

queue id:0

191: Select Failed!

<UDN>uuid:Upnp-TVEmulator-12:34:56:11:18:88</UDN>

 

Upnp port is 0

Upnp ip is 192.168.1.205

UPnP Initialized OK ip=192.168.1.205, port=49152

desc_doc_url = 192.168.1.205:80/tvdevicedesc.xml

error code = 0

device advertisement succeed.

IOTC_Device_Login() ret = -41

[Error code : -41]

Network is unreachable.

Please check your network.

Retry...

[01/Jan/2000:00:00:37 +0000] request from 192.168.1.114 "(null)" ("(null)") : header read: Connection reset by peer

para_netip 192.168.1.205

 

 Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |

 CAPTURE  |     4026849.50 |       0.00 | -666775935 |          901 |

 ENCODE0  |           5.78 |     173.08 |       5200 |          900 |

 ENCODE1  |           2.36 |     423.73 |       2124 |          900 |

 STREAM   |           0.16 |    6405.69 |        281 |         1800 |

 OSD0     |           1.20 |     833.33 |       1044 |          870 |

 OSD1     |           0.76 |    1312.22 |        663 |          870 |

 AEWB     |           0.95 |    1054.55 |        825 |          870 |

 AUDIO    |           0.80 |    1255.03 |        447 |          561 |

-------------------------------------------------重启AVSERVER----------------------------------------------------- 

Change in Config Data: Restart AVSERVER!!

[24/Oct/2014:16:51:15 +0000] exiting Boa normally (uptime 467484659 seconds)

killall: boa: no process killed

ApproDrvExit: 7

caught SIGTERM: shutting down

ApproDrvExit: 10

caught SIGTERM: shutting down

ApproDrvExit: 9

killall: wis-streamer: no process killed

audio_test here aic3x_dapm_event=========

CPU CurrentStatus is = 1

 

*****************************************************************

 

  IPNC BUILD VERSION: DM368 IPNC REF DESIGN VERSION 3.00.00.11

 

*****************************************************************

 

./av_server.out DM368 PAL AUDIO 16000 G711 128000 TI2A AEWB 720P H264 2000000 VBR AUTO H264 1000000 CBR AUTO MENUOFF &

 

AVSERVER UI: Initializing.

 

 CLK Hz,

 ARM   Hz =  486000000

 DDR   Hz =  360000000

 VPSS  Hz =  360000000

 IMCOP Hz =  360000000

 

 [OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROREDMAK Error: dma_ioctl: REQUESTDMA failed: -22

 

IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter

SYSTEM.MSTPRI0 value changed to 00440011

 

CONFIGURING AVSERVER FOR DM368 .....

 *** WARNING  FD: exceeded max input size for FD, disabling FD (current input 352x288)!!!

SENSOR FPS VALUE = 0

 sensorDataWidth             = 1920

 sensorDataHeight             = 1080

 validStartX             = 0

 validStartY             = 40

 validWidth              = 1920

 validHeight              = 1080

EDMA Error: EDMA_IOCREQUESTDMA error

 ERROR  (alg_vidEnc.c|ALG_vidEncCreate|202): Failed to open video encode algorithm: h264enc (0x0)

 ERROR  (videoEncodeThr.c|VIDEO_encodeTskCreate|61): ALG_vidEncCreate(0) ERROR  (videoEncodeThr.c|VIDEO_encodeTskMain|395): VIDEO_encodeTskCreate()

 ERROR  (avServerMainThr.c|AVSERVER_tskStart|95):

ApproDrvInit: 7

queue id:98307

 

我查了下代码,修改ISIF IN只修改了drv_isif.c, drv_ipipe.c, drv_rscz.c avserverUI.c,应该不会牵扯到ENCODE。

求大侠们指导!