chris-shaw-2011 / write-aac-metadata Goto Github PK
View Code? Open in Web Editor NEWNodeJS module that will allow you to write aac (m4a, m4b) metadata using ffmpeg
Home Page: https://www.npmjs.com/package/write-aac-metadata
License: MIT License
NodeJS module that will allow you to write aac (m4a, m4b) metadata using ffmpeg
Home Page: https://www.npmjs.com/package/write-aac-metadata
License: MIT License
Internal server error: Cannot find module 'audiotagtest/node_modules/write-aac-metadata/dist/DefaultOptions' imported from audiotagtest/node_modules/write-aac-metadata/dist/index.js
This is meant to run on server right? Im trying to use like
import metadataWriter from "write-aac-metadata"
export async function POST(event) {
console.log("start set tags")
const body = await event.request.formData()
const tags = body.get("tags")
const file = body.get("file")
if (!file || !tags) {
return new Response("File or tags missing", { status: 400 })
}
console.log([...body])
const updatedFileRes = await metadataWriter(
file,
{ title: "Some Title", description: "Description" },
"someFile-copy.aac"
)
console.log("updatedFileRes", updatedFileRes)
if (updatedFileRes) {
return new Response(updatedFileRes, {
status: 200,
headers: { "Content-Type": "audio/aac" },
})
} else {
return new Response("Error updating tags", { status: 500 })
}
}
just as simple as possible to get working and am giving a .aac file. If this is not a super well-maintained lib can you recommend good alternatives? But I like the simplicity of this if can get working
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.