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.

DM8127不能启动EncLink,不能通过VLC播放器播放视频流

问题:只修改了Rules.make里的MTD_UTILS_MODE:=32bit,使用的VSYS_USECASE_MUTICHN_TRISTREAM_SMARTANALYTICS这个use case。现在可以telnet登陆,可以看到CameraLink打印的信息,但是板子接上HDMI显示器无反应,不能通过VLC播放器来播放视频流。是怎么情况呢?下面是打印的信息。

_____ _____ _ _
| _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
| | _| .'| . | . | | __| _| . | | | -_| _| _|
|__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
|___| |___|

Arago Project http://arago-project.org DM8127_IPNC ttyO0

Arago 2011.09 DM8127_IPNC ttyO0

DM8127_IPNC login: root (automatic login)
I2C No Ack

HDMI failed to read E-EDID

root@DM8127_IPNC:~# mkdosfs 3.0.12 (29 Oct 2011)
unable to get drive geometry, using default 255/63
/dev/sbulla has 255 heads and 63 sectors per track,
logical sector size is 512,
using 0xf8 media descriptor, with 1024 sectors;
file system has 2 12-bit FATs and 4 sectors per cluster.
FAT size is 1 sector, and provides 247 clusters.
There is 1 reserved sector.
Root directory contains 512 slots and uses 32 sectors.
Volume ID is b110cb0f, no volume label.
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 80 [67%] [40.00dB] [on]
Front Right: Capture 80 [67%] [40.00dB] [on]

[host]

[host] ORG 0x46c00524: 0

[host] NEW 0x46c00524: 2

[host]

[host] Application Start Completed

[host] 0: SYSTEM: System Common Init in progress !!!

[host] 0: SYSTEM: IPC init in progress !!!

[host] 10: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!

[host] 10: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!

[host] 10: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!

[host] 10: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!

[host] 11: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] ...

[host] 12: SYSTEM: Creating MsgQ [HOST_MSGQ] ...

[host] 14: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] DMA: ChannelID allocated:4
...

[host] DMA: ChannelID allocated:5
16: SYSTEM: Opening MsgQ [DSP_MSGQ] ...

[host] 16: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...

[host] 16: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...

[host] 17: SYSTEM: Notify register to [DSP] line 0, event 12 ...

[host] 18: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 ...

[host] 19: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 ...

[host] 19: SYSTEM: IPC init DONE !!!

[host] 20: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 ...

[host] 22: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 ...

[host] 24: SYSTEM: ListElem Shared Addr = 0x40db8180

[host] 25: SYSTEM: Creating ListMP [HOST_IPC_OUT_30] in region 0 ...

[host] 27: SYSTEM: Creating ListMP [HOST_IPC_IN_30] in region 0 ...

[host] 28: SYSTEM: ListElem Shared Addr = 0x40dd1e00

[host] 30: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...

[host] 32: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...

[host] 34: SYSTEM: ListElem Shared Addr = 0x40deba80

[host] 35: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...

[host] 37: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...

[host] 38: SYSTEM: ListElem Shared Addr = 0x40e0b480

[host] 39: SYSTEM: Creating ListMP [HOST_IPC_OUT_26] in region 0 ...

[host] 41: SYSTEM: Creating ListMP [HOST_IPC_IN_26] in region 0 ...

[host] 43: SYSTEM: ListElem Shared Addr = 0x40e2ae80

[host] 43: SYSTEM: System Common Init Done !!!

[host] Vsys_allocBuf - addr = 0x4c44d000,size = 65011712
##########pInfo->totalsize 63897600

[host] MemMng_memcpy_open:OSA_dmaOpen passed with ch id = 4

[host] CacheMng_MemCpy_open:OSA_dmaOpen passed with ch id = 5

[host] MCFW_IPCFRAMES:App_ipcFramesSendRecvFxn:Entered...
[host] Vsys_allocBuf - addr = 0x40088000,size = 33603

[host] DCC buffer allocated for size 33603

[host] DCC Default File Intialization Done

[host] Before System_linkControl SYSTEM_M3VPSS_CMD_GET_DISPLAYCTRL_INIT

[host] -------------------2--------------------------------

[host]
********** FULL FEATURE USECASE ********

[host] ********* Entered Tri Streaming usecase - H264 1080p @60fps + H264 D1 @30fps + MJPEG 1080p @5fps ********


[host] 136: MCFW : CPU Revision [ES2.1] !!!

[host] 136: MCFW : Detected [UNKNOWN] Board !!!

[host] 136: MCFW : Base Board Revision [REV A] !!!
[m3vpss ] VPS_DCTRL_INST_0
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_DVO2
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_HDMI
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_OUTPUT SYSTEM_DC_VENC_SD
[m3vpss ] IOCTL_VPS_DCTRL_SET_VENC_CLK_SRC VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
[m3vpss ] 5310: CAMERA: Create in progress !!!
[m3vpss ] Channel Num Stream 0 Ch 0 ChannelNum 0
[m3vpss ] Channel Num Stream 1 Ch 0 ChannelNum 1
[m3vpss ] 5310: CAMERA: VIP0 PortA camera mode is [ 8-bit, Non-mux Embedded Sync] !!!
[m3vpss ] 5320: CAMERA: VIP 0: VID DEC 268436736 (0x36): 0002:20202020:20202020, AUD_STATUS 538976288
[m3vpss ] Iss_captCreate:1661
[m3vpss ] 5533: CAMERA: Create Done !!!
m3vpss ] 5623: CAMERA: Detect video in progress !!!
[m3vpss ] 5623: CAMERA: Detect video Done !!!
[m3vpss ] 6760: DUP : Create Done !!!
[m3vpss ] 5630: VNF:
[m3vpss ] Create in progress ... !!!
[m3vpss ] 5631: VNF:
[m3vpss ] Input Channel CH0 of 1952 x 1112, pitch = (1984, 1984) [0,0][PROGRESSIVE] [7] ...
[m3vpss ] 5631: VNF:
[m3vpss ] [VNF] eOperateMode=6 [6-TNF3,7-NSF2]chVnfCreateParams->ulStartX = 0 chVnfCreateParams->ulStartY = 0 chVnfCreateParams->ulInputStride = 1984 chVnfCreateParams->ulInputWidth=1952,chVnfCreateParams->ulInputHeight=1112
[m3vpss ] 5803: VNF:
[m3vpss ] [VNF] outChInfo->StartX = 0 outChInfo->startY = 0 outChInfo->pitch[0] = 1952 outChInfo->width=1920,outChInfo->height=1080
[m3vpss ] 5805: VNF:
[m3vpss ] Create ... DONE !!!
[m3vpss ] 6936: NSF: Create in progress !!!
[m3vpss ] NSF::HEAPID:0 USED:128
[m3vpss ] NSF::HEAPID:1 USED:4928
[m3vpss DMA: ChannelID allocated:6
] 7066: NSF: CrDMA: ChannelID allocated:7
eate Done !!!
[m3vpss ] DCC server task running
[m3vpss ] 7070: Mux : Creating... !!!
[m3vpss ] 7072: WARNING MUX Link : Ignoring channel no 0 of Input Q ID 0. As this channel was not mapped !!!
[m3vpss ] 7072: Mux : Create Done !!!
[m3vpss ] 7079: DUP : Create Done !!!
[m3vpss ] 7086: DUP : Create Done !!!
[m3vpss ] 7086: Mux : Creating... !!!
[m3vpss ] 7088: Mux : Create Done !!!
[m3vpss ] {SWOSD} edma3Handle->tccVal = 36
[m3vpss ] {SWOSD} edma3Handle->chId = 36

[host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 6

[host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 7
[m3vpss ] {SWOSD} edma3Handle->tccVal = 37
[m3vpss ] {SWOSD} edma3Handle->chId = 37
[m3vpss ] {SWOSD} edma3Handle->tccVal = 38
[m3vpss ] {SWOSD} edma3Handle->chId = 38
[m3vpss ] 7098: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
[m3vpss ] 6030: SWOSD DMA: ChannelID allocated:8
: Create Done !!!
queue id:0
[m3vpss ] 7174: DUP : Create Done !!!
[m3vpss ] 7175: SCLR: Create in progress !!!

[host] Vsys_eventHandler:OSA_dmaOpen passed with ch id = 8
[m3vpss ] 7180: SCLR : Loading Up-scaling Co-effs ...
[m3vpss ] 7180: SCLR : Co-effs Loading ... DONE !!!
[m3video] 7193: IPC_IN_M3 : Create in progress !!!
[m3video] 7193: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
[m3vpss ] SCLR:HEAPID:0 USED:64
[m3video] 7194: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
[m3vpss ] SCLR:HEAPID:1 USED:5952
[m3video] 7197: IPC_IN_M3 : Create Done !!!
[m3vpss ] 7180: SCLR: Create Done !!!
[m3video] 7197: ENCODE: Create in progress ... !!!
[m3vpss ] 6060: FD : Alg Create Done !!!
[m3vpss ] 6060: FD : Create Done !!!
[m3vpss ] 7191: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 7193: IPC_OUT_M3 : Create Done !!!
[m3video] 7324: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1952, 1952) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps ...
[m3video] ENCLINK_H264:HEAPID:0 USED:13272
[m3video] 7406: ENCODE: Creating CH1 of 720 x 480, pitch = (720, 720) [PROGRESSIVE] [NON-TILED ], bitrate = 8000 Kbps ...

[host] IpcBitsInLink_tskMain:Entered
[host] 1196: IPC_BITS_IN : Create in progress !!!

[host] 1196: IPC_BITS_IN : ListMPOpen start !!!

[host] 1196: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_29] ...

[host] 1199: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_29] ...

[host] 1200: IPC_BITS_IN : ListMPOpen done !!!

[host] 1201: IPC_BITS_IN : System_linkGetInfo done !!!

[host] 1202: IPC_BITS_IN : Create Done !!!

[host] USECASE SETUP DONE
[m3video] ENCLINK_H264:HEAPID:0 USED:11720
[m3vpss ] 7505: DISPLAY: Create in progress !!!
[m3video] 7492: ENCODE: Creating CH2 of 1920 x 1080, pitch = (1952, 1952) [PROGRESSIVE] [NON-TILED ], bitrate = 100 Kbps ...
[m3vpss ] DisplayId = 1,DataFormat = 7
[m3vpss ] SC2 displayInstId = 6
[m3vpss ] 7507: DISPLAY: Create Done !!!
[m3video] ENCLINK_JPEG:HEAPID:0 USED:4368
[m3vpss ] 7507: DISPLAY: Create in progress !!!
[m3video] 7493: ENCODE: All CH Create ... DONE !!!
[m3vpss ] DisplayId = 4,DataFormat = 7
[m3vpss ] SD displayInstId = 2
[m3vpss ] 7508: DISPLAY: Create Done !!!
[m3video] ENCLINK:HEAPID:0 USED:29688
[m3vpss ] 7510: DISPLAY: Start in progress !!!
[m3video] 7495: ENCODE: Create ... DONE !!!
[m3video] 6358: VSTAB : Alg Create Done !!!
[m3video] 6358: VSTAB : Create Done !!!
[m3video] 7496: IPC_BITS_OUT : Create in progress !!!
[m3video] 7499: IPC_BITS_OUT : Create Done !!!
[m3vpss ] 7572: DISPLAY: Start Done !!!
[m3vpss ] 7572: DISPLAY: AUX PATH: 32 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!
[m3vpss ] 7573: DISPLAY: Start in progress !!!
[m3vpss ] 7612: DISPLAY: Start Done !!!
[m3vpss ] 7612: DISPLAY: SDDAC(SEC1): 25 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!!
[m3vpss ] 6483: CAMERA: Start in progress !!!
[m3vpss ] 6484: CAMERA: Start Done !!!

[host]
Application Run Completed
[m3vpss ] CT: 1000, 3dlut index:0
m3vpss ] 6619: CAMERA: Fields = 2 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)

[host] ITT server task running !!!

[host]
ITT ittServer_run

[host] ITT Server Message initialization successful

[host]
ITT capture task created

[host] DCC server Message ques is open succefully

[host] Setting cmd <1> in message <40bd2100>

[host] Posting message <40bd2100> in QId <20002>
[m3vpss ] Command 1 recived from HOST A8

[host] Response from M3 is : 1
0[m3vpss ] Command 2 recived from HOST A8
[m3vpss ] New DCC data of size <33603>
[m3video] Channel:1 inputframerate:30 targetfps:60
[m3vpss ] Call to VNF_LINK_CMD_UPDATE_DCC 536870980

[host] Response from M3 is : 1

[host] Default parameters were sent sucessfully

[host] Server Socket created with ID <22>
[m3video] Channel:0 inputframerate:60 targetfps:60
[m3video] Channel:2 inputframerate:60 targetfps:5
./boa: /usr/lib/libssl.so.1.0.0: no version information available (required by ./boa)
./boa: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./boa)
ApproDrvInit: 3
queue id:163845
queue id:0
queue id:32769
[m3vpss ] CT: 6111, 3dlut index:3
[m3vpss ] 9998: DISPLAY: Stop in progress !!!

Venc not supported!!
[m3vpss ] 10048: DISPLAY: Stop Done !!!
[m3vpss ] 10053: DISPLAY: Start in progress !!!
[m3vpss ] 10102: DISPLAY: Start Done !!!
[m3vpss ] 10103: DISPLAY: SDDAC(SEC1): 1480 fps, Latency (Min / Max) = ( 11 / 119 ), Callback Interval (Min / Max) = ( 33 / 34 ) !!!

[host] VNF MESSAGE RECIEVED: (Enable:0) (Mode:5) (Strength:0) (EnableTNF:0) (EnableSNF:0)

[host]
Channel Selected: 0
[host]
Channel Selected: 0,rate control = 0 [m3vpss ] 8983: VNF:
[m3vpss ] EnableSNF current SNF 1 => new 0!!!
[m3vpss ] NSF: EnableSNF 0 current mode 0!!!

[host]

========== Stream FrameRate1 = 30 =================

[host]
Channel Selected: 0 [m3vpss ] 8984: VNF:
[m3vpss ] EnableTNF current TNF 1 => new 0!!!
[m3vpss ] NSF: EnableTNF 0 current mode 1!!!
[m3vpss ] framerateParams->FrameRate = 30

[host]
Channel Selected: 0
[host]
Channel Selected: 0
[host]
Channel Selected: 0,packet size = 100
[host]
Channel Selected: 0,encPreset = 0
[host]
Channel Selected: 0,enable = 0
[host]
Channel Selected: 1
[host]
Channel Selected: 1,rate control = 0
[host]
Channel Selected: 1
[host]
Channel Selected: 1
[host]
Channel Selected: 1
[host]
Channel Selected: 1,packet size = 100
[host]
Channel Selected: 1,encPreset = 0
[host]
Channel Selected: 1,enable = 0
[host]
Channel Selected: 2
[host]
Channel Selected: 2,rate control = 2
[host] MJPEG in Rate Control OFF Mode
Check_device_version : DEVICE VER = 1 !!
[m3video] Channel:0 inputframerate:30 targetfps:30
[m3video] Channel:2 inputframerate:30 targetfps:5
[m3video] ENCLINK: new targetbitrate to set:10000000
[m3video] ENCLINK: new targetframerate to set:30000
[m3video] ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
[m3video] ENCLINK: new QP I Param to set:10 36 -1
Simple mixer control 'PGA',0
Capabilities: cvolume cswitch penum
Capture channels: Front Left - Front Right
Limits: Capture 0 - 119
Front Left: Capture 95 [80%] [47.50dB] [on]
Front Right: Capture 95 [80%] [47.50dB] [on]
Check_device_version : DEVICE VER = 1 !!
[m3video] ENCLINK: new QP P Param to set:10 40 28
[m3video] ENCLINK: new PacketSize Param to set:100
[m3video] ENCLINK: new Encode Preset Param to set:0
[m3video] ENCLINK: new rate control algorithm to set:0
[m3video] Channel:1 inputframerate:30 targetfps:30
[m3video] JPGLINK: new targetframerate to set:5000 for bitrate 100000
[m3video] JPGLINK: new QP Param to set:1 51 80
[m3video] JPGLINK: new qualityFactor Param to set:80
[m3video] JPGLINK: new rate control algorithm to set:2 for bitrate: 100000
[m3video] JPGLINK: Run time parameters changed 0
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 127
Mono:
Front Left: Playback 101 [80%] [-13.00dB]
Front Right: Playback 101 [80%] [-13.00dB]

[host]
Force IDR on Channel: 0
[host]
Force IDR on Channel: 1 [m3video] ENCLINK: new targetbitrate to set:2000000
[m3video] ENCLINK: new targetframerate to set:30000
[m3video] ENCLINK: new intraFrameInterval to set:30,new maxPicSizeRatioI to set = 960
[m3video] ENCLINK: new QP I Param to set:10 36 -1
[m3video] ENCLINK: new QP P Param to set:10 40 28
[m3video] ENCLINK: new PacketSize Param to set:100
[m3video] ENCLINK: new Encode Preset Param to set:0
[m3video] ENCLINK: new rate control algorithm to set:0
[m3video] Channel:2 inputframerate:30 targetfps:5
SystemInit success
Schedule manager init success
Dmva Schedule manager init success
umount: can't umount /mnt/mmc: Invalid argument
cpcd: no process killed
net_search_gateway:eth0, A8C0, 0, 1
net_search_gateway:eth0, 0, 100A8C0, 3
dns=202.115.160.39
g_file_storage gadget: No serial-number string provided!
g_file_storage gadget: File-backed Storage Gadget, version: 1 September 2010
g_file_storage gadget: Number of LUNs=1
g_file_storage gadget-lun0: ro=0, nofua=0, file: /dev/sbulla
+r012:04:48:20 +0000] boa: server version Boa/0.94.13
[09/Nov/2012:04:48:20 +0000] boa: server built Nov 1 2014 at 17:23:37.
[09/Nov/2012:04:48:20 +0000] boa: starting server pid=538, port 80
\]Y]YJ0
queue id:0
<UDN>uuid:Upnp-TVEmulator-1_0-00_0083505495</UDN>

Upnp port is 0
UPnP Initialized OK ip=192.168.0.111, port=0
desc_doc_url = 192.168.0.111/tvdevicedesc.xml
error code = 0
queue id:131076
ApproDrvInit: 9
queue id:163845
ApproDrvInit: 10
queue id:163845
ApproDrvInit: 8
ApproDrvInit: 2
ApproDrvInit: 6
device advertisement succeed.
Initializing...
queue id:163845
queue id:163845
Initializing...
...done initializing
...done initializing
queue id:163845
Play this stream using the URL:
rtsp://192.168.0.111:8557/PSIA/Streaming/channels/2?videoCodecType=H.264

(We use port 8304 for optional RTSP-over-HTTP tunneling.)
Initializing...
Initializing...
...done initializing
...done initializing
Initializing...
...done initializing
Play this stream using the URL:
rtsp://192.168.0.111:8556/PSIA/Streaming/channels/2?videoCodecType=H.264

(We use port 8303 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.0.111:8553/PSIA/Streaming/channels/1?videoCodecType=MPEG4

(We use port Play this stream using the URL:
rtsp://192.168.0.111:8555/PSIA/Streaming/channels/0?videoCodecType=MJPEG

(We use port 8302 for optional RTSP-over-HTTP tunneling.)
Play this stream using the URL:
rtsp://192.168.0.111:8554/PSIA/Streaming/channels/1?videoCodecType=MPEG4

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

[host]
Usecase is Active !!!
[m3vpss ] 66629: CAMERA: Fields = 1866 (fps = 31), Total Resets = 0 (Avg 0 ms per reset)
CaCڡ
secase is Active !!!

[host]
Usecase is Active !!!
[m3vpss ] 126639: CAMERA: Fields = 1801 (fps = 30), Total Resets = 0 (Avg 0 ms per reset)
[m3vpss ] ==================== CameraLink_PrintDetails ====================
[m3vpss ] 126640: CAMERA: Fields = 3669 (fps = 30, CPU Load = 12)
[m3vpss ] 126640: CAMERA: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] =================================================================

[host]
Usecase is Active !!!