Video compressor: filename field, poster JPEG and embed snippet - #332
Merged
Conversation
- Add an editable filename field, populated from the chosen file, that drives every download name (name-medium.mp4, name-small.mp4, ...) and updates existing results when edited - Extract the first frame of the original video as a JPEG, shown under the results with its size and a download button. ffmpeg writes the frame as a PNG and the browser converts it, because encoding straight to JPEG with the mjpeg encoder crashed the ffmpeg.wasm worker - Always show a <video>/<source> embed snippet for the first displayed video, with the JPEG as its poster and preload="none" so nothing downloads until play is pressed - Add a Playwright test for the new features and share the ffmpeg core cache routing between tests Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LEWEx4Q6xnTbJ6DqdW1jP6
Contributor
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Owner
Author
|
Add a "XHTML checkbox (default unchecked) that shows valid XHTML instead of HTML Have buttons on the different video sizes that cause the JPEG to be resized to match the dimensions of that video, only visible if the current dimensions do not match Use quality 0.85 for the JPEG |
…lity 0.85 - Add an XHTML checkbox (off by default) to the embed snippet that writes boolean attributes in full and self-closes the <source> element - Keep the extracted PNG frame and give each encoded version a "Resize poster to WxH" button, shown only while the poster's dimensions differ from that version's, that regenerates the JPEG at that size - Encode the poster JPEG at quality 0.85 - Extend the Playwright test to cover both Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LEWEx4Q6xnTbJ6DqdW1jP6
Deploying tools with
|
| Latest commit: |
456967d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c58057d7.tools-b1q.pages.dev |
| Branch Preview URL: | https://claude-video-compression-too.tools-b1q.pages.dev |
Contributor
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
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.
Co-Authored-By: Claude Fable 5.1 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01LEWEx4Q6xnTbJ6DqdW1jP6