Repository navigation
vision: VFR-accurate video frame timestamps, area-bounded decode scale, declared min/max pixels (ported from Enntity) - #233
Merged
Conversation
Contributor
Author
|
Pair check vs parent (binary from
|
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 04:44
4d6cf36 to
342ca7e
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 04:44
e0bf6ee to
50e5a74
Compare
2 of 3 tasks
Contributor
Author
|
With ffmpeg now on reiner (static 7.0.2, user-space), the ffmpeg-gated decode tests run, and 3 frame-count tests fail on this PR's head: |
Contributor
Author
|
Fixed. The 3 failures were this PR's own (on the parent,
|
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 07:12
342ca7e to
2ac4275
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 07:12
17fe9a2 to
24e509f
Compare
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 07:19
2ac4275 to
563e7c2
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 07:19
24e509f to
e6386f6
Compare
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 07:20
563e7c2 to
ef004cc
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 07:20
e6386f6 to
6b2cf43
Compare
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 07:29
ef004cc to
f5f301e
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 07:29
6b2cf43 to
ea4e068
Compare
AzeezIsh
force-pushed
the
stack/loop-repair
branch
from
October 29, 2026 07:30
f5f301e to
7360981
Compare
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 07:30
ea4e068 to
53e9c2d
Compare
AzeezIsh
marked this pull request as ready for review
October 29, 2026 07:39
…video bounds Port of Enntity/atlas 6f3d0a7 + 95d20a2 + 170540e + 0eef403 (AGPL-3.0-only), on top of #202's already-landed expansion machinery. - decode_with_plan returns each emitted frame's real PTS from ffmpeg's showinfo instead of the plan's assumed positions — identical on CFR, materially different on VFR. - The decoded scale bounds by pixel AREA, not per-side (a 1xN strip has a huge side inside any per-side bound). - read_declared_pixels reads both bounds of one modality from whichever processor file declares the max: image min_pixels beside longest_edge, video_processor's from video_preprocessor_config.json or processor_config.json [video_processor]. Startup installs them on VisionConfig (min_pixels, video_pixels) next to max_pixels; the operator's --vision-max-pixels still overrides the image max only. #202 already covered: the per-group timestamp expansion machinery (qwen3vl_vision.rs), QwenVisionPlaceholder.timestamps, the explicit timestamp sample plan, and the decode_frames/decode_with_plan shape. Their tests ported where our surface matches (the frames.rs-dependent cases are Enntity's separate refactor and stay out).
…fo fills the pipe mid-decode (Enntity/atlas d0cead1)
…n the cap holds them (Enntity/atlas d0cead1)
…ed (Enntity/atlas d0cead1)
AzeezIsh
force-pushed
the
stack/video-timestamps
branch
from
October 29, 2026 08:54
53e9c2d to
27629e0
Compare
This was referenced Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack: … ← #231 ← #232 ← this.
Summary
6f3d0a71,95d20a25,0eef4031) that main's qwen3_vl: per-group timestamped video prompt + t=1 MRoPE planes (3.8-27B video-fidelity 13/13; video gate back on the NVIDIA checkpoint) #202 doesn't already cover, with credit. qwen3_vl: per-group timestamped video prompt + t=1 MRoPE planes (3.8-27B video-fidelity 13/13; video gate back on the NVIDIA checkpoint) #202 already has the per-group timestamp expansion, the explicit sampling plan and timestamp plumbing.showinfoPTS. Identical on constant-frame-rate input; correct on variable-frame-rate input.processor_pixels); video frames are bounded by the per-clipvideo_pixelsvolume.min_pixels, 65,536 for Qwen3.8-Flash-Next FP4-Local, so they scale up as the reference processor does.Test plan (vs parent #232)
video54/54,processor_pixels10/10,msg_entry20/20,qwen3vl3/3 (reiner)an_h264_mp4_*,a_128_frame_plan_*); there's no ffmpeg on our pair, so the showinfo path still needs a host with ffmpegTracking: #220.
Generated with Devin