[PR #1380] feat: video clipping #1393

Open
opened 2025-11-09 10:12:07 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/1380
Author: @AlenVelocity
Created: 7/1/2025
Status: 🔄 Open

Base: mainHead: clip


📝 Commits (4)

  • 2504274 api/metadata: endpoint to fetch metadata of given video
  • d965cf4 app: clipping prototype
  • 2a1aaef Merge branch 'imputnet:main' into clip
  • 1eb296c app: clean up and update request types

📊 Changes

15 files changed (+946 additions, -9 deletions)

View changed files

📝 api/src/core/api.js (+70 -0)
📝 api/src/processing/match-action.js (+2 -0)
📝 api/src/processing/match.js (+21 -0)
📝 api/src/processing/schema.js (+3 -0)
📝 api/src/processing/services/youtube.js (+23 -1)
📝 api/src/stream/ffmpeg.js (+29 -5)
📝 api/src/stream/manage.js (+3 -0)
web/src/components/save/ClipControls.svelte (+247 -0)
web/src/components/save/ClipRangeSlider.svelte (+348 -0)
📝 web/src/components/save/Omnibox.svelte (+62 -0)
web/src/components/save/buttons/ClipCheckbox.svelte (+100 -0)
📝 web/src/components/save/buttons/DownloadButton.svelte (+13 -1)
📝 web/src/lib/api/api.ts (+19 -0)
📝 web/src/lib/api/saving-handler.ts (+2 -1)
📝 web/src/lib/types/api.ts (+4 -1)

📄 Description

fixes https://github.com/imputnet/cobalt/issues/375

didn't se an open PR on the issue. Please close if this is already being worked on or not planned atm

demo:

https://github.com/user-attachments/assets/4fecb846-1ad0-4395-bf1c-7410ca07afe4

marked as draft because the way it's done rn is highly inefficient and parts like local processing and the UI needs more work


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/1380 **Author:** [@AlenVelocity](https://github.com/AlenVelocity) **Created:** 7/1/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `clip` --- ### 📝 Commits (4) - [`2504274`](https://github.com/imputnet/cobalt/commit/25042742ad5ecda747df5a1097b0fe8c3e1e11a8) api/metadata: endpoint to fetch metadata of given video - [`d965cf4`](https://github.com/imputnet/cobalt/commit/d965cf4da353a242e9ca35278c8f94ea90758f38) app: clipping prototype - [`2a1aaef`](https://github.com/imputnet/cobalt/commit/2a1aaef0b0b099070a9218c62f0c654028a62f7c) Merge branch 'imputnet:main' into clip - [`1eb296c`](https://github.com/imputnet/cobalt/commit/1eb296cd8bcfa5523778e2876d8e4b3164e02350) app: clean up and update request types ### 📊 Changes **15 files changed** (+946 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `api/src/core/api.js` (+70 -0) 📝 `api/src/processing/match-action.js` (+2 -0) 📝 `api/src/processing/match.js` (+21 -0) 📝 `api/src/processing/schema.js` (+3 -0) 📝 `api/src/processing/services/youtube.js` (+23 -1) 📝 `api/src/stream/ffmpeg.js` (+29 -5) 📝 `api/src/stream/manage.js` (+3 -0) ➕ `web/src/components/save/ClipControls.svelte` (+247 -0) ➕ `web/src/components/save/ClipRangeSlider.svelte` (+348 -0) 📝 `web/src/components/save/Omnibox.svelte` (+62 -0) ➕ `web/src/components/save/buttons/ClipCheckbox.svelte` (+100 -0) 📝 `web/src/components/save/buttons/DownloadButton.svelte` (+13 -1) 📝 `web/src/lib/api/api.ts` (+19 -0) 📝 `web/src/lib/api/saving-handler.ts` (+2 -1) 📝 `web/src/lib/types/api.ts` (+4 -1) </details> ### 📄 Description fixes https://github.com/imputnet/cobalt/issues/375 didn't se an open PR on the issue. Please close if this is already being worked on or not planned atm demo: https://github.com/user-attachments/assets/4fecb846-1ad0-4395-bf1c-7410ca07afe4 marked as draft because the way it's done rn is highly inefficient and parts like local processing and the UI needs more work --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-09 10:12:07 -06:00
Sign in to join this conversation.