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
2 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".