Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: script to add and remove SRT track from Mux #1458

Merged
merged 2 commits into from Mar 21, 2024

Conversation

jbranchaud
Copy link
Contributor

Adding a WEBVTT subtitles track to an exist Mux asset took my a little trial and error because I didn't have the format right to begin with. These two scripts made that process easier.

after party

Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
badass-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
colt-steele ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
devrel-fyi ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
epic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
pro-aws ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
pro-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
skill-stack-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
testing-javascript ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm
total-typescript-turbo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 21, 2024 11:46pm

const assetId = undefined // Set me!
const srtUrl = undefined // Set me!

const addSrtToSpecificVideo = async (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

personally I found it useful to check here if it already exists and remove it first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants