TI中文支持网
TI专业的中文技术问题搜集分享网站

encode demo 运行没有数据出来

./encode -v test.264 -y2    没有图像出来,打印信息如下:

Encode demo started.
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124
davinci_previewer davinci_previewer.2: ipipe_set_preview_config
vpfe-capture vpfe-capture: IPIPE Chained
vpfe-capture vpfe-capture: Resizer present
EVM: switch to tvp5146 SD video input
vpfe-capture vpfe-capture: width = 736, height = 576, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 736, height = 576, bpp = 1, bytesperline = 736, sizeimage = 635904
vpfe-capture vpfe-capture: width = 736, height = 576, bpp = 1
vpfe-capture vpfe-capture: adjusted width = 736, height = 576, bpp = 1, bytesperline = 736, sizeimage = 635904
davinci_v4l2 davinci_v4l2.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 736,
 layer.pix_fmt.width = 720, layer.pix_fmt.height = 576, layer.pix_fmt.sizeimage =635904
davinci_v4l2 davinci_v4l2.1: pixfmt->width = 720,
 layer->layer_info.config.line_length= 736
ARM Load: 6% Video fps: 3 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:01 Demo: Encode Display: D1 PAL Video Codec: H.264 HP Resolution: 736×576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:02 Demo: Encode Display: D1 PAL Video Codec: H.264 HP Resolution: 736×576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:03 Demo: Encode Display: D1 PAL Video Codec: H.264 HP Resolution: 736×576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:04 Demo: Encode Display: D1 PAL Video Codec: H.264 HP Resolution: 736×576 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 0% Video fps: 0 fps Video bit rate: 0 kbps Sound bit rate: 0 kbps Time: 00:00:06 Demo: Encode Display: D1 PAL Video Codec: H.264 HP Resolution: 736×576 Sound Codec: N/A Sampling Freq: N/A

环境变量如下:

DM36x EVM # printenv
baudrate=115200
bootargs=mem=60M console=ttyS0,115200n8                                 nfsroot=192.168.1.247:/home/chenkai/share/DM368/targetfs,nolock                                 ip=192.168.1.248:192.168.1.247:192.168.1.1:255.255.255.0                               video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4025K dm365_imp.oper_mode=0                           vpfe_capture.interface=0 davinci_enc_mngr.ch0_output=PAL                               davinci_enc_mngr.ch0_mode=720×576 rootwait
bootcmd=nand read 0x80700000 0x400000 0x400000;bootm
bootdelay=3
bootfile="uImage"
eraseall=nand erase 0x00000000 0x40000000
ethact=DaVinci-EMAC
ethaddr=00:40:01:2B:64:60
ipaddr=192.168.1.248
serverip=192.168.1.247
stderr=serial
stdin=serial
stdout=serial
updatecore=tftp 0x80700000 uImage; nand erase 0x400000 0x400000; nand write.e 0x80700000 0x400000 0x400000
ver=U-Boot 2010.12-rc2 (May 29 2013 – 17:22:43)
 
Environment size: 817/262140 bytes
 
请问下 这可能是什么原因呢?

 

 

kai chen2:

用的是EVM-DM368

Lewis Lee:

dvsdk4.02?tvp5146工作了吗

kai chen2:

回复 Lewis Lee:

对 是dvsdk4.02  以log信息来看tp5146是工作了!

Lewis Lee:

回复 kai chen2:

你用示波器看看,我感觉是视频采集芯片的问题,你再仔细看看。

我原先碰见过类似的问题,就是视频采集芯片根本没工作。

kai chen2:

回复 Lewis Lee:

测了下,是在工作的

yecx cang:

回复 kai chen2:

我也出现了次情况,不过sensor是mt9p031;目前还没解决;

fang zhang:

解码显示线程都已经正常跑起来了。是不是视频显示被OSD挡住了,所以你看不到视频? 尝试修改一下OSD配置。

peng zhang5:

./encode -v test.264 -y2 -o     参数后面加个 -o  试试

peng zhang5:

对了 你的视频源是什么 是composite口进来的 还是Component(分量) 还是Component?

赞(0)
未经允许不得转载:TI中文支持网 » encode demo 运行没有数据出来
分享到: 更多 (0)