[FFmpeg-user] I need to be able to convert audio files to video & run through an admin system on a website

Lou Logan lou at lrcd.com
Wed Oct 3 22:25:46 EEST 2018


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


More information about the ffmpeg-user mailing list