<p dir="ltr">Start omxplayer with tprocess and use pipes to do this</p>
<div class="gmail_quote">Em 22/07/2014 08:30, "Dennis Poon" <<a href="mailto:dennis@avidsoft.com.hk">dennis@avidsoft.com.hk</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
what library (e.g. ffmpeg) should I call?<br>
any example e.g. of it?<br>
<br>
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.<br>
After launch, I don't know how to pause it from my free pascal program.<br>
<br>
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.<br>
<br>
Thanks in advance.<br>
<br>
Dennis<br>
______________________________<u></u>_________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org" target="_blank">fpc-pascal@lists.freepascal.<u></u>org</a><br>
<a href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/<u></u>cgi-bin/mailman/listinfo/fpc-<u></u>pascal</a><br>
</blockquote></div>