<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
Fabio Luis Girardi wrote:
<blockquote
cite="mid:CAMeLTwf92Ot7GYRpj41UCMvj6xA8RD+O8kUZiyLCfZNc7rdecQ@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" 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.</blockquote>
</div>
</blockquote>
Thanks.<br>
But how do I detect that any mouse or keyboard changes by user now
that the omxplayer is fullscreen has the focus?<br>
I need to detect user interaction to pause the omxplayer and put my
program back to the front.<br>
The question in other words is how does a non-front program detect
user inputs?<br>
<br>
Thanks.<br>
<br>
Dennis<br>
</body>
</html>