mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: video file suffix (#10740)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -29,7 +29,7 @@ from rag.utils import clean_markdown_block
|
||||
ocr = OCR()
|
||||
|
||||
# Gemini supported MIME types
|
||||
VIDEO_EXTS = [".mp4", ".mov", ".avi", ".flv", ".mpeg", ".mpg", ".webm", ".wmv", ".3gp", ".3gpp"]
|
||||
VIDEO_EXTS = [".mp4", ".mov", ".avi", ".flv", ".mpeg", ".mpg", ".webm", ".wmv", ".3gp", ".3gpp", ".mkv"]
|
||||
|
||||
|
||||
def chunk(filename, binary, tenant_id, lang, callback=None, **kwargs):
|
||||
|
||||
@ -144,7 +144,8 @@ class ParserParam(ProcessParamBase):
|
||||
"video": {
|
||||
"suffix":[
|
||||
"mp4",
|
||||
"av"
|
||||
"avi",
|
||||
"mkv"
|
||||
],
|
||||
"output_format": "json",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user