digitalmars.D.learn - Video playback
- Dmitry (7/7) May 18 2014 Hi everyone!
- Rikki Cattermole (10/17) May 18 2014 My suggestion would be to go the direction of libvlc[0]. I did find a
- Dmitry (2/9) May 18 2014 Thank you, Rikki! I try.
- alexhairyman (4/11) May 19 2014 the gtkd project also has gstreamer ported and have an example
- ponce (4/11) May 19 2014 If you can ensure the host machine will have ffmpeg installed,
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).
May 18 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
May 18 2014
On Sunday, 18 May 2014 at 07:37:33 UTC, Rikki Cattermole wrote: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.Thank you, Rikki! I try.
May 18 2014
On Sunday, 18 May 2014 at 07:10:29 UTC, 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).the gtkd project also has gstreamer ported and have an example where a video is played back in the examples directory. I haven't tried it myself but it's worth checking out.
May 19 2014
On Sunday, 18 May 2014 at 07:10:29 UTC, 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).If you can ensure the host machine will have ffmpeg installed, you can do it like AE does: https://github.com/CyberShadow/ae/blob/master/utils/graphics/ffmpeg.d
May 19 2014