I wrote a simple bot that grabs the video and audio files from reddit (these files are always seperated on reddit api) and now I am looking for an easy way to automate combining the audio and video files together using an npm or possibly FFmpeg or some other way.
I could use a video editor and combine the files that way one by one but I want to do it inside my program which will save me a lot of work.
Do any of you know of a npm that can easily do this? I searched myself but couldn't find anything.
I am programming in typescript. Both audio and video files come in mp4 format.
I have searched online for an npm that does this but only found a few that can combine multiple audio files together, none that combine a video and audio file.
Thanks for the help.
Maybe this can do the job? It's an npm wrapper for ffmpeg
https://www.npmjs.com/package/fluent-ffmpeg
Related
I want to play audio without having to use HTML and just do it with node. The program is a webscraper that I want to alert me with a sound when needed. I looked up online for packages but I couldn't find any that worked. If there is any way to do this please let me know.
I wanted to create a simple GUI app which selects one of the MP3 files and plays it. Can't seem to find the best library for doing that with PyQT. Therefore need some recommendation on it. Don't mind switch to JavaFX or something if it has more options.
I know GUI is probably outdated nowadays when everything is web. Would Javascript be a better choice?
try vlc module for python to play all types of audio and videos in case needed later. You should make use of the Qt example seen in examples folder when you unzip the downloaded tar file
I need to build a feature in my react.js app that allows users to trim and split the audio files they upload. I know this can be done, as web apps such as Youtube allow editing of video/audio files right in the browser. But I'm not sure where to start. Would appreciate any ideas.
Would also welcome suggestions as to how to do this on the backend with node.js, i.e. modules to use, etc.
I'm in a little over my head with a project for a client, they want to build an audio editor that will allow the user to trim their uploaded audio files and save them. I've built the file uploader, and the detail view for the individual audio files, my question is how would this best be implemented? I've been looking at
Peaks.js
and I want to make sure thats the right way to go before diving in. Never used npm in a django project before, is it like using any other js library?
I've also been told about sox, which is great for manipulating the sound files, but what about displaying the sound to the user/editing in the browser?
Any help or general direction-pointing would be greatly appreciated and could save me a bunch of time potentially.
I have used html audio tags for playing multiple mp3 file in browser. I want to know if it is possible to record these mp3's into a single mp3 file in javascript(specifically)?. Or even if any module which can help me record these playing mp3's.
Generally, no.
It is possible to work with audio in JS but probably not in the way you want. See this question for more info.
I don't know what exactly you're trying to do but it seems like you would need to do it server-side, and even that would take effort to achieve (Since you would need to find a library that could merge multiple MP3s into a single file and then serve that as a download to the user. This would also require you to know how to install such software and make it available to your server-side code).