Page 1 of 1

Can I use FakeVideo with Simple.exe

Posted: Fri Mar 14, 2014 7:54 pm
by camkego
Hi,

I am trying to use the Simple test application with the FakeVideo video source.

When I specify -'v FakeVideo' on the simple.exe command line, I get the following stdout/stderr output:

> Using video driver FakeVideo
> InputDevice Fake/MovingBlocks capabilities not Available.

Sure enough, if I breakpoint through what is happening, I see
vfakeio.cxx:1350-1354
static bool GetDeviceCapabilities(
const PString & /*deviceName*/, ///< Name of device
Capabilities * /*caps*/ ///< List of supported capabilities
) { return false; }


Is it possible to use one of the FakeVideo sources with simple?
What am I missing?

I am on H323 Plus 1.26.0 & PTLib 2.12.8

Thanks in advance.
Cameron

Re: Can I use FakeVideo with Simple.exe

Posted: Sat Mar 15, 2014 5:32 am
by shorne
The commandline should be -vFakeVideo (no spaces) not -'v FakeVideo' . Works fine here.

Re: Can I use FakeVideo with Simple.exe

Posted: Sat Mar 15, 2014 11:05 am
by willamowius
On Linux the fake video devices only work in debug executables. When you compile optimized executables, the devices are optimized out and aren't available at runtime. I'm not sure if a similar issue exists on Windows.

Re: Can I use FakeVideo with Simple.exe

Posted: Wed Mar 26, 2014 6:52 am
by camkego
Thanks for the help.
Cameron