[fpc-pascal] How to play H264 mp4 video using free pascal?

Fabio Luis Girardi fluisgirardi at gmail.com
Tue Jul 22 13:37:46 CEST 2014


Start omxplayer with tprocess and use pipes to do this
Em 22/07/2014 08:30, "Dennis Poon" <dennis at avidsoft.com.hk> escreveu:

> what library (e.g. ffmpeg) should I call?
> any example e.g. of it?
>
> Actually, the target platform is Raspberry Pi (raspbian OS). It comes with
> a video player that does it (omxplayer) but I don't know how to interface
> with it apart from launching it.
> After launch, I don't know how to pause it from my free pascal program.
>
> The goal is to have my program play an advertisement video as a screen
> saver. When someone touches the mouse or keyboard, the video pause and
> return to my program.
>
> Thanks in advance.
>
> Dennis
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140722/8f11f456/attachment.html>


More information about the fpc-pascal mailing list