Thread overview
WebCam or Video in D
Aug 14, 2017
brian
Aug 14, 2017
Guillaume Piolat
Aug 16, 2017
brian
August 14, 2017
Howdy folks.

Has anyone gotten an example of using D as mechanism to read in video files, specifically from a webcam?

I don't see any OpenCV libraries, and the example in the DCV library that uses FFMPEG, I can't get to work (I've raised an issue in Github here https://github.com/libmir/dcv/issues/119 if anyone has suggestions).

If anyone has a working example of something that reads in some video, that'd be a start for a project I'm looking to undertake.

TIA
Brian
August 14, 2017
On Monday, 14 August 2017 at 04:41:24 UTC, brian wrote:
> Howdy folks.
>
> Has anyone gotten an example of using D as mechanism to read in video files, specifically from a webcam?
>
> I don't see any OpenCV libraries, and the example in the DCV library that uses FFMPEG, I can't get to work (I've raised an issue in Github here https://github.com/libmir/dcv/issues/119 if anyone has suggestions).
>
> If anyone has a working example of something that reads in some video, that'd be a start for a project I'm looking to undertake.
>
> TIA
> Brian

It wouldn't be very hard to write a minimal OpenCV loader (for example based on DerelictUtil) with only the few functions you need in OpenCV.
August 16, 2017
On Monday, 14 August 2017 at 13:19:30 UTC, Guillaume Piolat wrote:
>
> It wouldn't be very hard to write a minimal OpenCV loader (for example based on DerelictUtil) with only the few functions you need in OpenCV.

Do you know of any simple examples that I could try mimic?
I've looked through some of the Derelict code before and it doesn't seem exceptionally straight-forward, but maybe I haven't spent enough time on it.