主题 : 求助:mplayer移植到2440不能正常播放 复制链接 | 浏览器收藏 | 打印
我自横刀向天笑 哈哈哈
级别: 新手上路
UID: 52407
精华: 0
发帖: 20
金钱: 105 两
威望: 21 点
综合积分: 40 分
注册时间: 2011-07-18
最后登录: 2012-04-23
楼主  发表于: 2011-10-27 21:18

 求助:mplayer移植到2440不能正常播放

mplayer移植到2440不能正常播放,声音不同步,画面播放很慢,求高手指导。
如下为输出信息:

[root@FriendlyARM plg]# ./mplayer 2.flv
MPlayer 1.0rc3-4.3.2 (C) 2000-2009 MPlayer Team

Playing 2.flv.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO:  [H264]  512x288  0bpp  15.000 fps  255.0 kbps (31.1 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
A:  11.4 V:   3.3 A-V:  8.042 ct: -0.086   0/  0 289% 25% 39.6% 50 0            
==========================================================================
           ************************************************===============
           **** Your system is too SLOW to play this!  ****oding)
           ************************************************
AUDIO: 22050 Hz, 2 ch, s16le, 128.0 kbit/18.14% (ratio: 16000->88200)
Possible reasons, problems, workarounds:FAAD AAC (MPEG-2/MPEG-4 Audio))
- Most common: broken/buggy _audio_ driver================================
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video outputuest - 512 x 288 (preferred colorspace: Planar YV12)
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPUdeo filter: [scale]
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken filex7d8a90]No accelerated colorspace conversion found.
  - Try various combinations of -nobps -ni -forceidx -mc 0.al converter
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
我自横刀向天笑 哈哈哈
级别: 新手上路
UID: 52407
精华: 0
发帖: 20
金钱: 105 两
威望: 21 点
综合积分: 40 分
注册时间: 2011-07-18
最后登录: 2012-04-23
1楼  发表于: 2011-10-27 21:25
有很多出现以下错误:
Playing 3.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [FMP4]  608x240  24bpp  15.000 fps  248.7 kbps (30.4 kbyte/s)
Clip info:
Software: Lavf52.20.0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Segmentation fault
我自横刀向天笑 哈哈哈
级别: 新手上路
UID: 52407
精华: 0
发帖: 20
金钱: 105 两
威望: 21 点
综合积分: 40 分
注册时间: 2011-07-18
最后登录: 2012-04-23
2楼  发表于: 2011-10-27 21:36
弄了好几天了,也不知道是什么原因,希望懂的朋友能指点一下,或者是介绍点资料,感激不尽!
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2011-10-27 22:31
第一种情况很正常,2440的CPU主频太低,而且对于H.264没有硬件解码支持;
第二种看起来是mplayer的bug,播放过程中crash了。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
我自横刀向天笑 哈哈哈
级别: 新手上路
UID: 52407
精华: 0
发帖: 20
金钱: 105 两
威望: 21 点
综合积分: 40 分
注册时间: 2011-07-18
最后登录: 2012-04-23
4楼  发表于: 2011-10-27 23:00

 回 3楼(kasim) 的帖子

多谢你的指点,有什么好的解决方法吗?
级别: 侠客
UID: 55184
精华: 1
发帖: 76
金钱: 430 两
威望: 86 点
综合积分: 172 分
注册时间: 2011-09-13
最后登录: 2015-10-01
5楼  发表于: 2011-10-29 13:09
make -C libavformat
make[1]: Entering directory `/root/Crosscompileplace/MPlayer-1.0rc4/libavformat'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Crosscompileplace/MPlayer-1.0rc4/libavformat'
touch libavformat/libavformat.a
make -C libavcodec
make[1]: Entering directory `/root/Crosscompileplace/MPlayer-1.0rc4/libavcodec'
AS    arm/dsputil_arm.o
arm/dsputil_arm.S: Assembler messages:
arm/dsputil_arm.S:114: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:121: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:131: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:142: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:153: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:166: Error: selected processor does not support `pld [r1]'
arm/dsputil_arm.S:173: Error: selected processor does not support `pld [r1]'
级别: 侠客
UID: 55184
精华: 1
发帖: 76
金钱: 430 两
威望: 86 点
综合积分: 172 分
注册时间: 2011-09-13
最后登录: 2015-10-01
6楼  发表于: 2011-10-29 15:38
我也是遇致到了同样的问题,看来只有播放mp3了哦