Enabling extra camera data formats
Posted: Sun Jun 14, 2009 8:36 am
Hi all,
I've got a couple of old webcams I'd like to set up with ZoneMinder, but it seems that the cameras use data formats that aren't supported. One of them encodes the video in MJPEG format (which works fine with mplayer) and the other one uses PAC207, which is a proprietary compressed format.
I see in monitor.php there are entries for these formats, but they're commented out. I tried uncommenting them but it didn't help, I guess because they need to map to FFmpeg constants in zm_local_camera.cpp. (I would've thought MJPEG would've mapped though, given that mplayer uses FFmpeg's MJPEG decoder.)
At any rate, as I was hunting around I came across libv4l, which converts data from all cameras supported by Linux into a couple of standard formats. Given that this would allow both my webcams to work, I'm wondering whether there are any plans to use this library in ZoneMinder?
Or is there another way to get PAC207 cameras working?
I've got a couple of old webcams I'd like to set up with ZoneMinder, but it seems that the cameras use data formats that aren't supported. One of them encodes the video in MJPEG format (which works fine with mplayer) and the other one uses PAC207, which is a proprietary compressed format.
I see in monitor.php there are entries for these formats, but they're commented out. I tried uncommenting them but it didn't help, I guess because they need to map to FFmpeg constants in zm_local_camera.cpp. (I would've thought MJPEG would've mapped though, given that mplayer uses FFmpeg's MJPEG decoder.)
At any rate, as I was hunting around I came across libv4l, which converts data from all cameras supported by Linux into a couple of standard formats. Given that this would allow both my webcams to work, I'm wondering whether there are any plans to use this library in ZoneMinder?
Or is there another way to get PAC207 cameras working?