Updating warning message to explicitly include reference to LLAMA_FFMPEG=1 to help users know exactly how to recompile with video support. Suggestion by @Galunid.
This commit is contained in:
parent
0d083672dc
commit
c713223367
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ static std::vector<clip_image_u8 *> extract_frames(const std::string& video_path
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static std::vector<clip_image_u8 *> extract_frames(const std::string& video_path, const int frame_num) {
|
static std::vector<clip_image_u8 *> extract_frames(const std::string& video_path, const int frame_num) {
|
||||||
LOG_TEE("%s: llama.cpp built without ffmpeg, processing video files is not supported.\n", __func__);
|
LOG_TEE("%s: llama.cpp built without ffmpeg, processing video files is not supported. Please recompile with LLAMA_FFMPEG=1 to add video support.\n", __func__);
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue