#include <algorithm>
using namespace std;
void loginForm()
{
string userName;
string passWord;
system("mode con:cols=110 lines=37");
CONSOLE_FONT_INFOEX cfi;
cfi.cbSize = sizeof cfi;
cfi.nFont = 0;
cfi.dwFontSize.X = 0;
cfi.dwFontSize.Y = 18;
cfi.FontFamily = FF_DONTCARE;
cfi.FontWeight = FW_NORMAL;
system ("cls");
system("color 0A");
cout<< endl << endl << endl << endl << endl << endl << setw(85)<<"****************************************************************" << endl
<< setw(85)<<"|Smiling Tooth Hospital Patient Registration and Booking System|" << endl
<< setw(85)<<"****************************************************************" << endl;
cout<< endl << endl << endl << endl << setw(75)<<"Please Enter User Name & Password to Continue"<< endl << endl << endl;
cout<<setw(56) << "User Name: " << endl;
cin >> setw(100) >> userName;
cout<<setw(55) << "Password: " << endl;
system ("pause");
}
int main ()
{
loginForm();
return 0;
}
返回avcodec_find_encoder_by_name("libx264")
。
FFmpeg配置了标记NULL
和--enable-gpl
--enable-libx264
返回ffmpeg -codecs | grep 264
我需要创建DEV.LS h264 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_vda ) (encoders: libx264 libx264rgb )
编码器。我的错在哪里?如何使用libx264
编解码器初始化AVCodec
。
libx264
谢谢!