mencoder 报错处理

手动测试
mencoder xxx.rm -o /dev/null -ovc x264 -x264encopts bitrate=400:pass=1:turbo=2:keyint=250:frameref=2:bframes=3:deblock:cabac:qp_min=10:qp_max=51:qp_step=4:qcomp=0.7:direct_pred=auto:weight_b:partitions=all:8x8dct:me=umh:me_range=16:subq=5:chroma_me:mixed_refs:trellis=1:nr=0:chroma_qp_offset=2:aq_mode=2:aq_strength=1.5:threads=auto -vf scale=240:180,harddup -nosound -ofps 15 -passlogfile /data1/xxx.log
报如下错:
Error: libstdc++.so.5: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.

于是重装了c++
yum install compat-libstdc++

之后报如下错
Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
Error loading dll
ERROR: Could not open required DirectShow codec drvc.dll.

到网上下载 drvc.dll 放到/usr/lib/codecs/

之后,转码成功。

你可能感兴趣的:(mencoder 报错处理)