IMX6Q 移植MPlayer播放视频出现问题
控制台输出如下,提示WM8960有问题,貌似MPlayer本身已经启动,不知是否是板子驱动问题root@freescale /media$ mplayer ./testVideo.mp4
mplayer: /usr/lib/libz.so.1: no version information available (required by mplayer)
mplayer: /usr/lib/libz.so.1: no version information available (required by mplayer)
MPlayer 1.2.1-4.6.2 (C) 2000-2016 MPlayer Team
Playing ./testVideo.mp4.
libavformat version 56.40.101 (internal)
libavformat file format detected.
Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
stream 0: video (h264), -vid 0
stream 1: audio (aac), -aid 0, -alang eng
VIDEO:1920x108024bpp25.000 fps2716.4 kbps (331.6 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf57.41.100
Load subtitles in ./
==========================================================================
Opening video decoder: FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: vfm: ffmpeg (FFmpeg H.264)
=================================WM8960 PLL: Unsupported N=1
=================================WM8960 PLL: Unsupported N=2
========
=======================WM8960 PLL: Unsupported N=2
=================================WM8960 PLL: Unsupported N=4
==================
Opening audioWM8960 PLL: Unsupported N=5
decoder: FFmpeg/libavcoWM8960 PLL: Unsupported N=5
dec audio decoders
AUDIO: 44100 WM8960 PLL: Unsupported N=5
Hz, 2 ch, floatle, 124.6 kbit/4.4Failed to set SYSCLK: -22
2% (ratio: 15578->352800)
Selectasoc: machine hw_params failed
ed audio codec: afm: ffmpWM8960 PLL: Unsupported N=1
eg (FFmpeg AAC (MPEG-2/MPEG-4 AudWM8960 PLL: Unsupported N=2
io))
===========================WM8960 PLL: Unsupported N=2
=================================WM8960 PLL: Unsupported N=4
==============
Can't seWM8960 PLL: Unsupported N=5
t audio device /dev/dsp to s16le WM8960 PLL: Unsupported N=5
output, trying s16le...
WM8960 PLL: Unsupported N=5
Failed to set SYSCLK: -22
asoc: machine hw_params failed
Can't set audio device /WM8960 PLL: Unsupported N=1
dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
16le...
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/article/details/8438266?locationNum=14&fps=1 飞凌-chongzi 发表于 2019-1-7 11:20
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/article/details/843 ...
我试一下,感谢! 使用zlib-1.2.11编译后的文件,更新开发板的/usr/lib中的文件,第03和04行内容没有了,可能是我编译mplayer时候没加alsa-lib,我再试一下root@freescale /$ mplayer /media/testVideo.mp4
MPlayer 1.2.1-4.6.2 (C) 2000-2016 MPlayer Team
Playing /media/testVideo.mp4.
libavformat version 56.40.101 (internal)
libavformat file format detected.
Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
stream 0: video (h264), -vid 0
stream 1: audio (aac), -aid 0, -alang eng
VIDEO:1920x108024bpp25.000 fps2716.4 kbps (331.6 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf57.41.100
Load subtitles in /media/
==========================================================================
Opening video decoder: FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: vfm: ffmpeg (FFmpeg H.264)
============================WM8960 PLL: Unsupported N=1
=================================WM8960 PLL: Unsupported N=2
=============
==================WM8960 PLL: Unsupported N=2
=================================WM8960 PLL: Unsupported N=4
=======================
Opening WM8960 PLL: Unsupported N=5
audio decoder: FFmpeg/liWM8960 PLL: Unsupported N=5
bavcodec audio decoders
AUDIO: 4WM8960 PLL: Unsupported N=5
4100 Hz, 2 ch, floatle, 124.6 kbiFailed to set SYSCLK: -22
t/4.42% (ratio: 15578->352800)
Sasoc: machine hw_params failed
elected audio codec: afm:WM8960 PLL: Unsupported N=1
ffmpeg (FFmpeg AAC (MPEG-2/MPEG-WM8960 PLL: Unsupported N=2
4 Audio))
======================WM8960 PLL: Unsupported N=2
=================================WM8960 PLL: Unsupported N=4
===================
CanWM8960 PLL: Unsupported N=5
't set audio device /dev/dsp to sWM8960 PLL: Unsupported N=5
16le output, trying s16le...
WM8960 PLL: Unsupported N=5
Failed to set SYSCLK: -22
asoc: machine hw_params failed
Can't set audio device /WM8960 PLL: Unsupported N=1
dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
16le...
WM8960 PLL: Unsupported N=2
WM8960 PLL: Unsupported N=4
WM8960 PLL: Unsupported N=5
WM8960 PLL: Unsupported N=5
WM8960 PLL: Unsupported N=5
Failed to set SYSCLK: -22
asoc: machine hw_params failed
Can't set audio device /WM8960 PLL: Unsupported N=1
dev/dsp to s16le output, trying sWM8960 PLL: Unsupported N=2
16le...
WM8960 PLL: Unsupported N=2
WM8960 PLL: Unsupported N=4 飞凌-chongzi 发表于 2019-1-7 11:20
您好
我搜索了一下报错信息,您可以参考一下是否有帮助https://blog.csdn.net/xanxng/article/details/843 ...
感谢,解决了一些问题
页:
[1]