Video playback

Rikki Cattermole via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 18 00:37:27 PDT 2014


On 18/05/2014 7:10 p.m., Dmitry wrote:
> Hi everyone!
> I want to play video in my D-application (maybe WebM or Theora). However
> didn't find any library for operation with video in D. I am a beginner
> in D, experience of transfer of libraries with C/C++, certainly isn't
> present.
> Maybe somebody will prompt something?
>
> P.S. My application uses SFML (DSFML).

My suggestion would be to go the direction of libvlc[0]. I did find a 
forum post from SFML that may help you.
It is a c library so it shouldn't be too hard to create a binding to. 
Perhaps something along the lines of Derelict-Util[2] will help with it.

If you need shared libraries and don't want to build your own, you 
should be able to extract them after installing Vlc itself.

[0] https://wiki.videolan.org/LibVLC/
[1] http://en.sfml-dev.org/forums/index.php?topic=9386.0
[2] https://github.com/DerelictOrg/DerelictUtil


More information about the Digitalmars-d-learn mailing list