2005-01-25, 08:59 PM
Hi all,
I have just signed up to this forum so go easy on me!
I am currently using a crappy avi capture board with iuvcr and an external program to control recording for a surveillance system. this works well but i want to get a mpeg2 board - possibly leadteks pvr2000.
basically, all i want to know is how to tell gbpvr to start and stop recording from an external program.
I have used borland builder 6 to do this for iuvcr.
source will always be composite in and quality will always be highest.
below is iuvcr commands
#include <winuser.h>
HWND iuvcrwindow;
if ((iuvcrwindow = FindWindow("TfVCR", NULL)))
{
  PostMessage(iuvcrwindow, WM_COMMAND, command, LParam);
}
// The list of commands:
#define VCR_QUIT 50000 Â Â Â Â Â Â Â Â Â Â Â //fast quit without saving changes. Use WM_CLOSE for normal exit.
#define VCR_SHUTDOWN 50001 Â Â Â Â //not used
#define VCR_NEXTPROGRAM 50002
#define VCR_PREVPROGRAM 50003
#define VCR_START_PREVIEW_T 50004 //work as trigger
#define VCR_START_CAPTURE 50005
#define VCR_STOP_CAPTURE 50006
#define VCR_MUTE 50007
#define VCR_FULLSCREEN 50008
#define VCR_WINDOWED 50009
#define VCR_FULLSCREEN_T 50010 //work as trigger
#define VCR_SNAPSHOT 50011
#define VCR_PAUSE_T 50012 //work as trigger
#define VCR_PAUSE_ENTER 50013
#define VCR_PAUSE_RESUME 50014
#define VCR_NUMPAD0 50020
#define VCR_NUMPAD1 50021
#define VCR_NUMPAD2 50022
#define VCR_NUMPAD3 50023
#define VCR_NUMPAD4 50024
#define VCR_NUMPAD5 50025
#define VCR_NUMPAD6 50026
#define VCR_NUMPAD7 50027
#define VCR_NUMPAD8 50028
#define VCR_NUMPAD9 50029
#define VCR_SETFILENAME 50040 //LParam must contains pointer to zero-terminated string
is it this simple for gbpvr??
I have just signed up to this forum so go easy on me!
I am currently using a crappy avi capture board with iuvcr and an external program to control recording for a surveillance system. this works well but i want to get a mpeg2 board - possibly leadteks pvr2000.
basically, all i want to know is how to tell gbpvr to start and stop recording from an external program.
I have used borland builder 6 to do this for iuvcr.
source will always be composite in and quality will always be highest.
below is iuvcr commands
#include <winuser.h>
HWND iuvcrwindow;
if ((iuvcrwindow = FindWindow("TfVCR", NULL)))
{
  PostMessage(iuvcrwindow, WM_COMMAND, command, LParam);
}
// The list of commands:
#define VCR_QUIT 50000 Â Â Â Â Â Â Â Â Â Â Â //fast quit without saving changes. Use WM_CLOSE for normal exit.
#define VCR_SHUTDOWN 50001 Â Â Â Â //not used
#define VCR_NEXTPROGRAM 50002
#define VCR_PREVPROGRAM 50003
#define VCR_START_PREVIEW_T 50004 //work as trigger
#define VCR_START_CAPTURE 50005
#define VCR_STOP_CAPTURE 50006
#define VCR_MUTE 50007
#define VCR_FULLSCREEN 50008
#define VCR_WINDOWED 50009
#define VCR_FULLSCREEN_T 50010 //work as trigger
#define VCR_SNAPSHOT 50011
#define VCR_PAUSE_T 50012 //work as trigger
#define VCR_PAUSE_ENTER 50013
#define VCR_PAUSE_RESUME 50014
#define VCR_NUMPAD0 50020
#define VCR_NUMPAD1 50021
#define VCR_NUMPAD2 50022
#define VCR_NUMPAD3 50023
#define VCR_NUMPAD4 50024
#define VCR_NUMPAD5 50025
#define VCR_NUMPAD6 50026
#define VCR_NUMPAD7 50027
#define VCR_NUMPAD8 50028
#define VCR_NUMPAD9 50029
#define VCR_SETFILENAME 50040 //LParam must contains pointer to zero-terminated string
is it this simple for gbpvr??