arjun.a
rename files
6c7b14a
Ticket Name: Linux/TDA2: About lvds_vip_multi_cam_3d_srv Demo data dump
Query Text:
Part Number: TDA2 Tool/software: Linux Hi, I'm using the PROCESSOR_SDK_VISION_03_03_00_00_setuplinux.bin. I want to dump data base on the lvds_vip_multi_cam_3d_srv demo. It's link tree is as below. Questions: a.If i add my link tree(ipc -> a15 -> null)at (1), and the demo can run and all 4 camera have image display on screen. But the callback function never being called. Even the callback only have a vps_print(), and there is nothing out. And also i add a callback for the demo's null link. It's also not called. Anyone give me some suggestions? b.If i add my link tree at (2) (same with link tree above). There is still images displayed on screen. The demo looks not work well. Is the image data can be dumped after sync_link? c.I boot system&app from MMC/SD. After i build my app. I need to plug-out my SD & write new app by host. Is there a easy way? Line ethernet?
Responses:
My build choice is tda2xx_evm_linux_all. And it's configuration is default.
Add one more question, d. Is sync_link -> dup_link ->null_link OK?
Hi , a.If i add my link tree(ipc -> a15 -> null)at (1), and the demo can run and all 4 camera have image display on screen. But the callback function never being called. Even the callback only have a vps_print(), and there is nothing out. And also i add a callback for the demo's null link. It's also not called. Anyone give me some suggestions? Ans : This needs to work , Do you have null in ipu or in A15. ? you can check printing the stats (p option) and see if null link is really receiving the frames , b.If i add my link tree at (2) (same with link tree above). There is still images displayed on screen. The demo looks not work well. Is the image data can be dumped after sync_link? Ans: Image can be dumped after sync also , but atfer sync the buffer will be composite buffer you need to properly figure out the video buffer payload and dump . c.I boot system&app from MMC/SD. After i build my app. I need to plug-out my SD & write new app by host. Is there a easy way? Line ethernet? Ans: you can use nfs boot , refer user guide. d. Is sync_link -> dup_link ->null_link OK? Ans: This data path is also Ok , Please ensure you free the buffers in all the null link else the system will slowdown . Regards Chetan.M
Hi Chetan, Thanks for you reply. I will try it and check my code. And i can dump sync data now. Like picture below. Does it make sense. Regards Zhang
Zhang, Can you view the file in yuv viewer and check the format. Regards Chetan.M
Hi Chetan, In fact it's a H264 video. I use links like this: ->sync_link->encode link-> null link I dump h264 data in null_link. Is this usage correct? Best, Zhang
I am not sure why the croma is not correct, Why do you need to dump h264 video . ? Regards Chetan.M
Hi Chetan, Because the card write speed is a little slow. If i dump YUV data. The video may drop frames. BTW. I will try to dump yuv data later. Thanks for you help. Best, Zhang
Hi Zhang , Please try to dump one frame to ensure the data is correct and later you can check the frame size when you are recording h264 and also check the play options Regards Chetan.M
Hi Chetan, Thanks. I will check my settings. I have a new question. I'm bringup D3's OV10640+OV490 camera module on TDA2x. And the demo can run and no error information output. But there is no image out on display. What's the possible reason? Regards Zhang
Hi Zhang, Please close the current thread and open a new thread for D3's OV10640 + OV490 issue , Regards Chetan.M