M
M
Mira Roosevelt2019-05-30 23:03:12
Video
Mira Roosevelt, 2019-05-30 23:03:12

How to create a web service that will extract audio from a video?

Good day to all!
There was an idea to create a web service that cuts audio from video and sends audio somewhere somehow.
Where - has not yet been decided. Or a link to download audio or otherwise.
The question is about creating the service itself.
Unfortunately, I have no idea about the web at all, because my direction is desktop software (well, you understand).
I only know that when creating a site, you need to buy an address from the registrar and storage from the host for its source code and other "body".
Googled the software package for cutting audio - ffmpeg. On the video - they work with them through the command line.
But we are talking about a service for users, no one will manually work with the console.
Approximate principle of the service:
1. At the input we get:
-URL to the video
-user's login -his
geolocation
2. We start processing the URL:
-When a video is found by URL (we compare it with template links of social networks and other services for the presence of video), we convert the video to audio.
-Conversion occurs without downloading the video and its full caching.
-We send audio as it is processed by the service.
3. At the output:
-Title (you can copy the name of the video, anyway)
-Image
-Streaming audio
I hope I managed to give an idea about the service.
I'm afraid to start reinventing the wheel, so I immediately ask those who know)
I also know that similar services already exist (eg savefrom), but you need to create your own and with slightly different functionality.
The main problem is where to start? Can you suggest the best way to organize all this, what software can be useful?
If there is no better ffmpeg, then how should the server itself work with the console, with what software should the machine receive a link,
receive audio from ffmpeg (including running it before that) and send it to the user? Not to cut new software myself;)
I will be glad and grateful for any hints.
I know how to google, at least show me the way.
Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-05-30
@MRoose

The main problem is where to start? Can you suggest the best way to organize all this, what software can be useful?

Well, in general, in my opinion, everything is simple.
We are writing a simple interface that will allow you to select a video file and upload it to the server (even PHP is enough), on the server, using ffmpeg, we pull out the sound and send it back to the user.
Whistlers can be screwed on later.

I
Ivan Shumov, 2019-05-30
@inoise

Start by writing TOR for freelancers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question