If you can push raw frames (in YUV or RGB format) to the Wx::MediaControl, then you can use ffmpeg to read from the webcam and convert and output the raw frames to STDOUT. You set up a filehandle to read from there and push the frames into the Wx frame. I have something not unlike this (except that my build of ffmpeg.exe does not want to read from the video camera and that I use OpenGL to render the output) in App::VideoMixer.
In reply to Re: Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
by Corion
in thread Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
by Steve_BZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |