GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — fix(video): pin the output frame rate on rendered analyzer clips by basil-k-aji-dev · Pull Request #92 · google/artemis ConversationCloses #52. Problem
A 3.0s window that should hold ~45 frames at the default 15fps holds 77 — about 40% duplicates. Duration stays correct, which is why nothing downstream noticed, but the guarantee in the function's own docstring — "so ChangeOne argument on the output stage: "-map", "[outv]",
+ "-r", str(fps),
"-c:v", "libx264",with a comment recording why it cannot be dropped again. VerificationThis is covered by an existing test that fails on
Worth noting these exercise real ffmpeg, not a mock — the bundled
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions`render_timeline_clip` sets `fps={fps}` in each input segment's filter chain
but never gives the output stage an explicit rate. ffmpeg then encodes the
muxed result at its own default of 25fps and duplicates frames to preserve
wall-clock duration:
frame=77 ... dup=31 drop=0
A 3.0s window that should hold ~45 frames at the default 15fps held 77, about
40% of them duplicates. Duration stayed correct, so nothing downstream
noticed, but the frame_index / fps -> recording-time mapping this function
exists to guarantee -- "so `start_time + frame_offset` still names the true
recording time" -- was wrong on every analyzer clip the agent renders.
Pass `-r {fps}` to the output stage.
`tests/unit/test_unified_controller_video.py::test_analyzer_clip_keeps_timeline_time_across_restart_gap`
already covered this and failed on main with `assert 77 <= 47`.
Closes google#52.
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Fix analyzer clip framerateUh oh!
There was an error while loading. Please reload this page. 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. | |||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |