View Single Post
Old 8th September 2009, 22:27   #5070  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by jdobbs View Post
When I scan for the PID there are two other windows that have the same process ID. One of them has a caption that says "ActiveMovie Window" --the other says "xTrayIconWnd". I'm guessing these are associated with AVISYNTH's frame serving to X264 and FFDSHOW.

[Edit] Maybe I'll look for the "ConsoleWindowClass" as opposed to the caption. That way at least I'd have the correct window and wouldn't have to worry about timeouts...
Here is a screen shot from Spy++ while x264 is running:
http://www.iol.ie/~schubert/Image1.png

I think the "ActiveMovie Window" is the Mediasplitter tray icon and the "ffdshow_tray_737" is the ffdshow tray icon. No idea what "xTrayIconWnd" is.

All this info still doesn't explain why the code fails in some situations...

The best way to debug this would be for the people who have problems to run Spy++ and post a screen shot or log. Spy++ comes with the full version of Visual Studio but I think it's also a freely available sample that anyone could compile and distribute. I'll check if I can make this available somehow.
Groucho2004 is offline   Reply With Quote