我正在尝试使用 X264 编解码器设置 AVIDemux这教程。以下是我在执行./configure --enable-mp4-output
命令时发生的情况
Thomas-Phillipss-MacBook:x264 tomdabomb2u$ sudo ./configure --enable-mp4-output
Password:
Unknown option --enable-mp4-output, ignored
Found no assembler
Minimum version is yasm-0.6.2
If you really want to compile without asm, configure with --disable-asm.
于是我尝试了一下。
Thomas-Phillipss-MacBook:x264 tomdabomb2u$ sudo ./configure --enable-mp4-output --disable-asm
Unknown option --enable-mp4-output, ignored
Warning: gpac is too old, update to 2007-06-21 UTC or later
Platform: X86_64
System: MACOSX
asm: no
avs: no
lavf: no
ffms: no
gpac: no
pthread: yes
filters: crop select_every
debug: no
gprof: no
PIC: no
shared: no
visualize: no
bit depth: 8
You can run 'make' or 'make fprofiled' now.
我先执行了make
,然后执行了Thomas-Phillipss-MacBook:x264 tomdabomb2u$ ./x264 -v -q 20 -o foreman.mp4 foreman_part_qcif.yuv 176x144
。结果正如预期的那样:
x264 [error]: not compiled with MP4 output support
所以我陷入困境。有什么想法吗?
答案1
还有Bash 脚本avidemux +aac+dts+lame+ogg+x264+xvid (Avidemux 2.6 (SVN revision 7891)
使用 MacPorts进行构建。
答案2
Unknown option --enable-mp4-output, ignored
这立即引起了我的注意。听起来你下载的源可能与指南作者使用的源不同。另外,git checkout 是否成功运行?