Discussion:
[FFmpeg-user] I need to be able to convert audio files to video & run through an admin system on a website
Al Vincent
6 years ago
Permalink
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
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-reques
Lou Logan
6 years ago
Permalink
Post by 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?
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
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffm
Andrew G. Watters
6 years ago
Permalink
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
***@andrewwatters.com
+1 (415) 261-8527
http://www.andrewwatters.com
_______________________________________________
ffmpeg-user mailing list
ffmpeg-***@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-***@ffmpeg.org with subject "unsub
Loading...