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

Capture graph not running under Java/Windows 7

5 views
Skip to first unread message

orsonwelles

unread,
Jun 22, 2010, 6:23:53 PM6/22/10
to
Hello,

sorry if this is really odd. I wrote an app for my government a few years
ago. The app is written in Java, and amongst other features, performs video
capture.
This is done using DirectShow through JNI. For preview, I have created a
custom filter to grab the pixels which I display in a Java Canvas. This
filter is plugged in the capture graph, between the camera device and an ASF
file writer.

This works perfectly under Win XP and has been running for years now.

Recently, I was asked to make this app work under Windows and I'm really
desperate: the capture graph builds ok, but it does not produce any output in
the wmv file.

If I build the exact same graph and run it from a C++ exe, it's ok, but when
I run it from Java: no output. The file is created, but its duration is
00:00:00, and its size always the same 12.8 k

This is becoming critical following MS stopping support for Win XP.

I'm looking for help. Does someone know tools which I could help to monitor
DirectShow data streams ?
--
be nice

0 new messages