Hi list,<div><br></div><div>It is my first time here. I am relatively new to ffmpeg.</div><div>Right now I am trying to build a small solution for a mobile device (samsung bada).</div><div>I have a problem with av_log_set_callback. It does not seem to work:</div>
<div><br></div><div><div>av_log_set_callback(my_log_callback);</div><div>av_log_set_level(AV_LOG_VERBOSE);</div></div><div><br></div><div>whereas my_log_callback is defined as:</div><div><br></div><div><div>void my_log_callback(void *ptr, int level, const char *fmt, va_list vargs)</div>
<div>{</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>AS_LOGI("AV-log:");</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>AS_LOG(fmt, vargs);</div><div>}</div></div>
<div><br></div><div>Note: AS_LOGI is my own macro that I use throughout other parts of the code and it works perfectly. </div><div><br></div><div>However, regardless of what calls I do to distinct functions, I see no logging at all.</div>
<div>For example, right now I have a problem with av_open_input_stream(...) it simply does not want to open the stream. But I have no way to find out why...?</div><div><br></div><div>Another note: When building the libraries I have configured them with --enable-debug. Still no luck. Output window does not show any logs from ffmpeg libraries.</div>
<div><br></div><div>What am i doing wrong? Any ideas, please?</div><div><br></div><div>- wit</div>