Repository navigation
Add source audio selection, sports framing, closing text and scheduling - #212
Open
Faizanpatel10 wants to merge 2 commits into
Open
Faizanpatel10 wants to merge 2 commits into
Faizanpatel10 wants to merge 2 commits into
Conversation
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.
1. YouTube import, audio, and agent access
Creators can choose the audio YouTube already provides with a source before OpenShorts finds clips. The choice travels through download, transcription, clip selection, and export. This is especially useful for channels that publish several dubbed tracks on a single video.
POST /api/process/audio-tracksreturns a list of language codes. It uses the existing public-source validation, single-video check, entitlement, and probe budget. Successful lookup requires metadata only and the response exposes language codes without exposing extraction links or credentials.source_audio_languageoption works with/api/processand the job command. The API validates the language code and YouTube source before starting a job. The validated option is part of the persisted command, so a resumed submission keeps the choice.openshorts audio-tracks <url>lists languages andopenshorts process <url> --source-audio-language pt-BRselects one. MCP clients can calllist_source_audio_tracksand setsource_audio_languageonprocess_video. The tool carries the existing MCP OAuth scope and reports errors from the REST route.2. Sports framing and text editing
sports ballclass in compatible local YOLO weights, caps the analysis image width, rejects weak detections, and requires nearby observations before following a track. Each shot starts with independent observations.3. Publishing, verification, and remaining parity
mutonby/openshortsmainand keeps these improvements separate from the earlier transcription and visual framing pull request. It uses the existing upstream worker, editor, cache, publishing, and storage entry points.