Python + ffmpeg script to generate animated waveform video
- or -
Post a project like this2181
$500
- Posted:
- Proposals: 1
- Remote
- #1986099
- Awarded
Description
Experience Level: Expert
Estimated project duration: less than 1 week
I'm looking for a script to generate audiogram style videos for short pieces of audio. The script needs to:
- Start with a static background image and add the audio (it'll be an MP3)
- Optionally add a text caption, horizontally centred, but at a y co-ordinate that can be specified
- Add a waveform of the audio, full width but at a y co-ordinate that can be specified
- Output to an H264 video via ffmpeg
The script will run on an Ubuntu 16.04 virtual machine, which already runs ffmpeg. Optional packages can be installed, but I'll need the scripts or Apt package details to install them (it's all done using Ansible for provisioning).
The standard ffmpeg filters won't cover this, as they look artless. Essentially I'm looking for a Python port of this package: https://github.com/nypublicradio/audiogram, but with no user interface, and only one theme to begin with. If you're able to build it extensibly so that it could later support more themes, I'll likely come back to you with that.
I'm an experienced Python developer by trade, so know my code, but I don't have time to delve into the details of getting accurate peak data from audio, mapping that onto images and so on. I've previously written an implementation of this but it was slow, hacky and didn't look great.
I don't want this to be a black box, so the code needs to be readable and tweakable, and as configurable as possible. I want to avoid using any outside services, and just run everything from my infrastructure.
If you think this is something you can do, if you can point to past experience in this area, that'd be great. Alternatively, if you can demonstrate that you know how this might be done - without giving the step-by-step technical details obviously - that'll be great.
This tool will be used for commercial purposes (although I don't have a huge budget), so you should set your price accordingly. I can provide sample assets, including a mockup of what I'd like the finished product (the video) to look like.
Thanks. I look forward to seeing what you come up with!
- Start with a static background image and add the audio (it'll be an MP3)
- Optionally add a text caption, horizontally centred, but at a y co-ordinate that can be specified
- Add a waveform of the audio, full width but at a y co-ordinate that can be specified
- Output to an H264 video via ffmpeg
The script will run on an Ubuntu 16.04 virtual machine, which already runs ffmpeg. Optional packages can be installed, but I'll need the scripts or Apt package details to install them (it's all done using Ansible for provisioning).
The standard ffmpeg filters won't cover this, as they look artless. Essentially I'm looking for a Python port of this package: https://github.com/nypublicradio/audiogram, but with no user interface, and only one theme to begin with. If you're able to build it extensibly so that it could later support more themes, I'll likely come back to you with that.
I'm an experienced Python developer by trade, so know my code, but I don't have time to delve into the details of getting accurate peak data from audio, mapping that onto images and so on. I've previously written an implementation of this but it was slow, hacky and didn't look great.
I don't want this to be a black box, so the code needs to be readable and tweakable, and as configurable as possible. I want to avoid using any outside services, and just run everything from my infrastructure.
If you think this is something you can do, if you can point to past experience in this area, that'd be great. Alternatively, if you can demonstrate that you know how this might be done - without giving the step-by-step technical details obviously - that'll be great.
This tool will be used for commercial purposes (although I don't have a huge budget), so you should set your price accordingly. I can provide sample assets, including a mockup of what I'd like the finished product (the video) to look like.
Thanks. I look forward to seeing what you come up with!
Mark S.
100% (6)Projects Completed
7
Freelancers worked with
7
Projects awarded
75%
Last project
4 Dec 2023
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies