Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

software video capture by replaying X requests slowly

0 views
Skip to first unread message

Amir Michail

unread,
Jun 19, 2003, 8:35:08 PM6/19/03
to
Hi,

We have been working on DRT, a design recovery tool
for X apps.

http://www.cse.unsw.edu.au/~drt
http://www.cse.unsw.edu.au/~drt/screenshot

We would like to build a new version DRT II which supports
a much wider range of X apps, including real-time arcade games
and flight simulators.

You can find a proposal here:

http://www.cse.unsw.edu.au/~cs3141/proposal.pdf

In DRT II, we will need to capture a video of the X app while it is running.
Basically, we will describe interesting "events" by video snippets
showing what heppened during that event.

Real-time video capture doesn't appear possible using software only
methods with today's hardware.

So it seems perhaps we could record all the X requests and replay them
back slowly enough to construct a video. Is that the easiest way
to replay the app execution from time [t1,t2] (without showing anything before
time t1)?

It seems that replaying X input events is not enough since the app may
update the display at regular intervals using a timer-based system unrelated
to X.

Any tips would be greatly appreciated.

Amir

Michel Bardiaux

unread,
Jun 20, 2003, 8:41:53 AM6/20/03
to
Amir Michail wrote:
> Hi,
>
> We have been working on DRT, a design recovery tool
> for X apps.
>
> http://www.cse.unsw.edu.au/~drt
> http://www.cse.unsw.edu.au/~drt/screenshot
>
> We would like to build a new version DRT II which supports
> a much wider range of X apps, including real-time arcade games
> and flight simulators.
>
> You can find a proposal here:
>
> http://www.cse.unsw.edu.au/~cs3141/proposal.pdf
>
> In DRT II, we will need to capture a video of the X app while it is running.
> Basically, we will describe interesting "events" by video snippets
> showing what heppened during that event.
>
> Real-time video capture doesn't appear possible using software only
> methods with today's hardware.

Maybe you dismiss that possibility a bit too quickly. What trials did
you do?

>
> So it seems perhaps we could record all the X requests and replay them
> back slowly enough to construct a video. Is that the easiest way
> to replay the app execution from time [t1,t2] (without showing anything before
> time t1)?
>
> It seems that replaying X input events is not enough since the app may
> update the display at regular intervals using a timer-based system unrelated
> to X.
>
> Any tips would be greatly appreciated.
>
> Amir


--
Michel Bardiaux
Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
Tel : +32 2 790.29.41

Amir Michail

unread,
Jun 20, 2003, 6:11:50 PM6/20/03
to
Michel Bardiaux <mbar...@peaktime.be> wrote in message news:<3EF30111...@peaktime.be>...

> Amir Michail wrote:
> > Hi,
> >
> > We have been working on DRT, a design recovery tool
> > for X apps.
> >
> > http://www.cse.unsw.edu.au/~drt
> > http://www.cse.unsw.edu.au/~drt/screenshot
> >
> > We would like to build a new version DRT II which supports
> > a much wider range of X apps, including real-time arcade games
> > and flight simulators.
> >
> > You can find a proposal here:
> >
> > http://www.cse.unsw.edu.au/~cs3141/proposal.pdf
> >
> > In DRT II, we will need to capture a video of the X app while it is running.
> > Basically, we will describe interesting "events" by video snippets
> > showing what heppened during that event.
> >
> > Real-time video capture doesn't appear possible using software only
> > methods with today's hardware.
>
> Maybe you dismiss that possibility a bit too quickly. What trials did
> you do?

Hi,

DRT I takes a single screenshot before and after each user action and
already this process is the slowest part of the system.

In a real-time game, you may wish to take 10 or more screenshots a
second which is way more than most computers can handle I believe --
particularly at high resolutions.

However, I have noticed that I can play some real-time X games over a
network without too much of a slow down, so persumably it is possible
to record their X requests without slowing down the apps too much.

However, I have been told that replaying X requests is not a simple
matter. My knowledge of X is very limited so I don't really know the
issues involved.

Perhaps there is a better way to do this.

Amir

Karl H. Beckers

unread,
Oct 15, 2003, 3:41:45 PM10/15/03
to
Amir Michail schrieb:
> [...]

> Real-time video capture doesn't appear possible using software only
> methods with today's hardware.
> [...]

Hi,

dunno if this serves your needs, but you might want to have a peek
at http://www.sourceforge.net/projects/xvidcap

Cheers,

Karl.

Amir Michail

unread,
Oct 16, 2003, 4:22:21 AM10/16/03
to
"Karl H. Beckers" <karl.h....@gmx.net> wrote in message news:<bmk7uv$dcs$1...@new-usenet.uk.sun.com>...

Hi,

Yes, one of the students on the project recommended xvidcap and we
ended up using it in DRT/Video. I'm amazed that xvidcap works so
well.

Amir

P.S. You can find out more about DRT/Video here:

http://www.cse.unsw.edu.au/~drt/screenshot
http://www.cse.unsw.edu.au/~amichail/drtvideo.pdf


>
> Cheers,
>
> Karl.

0 new messages