args: add --video-* CLI arguments - #24318
Conversation
| // note: setter is NOT thread-safe, should only be called on application startup | ||
| MTMD_API struct mtmd_helper_video_init_params mtmd_helper_video_get_default_params(void); | ||
| MTMD_API void mtmd_helper_video_set_default_params(struct mtmd_helper_video_init_params params); |
There was a problem hiding this comment.
IMO it would be cleaner if we pass the video init params to the mtmd_helper_bitmap_init_from_buf function explicitly instead of having a global set of parameters.
There was a problem hiding this comment.
that would require changing quite a lot of code on llama-server, but on second thought, I think it may worth the effort
temporary changing this to draft now
|
/bot review |
Automated code reviewI reviewed the diff, the surrounding arg/server/mtmd-helper code, and verified all call sites are updated. Here is my review. Scope / quick-reject gate
No blocking scope issues. Correctness
Security
Style / conventions
Nits (optional)(point 1) (point 2) Overall: no blocking or slowing findings. The change is correct, complete, and consistent with project conventions. This review was generated automatically by pi coding agent using |
* args: add --video-* CLI arguments * gen docs * nits * add mtmd_helper_init_opt
Overview
As discussed in #24269 , add these new arguments to CLI:
--video-fps--video-timestamp-interval--video-ffmpeg-dirAlso ran
llama-gen-docsto sync the docsRequirements