add callable object to convert frame into control_frame to reduce cpu memory usage. (#10501)
* Update rerender_a_video.py
* Update rerender_a_video.py
* Update examples/community/rerender_a_video.py
Co-authored-by: hlky <hlky@hlky.ac>
---------
Co-authored-by: hlky <hlky@hlky.ac>
Co-authored-by: YiYi Xu <yixu310@gmail.com>