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

    Hi Corion,

    I thought I had posted a reply to this yesterday, but maybe it got lost in the confusion. My power-supply blew up spectacularly (loud bang and smoke) taking motherboard and CPU with it, luckily not HD. I need to rebuild my PC, but as I'm off for a week tomorrow, it'll be the end of next week before I can do it.

    Thanks for your input

    Regards

    Steve