[Lazarus] Play video from memory
Philippe at quarta.com.br
Thu Mar 5 22:51:58 CET 2015
and you know how to tell MPLAYER to show the video in a specific window? (using WINDOWS, and glutCreateWindow).
De: "Leonardo M. Ramé" <l.rame at griensu.com>
Enviado: quinta-feira, 5 de março de 2015 17:44
Para: lazarus at lists.lazarus.freepascal.org
Assunto: Re: [Lazarus] Play video from memory
Yes, you can!.
1) Load your Video to a TStream (TMemoryStream for example).
2) Use TProcess to execute "mplayer -", the "-" is the parameter.
3) Send your stream to the standard input of the process.
El 05/03/15 a las 16:45, aradeonas escibió:
> Thank you Leonardo,
> I saw it before but it doesn't seem there is a way to pass memory to it
> or I couldn't find out how.
> Do you know?
> On Thu, Mar 5, 2015, at 11:40 AM, Leonardo M. Ramé wrote:
>> It looks like MPlayer can do this:
>> El 04/03/15 a las 13:29, aradeonas escibió:
>>> Any one know a library or way to buffer video file into memory and then
>>> pass it to player?
>>> Any simple player do the job but it should support a way to open file
>>> from memory.
>> Lazarus mailing list
>> Lazarus at lists.lazarus.freepascal.org
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
More information about the Lazarus