On 9/27/2010 10:52 AM, Linux V wrote:
> I am not sure what is wrong here, probably I am supposed to use different
> code/method for ASF ? Is there any way I can get more information debug
> information on how it is failing?
1. The negative return values for the FFmpeg functions are meaningful
(most likely a value from libavutil/error.h); check the libavformat
source code to see what they represent.
2. You can get more debugging information from FFmpeg using something like:
av_log_set_callback(my_log_callback);
av_log_set_level(AV_LOG_DEBUG);
void my_log_callback(void *ptr, int level, const char *fmt, va_list vargs)
{
if (level > av_log_get_level())
return;
vprintf(fmt, vargs);
}
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user