in reply to Re^3: Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
in thread Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
Hi Monks,
Well, I've now rebuilt the hardware and everything is cookin' nicely.
I tried $i_frame->{Ctl_Videos_Media}->LoadURI ('file:///dev/video0'); and I no longer get any errors in LogWindow but no picture in the media control.
Update: Oookaaay, now my hardware is compliant with that age-old standard of plugging the webcam in, we have some progress! The progress bar on the application flickers (although not the image) and print $i_frame->{Ctl_Videos_Media}->LoadURI ('file:///dev/video0'); returns "1" but gives error Gtk-CRITICAL **: gtk_range_set_range: assertion `min < max' failed, so I guess it is accessing the URI, but maybe it is immediately hitting EOF, or something.
Update 2: According to Similar wxPython problem it may be missing GStreamer packages. This sounds like a possibility, so I'm going to try to track this down. If you know what the correct list is, please share :)
Regards
Steve.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Using Wx::MediaCtrl to display a live videofeed (eg a webcam)
by Steve_BZ (Chaplain) on Aug 06, 2010 at 13:20 UTC |