Page 1 of 1

Play file from memory location

Posted: 23 Mar 2009 09:43
by MidnightCoder
Is it possible to have VLC play a media file from a particular location in memory instead of from a physical file on disk? In a scenario where you are dealing with a sensitive file, you might not want to save to disk. I downloaded the VLC source and made some modifications to it. I would like to add this feature but don't know where to start. Any pointers?

A typical use after this feature has been implemented would be to call VLC from an outside process and give vlc the memory location and the file size to read the data from.

Re: Play file from memory location

Posted: 23 Mar 2009 14:40
by VLC_help
Use ramdrive :D

You would have to write a new access module, if you want to read normal files from memory. You should look at fake and file access modules if you want so examples how the access modules work. If you want more help, I suggest videolan IRC channel.