XGC-AVis is a multi-agent framework for enhancing audio-video temporal alignment for multimodal models. This repository provides a series of Python scripts for processing video and audio data, extracting relevant segments, and generating answers using different models (e.g., Gemini Flash, Qwen-Omni). The overall flow is organized into sequential steps to achieve the goal of localizing relevant video segments and providing model-based answers for the given queries.
r1-avqa model.To run the entire process, execute the scripts in the following order:
Step 1 - Transcribe subtitles:
python scripts/step1_transcribe_subtitle.py
Step 2 - Describe the audio:
Use r1-avqa for audio description:
python scripts/step2_describe_audio_with_r1avqa.py
Step 3 - Localize relevant segments with Aria:
python scripts/step3_localize_relevant_segments_with_aria.py
Step 3b - Localize relevant segments with Qwen Omni: This step uses the Qwen Omni planner.
python scripts/step3b_localize_relevant_segments_with_qwen_omni.py
Step 4 - Answer with Gemini Flash:
python scripts/step4_answer_with_gemini_flash.py
Step 4b - Answer with Gemini Flash:
python scripts/step4b_answer_with_gemini_flash.py
Step 5 - Adjudication: Final adjudication to determine the best answer.
python scripts/step5_Adjudication.py
Daily-Omni:
Deepgram vs R1-AVQA:
step2_describe_audio_with_r1avqa.py demonstrates how to use this model.XGC-AVis is a multi-agent framework for enhancing audio-video temporal alignment for multimodal models. This repository provides a series of Python scripts for processing video and audio data, extracting relevant segments, and generating answers using different models (e.g., Gemini Flash, Qwen-Omni). The overall flow is organized into sequential steps to achieve the goal of localizing relevant video segments and providing model-based answers for the given queries.
r1-avqa model.To run the entire process, execute the scripts in the following order:
Step 1 - Transcribe subtitles:
python scripts/step1_transcribe_subtitle.py
Step 2 - Describe the audio:
Use r1-avqa for audio description:
python scripts/step2_describe_audio_with_r1avqa.py
Step 3 - Localize relevant segments with Aria:
python scripts/step3_localize_relevant_segments_with_aria.py
Step 3b - Localize relevant segments with Qwen Omni: This step uses the Qwen Omni planner.
python scripts/step3b_localize_relevant_segments_with_qwen_omni.py
Step 4 - Answer with Gemini Flash:
python scripts/step4_answer_with_gemini_flash.py
Step 4b - Answer with Gemini Flash:
python scripts/step4b_answer_with_gemini_flash.py
Step 5 - Adjudication: Final adjudication to determine the best answer.
python scripts/step5_Adjudication.py
Daily-Omni:
Deepgram vs R1-AVQA:
step2_describe_audio_with_r1avqa.py demonstrates how to use this model.