I need to be able to convert audio files to video & run through an admin system on a website

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

I need to be able to convert audio files to video & run through an admin system on a website

Al Vincent
Can you help, please? I need to find a way to auto convert an mp3 or wav
file to short video through the backend when someone hits a button on the
front end. And then it be linked to a share on social media. is
this possible? Can ffmpeg help do this?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: I need to be able to convert audio files to video & run through an admin system on a website

Lou Logan
On Wed, Oct 3, 2018, at 9:56 AM, Al Vincent wrote:
> Can you help, please? I need to find a way to auto convert an mp3 or wav
> file to short video through the backend when someone hits a button on the
> front end. And then it be linked to a share on social media. is
> this possible? Can ffmpeg help do this?

This is a very broad request. On this mailing list we can help you with the audio to video part using ffmpeg (unscripted), but not the rest. Some basic examples:

Combine image and audio:
ffmpeg -loop 1 -i image.png -i audio.mp3 -vf format=yuv420p +movflags faststart -shortest output.mp4

Make video from a filter such as showwaves:
ffmpeg -i input.wav -filter_complex "[0:a]showwaves=s=1280x720:mode=line:rate=25,format=yuv420p[v]" -map "[v]" -map 0:a +movflags faststart output.mp4

https://ffmpeg.org/ffmpeg-filters.html
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: I need to be able to convert audio files to video & run through an admin system on a website

Andrew G. Watters
In reply to this post by Al Vincent
Dear Al,

It depends on whether you have the ability to install ffmpeg on the web
server.  If you do, it's easy to do this.  See also:
https://trac.ffmpeg.org/wiki/Slideshow

If you can't install ffmpeg on the web server, there is a secondary
solution involving the use of curl to post the data to a script on a
server that you do control, and then copy the finished file to the web
server.

If you still need help, please let me know.

Thanks,

Andrew Watters

--
Andrew G. Watters
[hidden email]
+1 (415) 261-8527
http://www.andrewwatters.com
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".