Page 1 of 1

Playing Video Stored in Memory

Posted: 15 Dec 2009 16:58
by noelephant
I need to integrate a video player / video API into my MFC / C++ application. It needs to be able to take video data stored in memory and display it in a preview window. The video data will be byte arrays coming from custom hardware which will eventually be written to disk. (AVI format)

Is it possible with libVLC to play video data in memory? If not, is there an alternative approach? I need to avoid writing the data to a file then reading it back.

Thanks!

Re: Playing Video Stored in Memory

Posted: 16 Dec 2009 16:23
by RĂ©mi Denis-Courmont
Yes, the vmem output does that

Re: Playing Video Stored in Memory

Posted: 17 Dec 2009 01:22
by Jean-Baptiste Kempf
a probably the reverse. vmem outputs video in memory. invmem and imem use the reverse way from memory to vlc

Re: Playing Video Stored in Memory

Posted: 21 Dec 2009 09:28
by MidnightCoder
Is vmem a new codec in v1.0.x? Will it help me solve this problem (viewtopic.php?f=7&t=57207)? Can you give an example how to use invmem? I'm looking for the syntax. I"m wondering how do specify the memory address of my video file from an external application.

Re: Playing Video Stored in Memory

Posted: 21 Dec 2009 11:07
by nimport nawak
Here is an example :

viewtopic.php?f=32&t=53256