<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<font face="'Times New Roman'" size="4">Hello,I'm a Chinese student.Recently I began to learn FFmpeg.</font><div><font face="'Times New Roman'" size="4">When I run the code: </font></div><div><font size="4"> </font><font size="2">codec = avcodec_find_encoder(CODEC_ID_MPEG1VIDEO);</font></div><div><font size="2"> if (!codec) {</font></div><div><font size="2"> fprintf(stderr, "codec not found\n");</font></div><div><font size="2"> exit(1);</font></div><div><font size="2"> }</font></div><div><font face="'Times New Roman'" size="4">Then it dose print "codec not fount".So I felt confused.</font></div><div><font face="'Times New Roman'" size="4">When I run the command line "./configure --list-encoders", it shows that it has the encoder mpeg1video.</font></div><div><font face="'Times New Roman'" size="4">I just want to know what causes this problem and how to resolve it.</font></div><div><font face="'Times New Roman'" size="4">Thanks a lot.May God be with you forever.</font></div><div><font face="'Times New Roman'" size="4"> Thomas Lu</font></div><div><font face="'Times New Roman'" size="4"> Nanjing Normal University</font></div><div><span style="font-size: 10pt; "><br></span></div><div><div><div><br></div></div></div> </div></body>
</html>