开发者

Finding audio peaks in video files

开发者 https://www.devze.com 2023-01-29 22:09 出处:网络
I have a bunch of video files that I want to process. I want to write a program that can find the audio peaks in each file and return the times where those peaks occurred.

I have a bunch of video files that I want to process. I want to write a program that can find the audio peaks in each file and return the times where those peaks occurred.

I've looked for a lot of different APIs in different languages but couldn't get any of them to work. I am partial开发者_如何学Python to php and java, so if anyone knows any good audio processing libraries in those languages that would be great! But really I don't care too much about the language. I will need to run this program on a cron.

Also, is it possible to use system calls to ffmpeg from within a script to accomplish this? Thanks in advance.


While I've only used this to work directly with audio files, the python wrapper around theechonest's audio analysis service can slurp in the audio from various video files. It uses ffmpegs shared libs to do this, though I find this wrapper much easier to work with via python then the command line.

Of particular interest within the api is echonest.video which is, to quote the docs:

Framework that turns video into silly putty.

I'd add a couple other helpful urls but apparently I can only add one since I don't have a reputation...

anyway, hopefully that's a helpful lead.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号