hi all again!
i'm thinking that i've understand TV-IP301W mjpeg format.
it's not standard because it's recognised such a "multipart/mixed",
but it's similar to "multipart/x-mixed-replace" .
but the problem is that the standard function in zoneminder can't interpret subheader of this stream.
so i'm asking to you:
in zm_remote_camera.cpp when i see "multipart/mixed" i don't go to SUBHEADER but i'm going to a new case that i'm going to make.
in this function i've to:
1- read some byte (300)
2- Look in this string and search for Content-Length: and setting the variable content_length to appropriate value.
3- Jumping (some bytes) to jpeg starting (FF D8)
4- going to "CONTENT" case.
someone can explain me how to make the first 3 points? (the 4th is simple ).
thank you a lot!!!
ps: i can't use regexp with this camera!
TV-IP301W format
Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
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