Follow up

Hmm. Interesting idea.

Maybe a good implementation would be a config option "jpeg_marker_text" which allows all the same rules as on_xxxx like time stamp, diffs, noise, coordinates etc. And let this be a general option for both normal jpegs and the mjpeg stream. If the string is empty - no marker is written.

It may open up for all sorts of usage. The code overhead is small and the user can select to use it or not.

The main problem is that this is a feature at level 4 on Kenneths NerdoMeter. But since I am proposing it myself ...

Implementation is simple since the function for writing the string based on conversion specifiers is already there and the info is in the global "cnt" structure.

I am interested in reactions from both Robert and the regular developers.

Robert, you have another feedback which I agree with. The global cnt variable is not very well documented. I have made a topic MotionCntStructureOverview which should list all the variables or members in a table. It will probably take a while before this table is complete but it is a start.

Comments

Kenneth, I really like the idea of a config option such as you propose as it stays in line with the current rules and offers a lot of flexibility. The only point since this information will always be read by software and not a person we would also be required to embed the format string used to construct the data.

So we might end up with [formatString] [some delimiter] [actualData] as our payload.