1
Mach4 General Discussion / Re: Video Panel (for Webcam) in wizard
« on: February 27, 2024, 08:34:04 PM »You can custom Panel with wxMediaCtrl following these steps:
Create a custom panel class that inherits from `wxPanel`.
Inside the panel, embed a `wxMediaCtrl` object. This control can display video from various sources, including webcams.
Implement event handling for the `wxMediaCtrl` to start/stop video capture, adjust settings, etc.
Add this custom panel to your Wizard page instead of a standard Video Panel.
Hi Natalie, thanks for replying. The wxMediaCtrl is the control I was referring to when I mention "wxWidgets has a control that can play a video file, but I can't figure out a way to display the video from a camera." That control has six properties: "name", "file", "play", "playback_rate", "volume", and "player_controls". Do you know how to set it up to play the video from a webcam?