新手,用msysgit下载了最新的X264库,然后直接configure\make生成了.a .dll .exe文件,只是无法正常使用。

参考“http://blog.csdn.net/bxj2001/article/details/6201695”,生成lib文件,再在原来X264_win32的VC工程基础上,建立新的VC工程,加入filter input output下的文件,编译,有很多C99编译失败的问题,花了很多时间逐条改,终于能编译通过了。

下了y4m格式的文件,命令参数:--crf 24  -o sdf.x264 --input-depth 10 d:\bus_cif.y4m 352*288

y4m [info]: 352x288p 128:117 @ 30/1 fps (cfr)
x264 [info]: using SAR=128/117
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64
x264 [info]: profile High, level 1.3
x264 [error]: This build of x264 requires 8-bit input. Rebuild to support high d
epth input.
x264 [error]: x264_encoder_encode failed

aborted at input frame 1, output frame 0

posted on 2011-11-30 10:52  dawnhunter  阅读(894)  评论(3编辑  收藏  举报