You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I put in code for next season to let you start/stop video capture and trigger a screen shot from the broadcast message interface. Combining this with the replay and camera calls and you should be able to make some sort of a stop motion tool, or automate the overlay of two clips onto each other.
I also added in two new telemetry values so you can see if the video capture system is on, and if it is capturing video or not.
"VidCapEnabled", irsdk_bool, "True if video capture system is enabled", "", IRSDK_LOG_LIVE
"VidCapActive", irsdk_bool, "True if video currently being captured", "", IRSDK_LOG_LIVE
I'll put up a new SDK later today, but here are the new defines until then.
enum irsdk_VideoCaptureMode
{
irsdk_VideoCapture_TriggerScreenShot = 0, // save a screenshot to disk
irsdk_VideoCaptuer_StartVideoCapture, // start capturing video
irsdk_VideoCaptuer_EndVideoCapture, // stop capturing video
irsdk_VideoCaptuer_ToggleVideoCapture, // toggle video capture on/off
irsdk_VideoCaptuer_ShowVideoTimer, // show video timer in upper left corner of display
irsdk_VideoCaptuer_HideVideoTimer, // hide video timer
};
The text was updated successfully, but these errors were encountered:
From David Tucker on 5/21.
I put in code for next season to let you start/stop video capture and trigger a screen shot from the broadcast message interface. Combining this with the replay and camera calls and you should be able to make some sort of a stop motion tool, or automate the overlay of two clips onto each other.
I also added in two new telemetry values so you can see if the video capture system is on, and if it is capturing video or not.
"VidCapEnabled", irsdk_bool, "True if video capture system is enabled", "", IRSDK_LOG_LIVE
"VidCapActive", irsdk_bool, "True if video currently being captured", "", IRSDK_LOG_LIVE
I'll put up a new SDK later today, but here are the new defines until then.
enum irsdk_BroadcastMsg
{
irsdk_BroadcastCamSwitchPos = 0, // car position, group, camera
irsdk_BroadcastCamSwitchNum, // driver #, group, camera
irsdk_BroadcastCamSetState, // irsdk_CameraState, unused, unused
irsdk_BroadcastReplaySetPlaySpeed, // speed, slowMotion, unused
irskd_BroadcastReplaySetPlayPosition, // irsdk_RpyPosMode, Frame Number (high, low)
irsdk_BroadcastReplaySearch, // irsdk_RpySrchMode, unused, unused
irsdk_BroadcastReplaySetState, // irsdk_RpyStateMode, unused, unused
irsdk_BroadcastReloadTextures, // irsdk_ReloadTexturesMode, carIdx, unused
irsdk_BroadcastChatComand, // irsdk_ChatCommandMode, subCommand, unused
irsdk_BroadcastPitCommand, // irsdk_PitCommandMode, parameter
irsdk_BroadcastTelemCommand, // irsdk_TelemCommandMode, unused, unused
irsdk_BroadcastFFBCommand, // irsdk_FFBCommandMode, value (float, high, low)
irsdk_BroadcastReplaySearchSessionTime, // sessionNum, sessionTimeMS (high, low)
irsdk_BroadcastVideoCapture, // irsdk_VideoCaptureMode, unused, unused
irsdk_BroadcastLast // unused placeholder
};
enum irsdk_VideoCaptureMode
{
irsdk_VideoCapture_TriggerScreenShot = 0, // save a screenshot to disk
irsdk_VideoCaptuer_StartVideoCapture, // start capturing video
irsdk_VideoCaptuer_EndVideoCapture, // stop capturing video
irsdk_VideoCaptuer_ToggleVideoCapture, // toggle video capture on/off
irsdk_VideoCaptuer_ShowVideoTimer, // show video timer in upper left corner of display
irsdk_VideoCaptuer_HideVideoTimer, // hide video timer
};
The text was updated successfully, but these errors were encountered: