API for creating mp3/flv or similar formats
I have a brilliant idea for something really cool. I would like to programmatically create an flv (or some other YouTube-acceptable format). The input would be a bunch of programmatically created bitmaps. Is there a C++ library that will let me do this?
I'll tell you when it's done. But I need the library first. Or it'll take a year, since I'll have to write my own.
Take a look at the "libavcodec" library over at the FFMPEG Project site.
EDIT: It's a little bit of a pain to build the Windows DLLs, but it'll do what you want. I'm currently using it for my University project.
EDIT: It's a little bit of a pain to build the Windows DLLs, but it'll do what you want. I'm currently using it for my University project.
Thanks, but are you sure you got the link right? Site's not loading for me.
A point I forgot to specify: Unix, please. I suck at Windows programming.
On consideration, it looks as though ImageMagick may be able to do what I want, or at any rate enough of it - it'll do GIF, anyway. But if anyone has a library to go straight to flv, that would be even better.
A point I forgot to specify: Unix, please. I suck at Windows programming.
On consideration, it looks as though ImageMagick may be able to do what I want, or at any rate enough of it - it'll do GIF, anyway. But if anyone has a library to go straight to flv, that would be even better.
Maybe you can use mencoder or ffmpeg via the command line. I could be wrong but I think you might be able to stream your raw image data via a pipe to them and have them spit out a video in whatever format you want.
Actually DirectShow would be ideal for this if you were developing this on the Windows platform. Since you could just use someone else's mp3/flv filter and connect it to your own graph.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement