[Libav-user] A question about the video_encode_example function

luchen way2012 at live.cn
Sun Mar 18 13:56:23 CET 2012


Hello,I'm a Chinese student.Recently I began to learn FFmpeg.When I run the code:          codec = avcodec_find_encoder(CODEC_ID_MPEG1VIDEO);           if (!codec) {               fprintf(stderr, "codec not found\n");               exit(1);           }Then it dose print "codec not fount".So I felt confused.When I run the command line "./configure --list-encoders", it shows that it has the encoder mpeg1video.I just want to know what causes this problem and how to resolve it.Thanks a lot.May God be with you forever.                                                                                                                                                 Thomas Lu                                                                                                                                           Nanjing Normal University

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120318/408a90d8/attachment.html>


More information about the Libav-user mailing list