Hi, thanks for releasing this work.
I have a few questions about the codec preprocessing pipeline used in LLaVA-OneVision-2 / codec-video-prep.
From the Python API layer, I can trace the flow roughly as:
processor(..., video_backend="codec")
_run_cv_preinfer(...)
cv-preinfer
Python pipeline code such as api.py, pipeline.py, readiness.py, topk_2x2_bitcost.py
From these files, it looks like the current online codec path mainly uses bitcost / readiness-based grouping and patch selection.
However, I could not find the actual extraction logic for:
- motion vectors (MV)
- residual_y
lower-level codec-domain parsing / decoder instrumentation
So I want to ask:
-
Is the current released codec pipeline for LLaVA-OneVision-2 using only bitcost, or does it also use MV / residual information somewhere in the lower-level backend?
-
If MV / residual_y are used, where is that extraction logic implemented?
-
Is the low-level backend source code public?
For example, the source for cv_reader_fast
Any FFmpeg patches / decoder modifications used to export bitcost / MV / residual-related signals
If that code is not public yet, is there any plan to release it?
I can see the Python orchestration code in the wheel, but I could not find the underlying C/C++ source or FFmpeg patch code, so I am not sure whether I am missing another public repository.
Thanks.
Hi, thanks for releasing this work.
I have a few questions about the codec preprocessing pipeline used in LLaVA-OneVision-2 / codec-video-prep.
From the Python API layer, I can trace the flow roughly as:
processor(..., video_backend="codec")
_run_cv_preinfer(...)
cv-preinfer
Python pipeline code such as api.py, pipeline.py, readiness.py, topk_2x2_bitcost.py
From these files, it looks like the current online codec path mainly uses bitcost / readiness-based grouping and patch selection.
However, I could not find the actual extraction logic for:
lower-level codec-domain parsing / decoder instrumentation
So I want to ask:
Is the current released codec pipeline for LLaVA-OneVision-2 using only bitcost, or does it also use MV / residual information somewhere in the lower-level backend?
If MV / residual_y are used, where is that extraction logic implemented?
Is the low-level backend source code public?
For example, the source for cv_reader_fast
Any FFmpeg patches / decoder modifications used to export bitcost / MV / residual-related signals
If that code is not public yet, is there any plan to release it?
I can see the Python orchestration code in the wheel, but I could not find the underlying C/C++ source or FFmpeg patch code, so I am not sure whether I am missing another public repository.
Thanks.