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.
Hi, TI members
I have a camera running to 60FPS.
So, the graph is also processed to 60 FPS. But I want to change it to 30FPS.
I would like to know if there is a way to change the graph to be processed to 30 FPS.
For example, one frame is processed and the other frame is discarded in capture node or csirx driver.
Best Regards,
Hello Byungjo Hyun,
This can best be done in capture node by skipping alternate frames. But its not currently supported in the capture node.
Regards,
Brijesh
Hi, Brijesh,
Thank you for your reply.
I just modified the callback function in capture node(vx_capture_target.c) as below to skip even frames.
=====================================================================
=====================================================================
However, it does not decrease to 30 FPS.
=================================================================================
GRAPH: graph_85 (#nodes = 2, #executions = 481)
NODE: CAPTURE1: node_96: avg = 15250 usecs, min/max = 74 / 437615 usecs, #executions = 481
NODE: DISPLAY1: node_97: avg = 10339 usecs, min/max = 60 / 16417 usecs, #executions = 481
PERF: TOTAL: avg = 24999 usecs, min/max = 16658 / 33342 usecs, #executions = 76
PERF: TOTAL: 40. 0 FPS
=================================================================================
Can I get some example code to satisfy 30FPS?
Best Regards,
Hello Byungjo Hyun,
Not by skipping the callback. When you dequeue frame from the driver in the API tivxCaptureDequeueFrameFromDriver, you could enqueue alternate frames back to the driver and other alternate frames can be forwarded to the next component.
Regards,
Brijesh
Hi, Brijesh,
Thank you for your explanation.
This problem has been solved
Thanks & BR,
Hello Byungjo Hyun,
Could you please share your changes in capture node?
Regards,
Brijesh