<div dir="ltr"><div dir="ltr">On Mon, Mar 14, 2022 at 11:28 AM Algarve Branqueira <<a href="mailto:branqueira@gmail.com">branqueira@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">the application connects to 10 cameras therefore 10 java threads therefore in JNI also 10 C threads.<br></div><div class="gmail_quote"><br>these 10 threads can create multiple threads each for its processing.<br><br>Now for some reason we see a problem in the logs during decoding or encoding.<br>even if it's a thread created by the main thread of ffmpeg, it can be interesting to know what is the name of the original Java thread to go back to the right camera.<br></div></div></blockquote><div><br></div><div>Oh yes, I know it would be *nice* to attribute a log event to a particular instance in many cases, but as far as I know that's quite difficult to accomplish. So... good luck??!</div><div><br></div><div>-- egnor</div></div></div>