New webcam module
In Wonderland, 0.4 Erik Reitsma at Ericsson enhanced the Wonderland webcam application by replacing the problematic JMF library with a pure Java M-JPEG decoding library called Cambozola:
This allowed him to connect the webcam viewer to any M-JPEG source, not just the models of Axis webcams supported by JMF. With this approach, he was able to stream video into Wonderland using VLC. He wrote an interesting blog article about this:
Thanks to a generous donation of code by Jan van der Meer of Ericsson Telecommunicatie NL, I've been able to port Erik's code to 0.5.
The 0.5 webcam viewer application is now available as a stable module. If you have the stable modules checked out, do an svn update to get the webcamviewer module.
By default the webcam should show live video of a (rainy) construction site at Muhlenberg College. You can find a worldwide directory of webcams at http://camelive.info. Look for webcams tagged with "Axis/Live view". Click on the image and get the IP address of the camera. The URI you enter into the webcam view should have the following format:
Unfortunately, one thing that seems to be a universal constant for people setting up webcams is to point them at static, never changing scenes! So, you'll have to hunt to find dynamic content. One webcam I like is a fish cam in Japan:
Unfortunately, they keep moving the camera, so if you see a gray, grainy image, you'll have to take a look later. It's neat when it's pointed at the tank though.
1. M-JPEG is a loosely interpreted "standard". This means that not all M-JPEG sources are compatible with the M-JPEG decoder in the Cambozola library. In practice, it's most compatible with Axis webcams. It's possible that Cambozola could be enhanced to support different sources, and I'd encourage the community to explore this.
2. Although you can stream recorded movies using VLC, the webcam viewer does not support audio. So, this is not suitable as a movie player. A movie player is planned for 0.5 (the videoplayer module on wonderland-modules is not currently functional.)
3. The app is designed to adjust to fit the size of the source video stream, but this feature is currently disabled. When specifying a video URI, request 640x480 resolution. For Axis camera sources, append "&resolution=640x480" to the URI.
4. It does not support pan/tilt/zoom capable cameras. You can still use the video feed, but the app doesn't provide PTZ controls. I'm trying to assess how important this feature is. Let me know if you have a compelling use case.
5. It doesn't currently support password protected cameras.