DM368 encode 数据输出问题?

2019-03-26 15:15发布

我的bootargs

setenv bootargs dm365_imp.oper_mode=0 mem=48M console=ttyS0,115200n8 noinitrd rw ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs vpfe_capture.cont_bufsize=6291456 video=davincifb:osd0=720x480x16,4050K davinci_capture.device_type=2 vpfe_capture.interface=1;

我的内核启动信息里已经注册上了MT9P031:

EVM: switch to HD imager video input

mt9p031 1-005d: Detected a MT9P031 chip ID 1801

mt9p031 1-005d: mt9p031 1-005d decoder driver registered !!

vpfe-capture vpfe-capture: v4l2 sub device mt9p031 registered

我使用文件系统中的 /usrfile:///C:DOCUME~1ADMINI~1LOCALS~1TempUG9`@AH2%L{}S0N6}3E~FO2.gif/ti/dvsdk-demos/encode

执行 ./encode -v t.264 -I 4 -y 3 -b 1000 -f -w

其中-v t.264表示采用H.264编码器, -I 4表示使用MT9P031采集图像, -y 3表示输出图像为720P, -b 1000表示比特率为1000kbps, -f -w 表示禁止预览和记录编码文件。



其结果为:

root@dm368-evm:/# ./encode -v t.264 -I 4 -y 3 -b 1000 -f -w

Encode demo started.

###### output_store ######

###### davinci_get_cur_encoder ######

###### vpbe_encoder_initialize ######

###### output is COMPONENT,outindex is 1 ######

###### vpbe_encoder_setoutput ######

###### dm365 = 1 ######

###### mode_info->std is 1 ######

###### mode is 480P-60 ######

###### 22VPBE Encoder initialized ######

###### vpbe_encoder_setoutput ######

###### dm365 = 1 ######

###### mode_info->std is 1 ######

###### mode is 480P-60 ######

###### davinci_enc_set_output : next davinci_enc_set_mode_platform ######

###### davinci_enc_set_mode_platform : next davinci_enc_priv_setmode ######

###### output_show ######

###### davinci_enc_get_output ######

###### davinci_get_cur_encoder ######

###### mode_store ######

###### davinci_enc_get_mode ######

###### davinci_get_cur_encoder ######

###### davinci_enc_set_mode ######

###### davinci_get_cur_encoder ######

###### dm365 = 1 ######

###### mode_info->std is 1 ######

###### mode is 576P-50 ######

###### davinci_enc_set_mode : next davinci_enc_set_mode ######

###### davinci_enc_set_mode_platform : next davinci_enc_priv_setmode ######

###### mode_show ######

###### davinci_enc_get_mode ######

###### davinci_get_cur_encoder ######

###### davinci_enc_get_mode ######

###### davinci_get_cur_encoder ######

###### davinci_enc_get_mode ######

###### davinci_get_cur_encoder ######

davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:124

davinci_previewer davinci_previewer.2: ipipe_set_preview_config

davinci_previewer davinci_previewer.2: ipipe_set_preview_config

vpfe-capture vpfe-capture: IPIPE Chained

vpfe-capture vpfe-capture: Resizer present

dm365evm_enable_pca9543a

dm365evm_enable_pca9543a, status = -121

EVM: switch to HD imager video input

######vpfe_dev->current_subdev->is_camera.

-----Exposure time = 2f2############

v4l2_device_call_until_err sdinfo->grp_id : 4.

-----Exposure time = 2f2

vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1

vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400

vpfe-capture vpfe-capture: width = 1280, height = 720, bpp = 1

vpfe-capture vpfe-capture: adjusted width = 1280, height = 720, bpp = 1, bytesperline = 1280, sizeimage = 1382400

ARM Load: 28% Video fps: 31 fps Video bit rate: 42 kbps Sound bit rate: 0 kbps Time: 08:00:01 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 10% Video fps: 30 fps Video bit rate: 32 kbps Sound bit rate: 0 kbps Time: 08:00:02 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 61% Video fps: 31 fps Video bit rate: 28 kbps Sound bit rate: 0 kbps Time: 08:00:03 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 9% Video fps: 30 fps Video bit rate: 27 kbps Sound bit rate: 0 kbps Time: 08:00:04 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 62% Video fps: 30 fps Video bit rate: 35 kbps Sound bit rate: 0 kbps Time: 08:00:06 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 10% Video fps: 30 fps Video bit rate: 37 kbps Sound bit rate: 0 kbps Time: 08:00:07 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A



ARM Load: 45% Video fps: 30 fps Video bit rate: 28 kbps Sound bit rate: 0 kbps Time: 08:00:08 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 29% Video fps: 31 fps Video bit rate: 27 kbps Sound bit rate: 0 kbps Time: 08:00:09 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A

ARM Load: 23% Video fps: 29 fps Video bit rate: 29 kbps Sound bit rate: 0 kbps Time: 08:00:10 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A


ARM Load: 51% Video fps: 31 fps Video bit rate: 43 kbps Sound bit rate: 0 kbps Time: 08:00:12 Demo: Encode Display: 720P 60Hz Video Codec: H.264 HP Resolution: 1280x720 Sound Codec: N/A Sampling Freq: N/A

通过上面的信息,我可以看到是有视频数据输出的。

我的问题是,demo里的encode 捕获到的视频数据,是什么格式? 捕获的数据存放在哪里?

此帖出自小平头技术问答
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
该问题目前已经被作者或者管理员关闭, 无法添加新回复
1条回答
37°男人
1楼-- · 2019-03-26 16:31
< 在你执行程序的当前目录下面;
格式是H264的

一周热门 更多>