Hello,
I recently setup an Eclipse ECL-IP20MP with Zoneminder and required a minor source tweak in order to make it work.
The camera supports RTSP but I was only able to get 3GPP streaming working via RTSP and the picture quality was too poor for it to be of much use.
I was able to get HTTP streaming working, the path is /GetData.cgi?CH=2 for the "Streaming 2" stream. The problem is that the camera report a content type that includes the resolution, so zoneminder was complaining:
zm zmc_m2[3353]: ERR [Found unsupported content type 'image/jpeg;size=640x480']
so I simply updated zm_remote_camera_http.cpp:
case CONTENT :
{
if ( !strcasecmp( content_type, "image/jpeg" ) || !strcasecmp( content_type, "image/jpg" ) )
{
format = JPEG;
} else if ( !strcasecmp( content_type, "image/jpeg;size=640x480" ) )
{
format = JPEG;
}
else if ( !strcasecmp( content_type, "image/x-rgb" ) )
{
format = X_RGB;
}
probably strncasecmp against "image/jpeg;size=" would have been better, but I was in a rush.
Note that getting rtsp working on Fedora Core 17 required a compile from source and about a day of hunting down dependencies and the end result was not really worthwhile.
Nikos Mouat
ECL-IP20MP with Zoneminder
If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Return to “User Contributions”
Jump to
- General
- ↳ Announcements
- ↳ Website Issues
- Support
- ↳ ZoneMinder 1.36.x
- ↳ ZoneMinder 1.34.x
- ↳ Mobile Apps and Event Server
- ↳ Docker
- ↳ ZoneMinder Distributions
- ↳ ZoneMinder Translations
- ↳ Archive [End of Life Versions]
- ↳ ZoneMinder 1.35.x Development Branch
- ↳ ZoneMinder 1.33.x Development Branch
- ↳ ZoneMinder 1.32.x
- ↳ ZoneMinder 1.31.x
- ↳ ZoneMinder 1.30.x
- ↳ ZoneMinder 1.29.x
- ↳ ZoneMinder 1.28.x
- ↳ ZoneMinder 1.27.x
- ↳ ZoneMinder 1.26.x
- ↳ ZoneMinder 1.25.x
- ↳ ZoneMinder 1.24.x
- ↳ ZoneMinder Previous Versions
- Development
- ↳ ZoneMinder 1.37.x Development Branch
- ↳ Feature Requests
- ↳ User Contributions
- Miscellaneous
- ↳ ZoneMinder Hints & Tips
- ↳ Non-ZoneMinder Chat
- ↳ Jobs / For Sale / Wanted / Exchange
- ↳ Hardware Compatibility List
- ↳ Hardware Queries