Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 30, 2009 Video Codecs? | ||||
---|---|---|---|---|
| ||||
Does anybody know of any D libraries implementing or wrapping video codecs? I need to read video files (AVI or MPEG would be fine) using DIVX, XVID, or any other popular codec. In addition to playing those files in a media player control, I need to extract individual frames and perform various filtration and processing operations on them, for a computer vision project I'm about to start working on. I looked around at DSource but didn't find anything there. Any ideas? --benji |
September 30, 2009 Re: Video Codecs? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benji Smith | Benji Smith wrote:
> Does anybody know of any D libraries implementing or wrapping video codecs?
>
> I need to read video files (AVI or MPEG would be fine) using DIVX,
> XVID, or any other popular codec. In addition to playing those files in a media player control, I need to extract individual frames and perform various filtration and processing operations on them, for a computer vision project I'm about to start working on.
>
> I looked around at DSource but didn't find anything there. Any ideas?
>
> --benji
It's really easy to write your own bindings, be it for DirectShow or for decoder libraries from the existing C headers. Thats what I always do.
|
September 30, 2009 Re: Video Codecs? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Benji Smith | On 9/30/09 22:42, Benji Smith wrote: > Does anybody know of any D libraries implementing or wrapping video codecs? > > I need to read video files (AVI or MPEG would be fine) using DIVX, > XVID, or any other popular codec. In addition to playing those files in > a media player control, I need to extract individual frames and perform > various filtration and processing operations on them, for a computer > vision project I'm about to start working on. > > I looked around at DSource but didn't find anything there. Any ideas? > > --benji There is rulesPlayer: http://www.dsource.org/projects/rulesplayer it uses MPlayer so I guess it has to have bindings to it but I don't know what you can do with MPlayer. |
October 01, 2009 Re: Video Codecs? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | Jacob Carlborg wrote:
> On 9/30/09 22:42, Benji Smith wrote:
>> Does anybody know of any D libraries implementing or wrapping video codecs?
>>
>> I need to read video files (AVI or MPEG would be fine) using DIVX,
>> XVID, or any other popular codec. In addition to playing those files in
>> a media player control, I need to extract individual frames and perform
>> various filtration and processing operations on them, for a computer
>> vision project I'm about to start working on.
>>
>> I looked around at DSource but didn't find anything there. Any ideas?
>>
>> --benji
>
> There is rulesPlayer: http://www.dsource.org/projects/rulesplayer it uses MPlayer so I guess it has to have bindings to it but I don't know what you can do with MPlayer.
He's probably better off using ffmpeg directly. Or DirectShow. Maybe there are even bindings for those on dsource.
|
Copyright © 1999-2021 by the D Language Foundation