in reply to Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
by Steve_BZ (Chaplain) on Jul 22, 2010 at 01:14 UTC |