如果输出信息如下,那就表示解码器工作正常。 代码:
输出:No id specified, assuming test mode
Opening device
len: 992
ProductVersion: 1.7.0Decoder supports the following YUV formats: YUY2 UYVY YV12 I420
Decoder is capable of YUV output (flags 0x2b)
Setting fmt
Starting
Initialization is complete
c. 配置mplayer和打补丁,在打补丁之前,一定要先./configure,要不然是打不上补丁的。 代码:
cd ~/mplayer
./configure --enable-gui --enable-freetype --codecsdir=/usr/lib/codecs --language=zh_CN