[FFmpeg-user] avcodec_open return error -22

sagifer sagifeco at gmail.com
Wed Jun 20 10:29:08 CEST 2012


I have a same problem.

Use de error callback method.:


void my_log_callback(void *ptr, int level, const char *fmt, va_list vargs)
{
	printf ("\n%s",fmt);
}

av_log_set_callback(my_log_callback);
av_log_set_level(AV_LOG_VERBOSE);

The error message: Specified pix_fmt is not supported

I tired much pixel formets, but the results was same like before.

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/avcodec-open-return-error-22-tp4281762p4651116.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list