Repository navigation
Hold the last CDG frame instead of ending the video at the graphics end (2.3.4) - #69
Merged
Merged
Conversation
…nd (2.3.4) Real karaoke rips often have a .cdg that ends before the .mp3. The exec's -shortest then cut the whole song at the graphics end, reported as videos being truncated (#64). The pre-rewrite command had no -shortest and played the full song with the graphics frozen, but relied on player-dependent handling of a video track shorter than the audio. Add tpad=stop_mode=clone:stop=-1 to the filter chain: the video clones its last frame indefinitely, so -shortest always ends the file at the audio's end, with real encoded frames all the way. This also trims the silent tail when the .cdg is the longer input. Verified against the 0.12.10 wasm core in both mismatch directions. Mirror the filter in the local-command disclosure, the product spec, and the README (whose command was still the pre-rewrite -s 640x480 form). Fixes #64
This was referenced Jul 22, 2026
liladas
added a commit
that referenced
this pull request
Jul 22, 2026
Doc-only fixes from an audit of planned-vs-implemented behavior: - feedback-and-analytics.md event taxonomy rewritten to match the code: input_type is "zip" | "pair" (not "loose"), conversion_failed sends reason (not error_code), and the 11 shipped events missing from the list (theme_toggled, command_copied, feedback_opened, ...) are now documented, along with the file-name properties and super props. - Note that file names are sent (contents never are); the old "no file names ever sent" claim predated ConvFiles. - Tally integration section updated from "link-out first, popup later" to the shipped popup-with-link-fallback shape. - Feedback-prompt dismissal documented as in-memory per visit, matching feedback.ts, instead of the planned localStorage persistence. - PRODUCT_SPEC.md: drop the resolved README -s 640x480 limitation (fixed in #69) and bump the last-reviewed date.
This was referenced Aug 1, 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.
Fixes #64.
Problem
Real karaoke rips often have a
.cdgthat ends before the.mp3. The conversion's-shortestflag cut the entire output at the graphics end, which users experienced as truncated videos. The pre-rewrite Python command (1f272cc) had no-shortest, so those files produced a full-length song with the graphics frozen on the last frame, at the cost of a video track shorter than the audio track (player-dependent behavior).Change
Append
tpad=stop_mode=clone:stop=-1to the video filter chain and keep-shortest. The video stream clones its last frame indefinitely and can never end first, so-shortestends the file exactly at the audio's end, with real encoded frames throughout. A.cdglonger than the audio is still trimmed (no silent tail).Also mirrored in the "Prefer the command line?" disclosure (command string + explanations), PRODUCT_SPEC.md, and README.md, where the documented command was still the pre-rewrite
-s 640x480form.Verification
vitest78/78, eslint clean (3 pre-existing warnings),tsc -bclean, Playwright e2e 5/5