digitalmars.D.learn - Anybody ever tried to work with ffmpeg?
Hi! I'm trying to get ffmpeg to work with D; I've got some stuff running, but ... well. av_open_input_file gives me -2 as an error and I can't figure out what this means (the #defines for the error codes are impossible to understand, much less translate to D). Anybody ever done that and can give me any hint? The documentation for ffmpeg is really not too ... wordy. Or: does anybody know a good decoding library to use with D? I'm very open to the idea of not using ffmpeg, but there's not much alternatives as far as I could find. -Mike -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 03 2009
On Tue, 03 Feb 2009 23:25:29 +0100, Mike <vertex gmx.at> wrote: Never mind - as it usually is, 5 minutes after sending a question to a NG (after 2 hours of wasted time) you have the correct idea. In this case, I called "avcodec_register_all" instead of "av_register_all" before "avformat_open_input_file". Works now. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Feb 03 2009