免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6139 | 回复: 7
打印 上一主题 下一主题

请教 mplayer 移植问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-22 10:46 |只看该作者 |倒序浏览
编译好下到板子上运行,结果只出现了开头的一个画面就定格了,帮看下是那部分的错误>
./mplayer atlantis.mpg
MPlayer 1.0pre7try2-3.3.2 (C) 2000-2005 MPlayer Team
CPU: ARM
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Playing atlantis.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  320x176  (aspect 1)  24.000 fps  450.0 kbps (56.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 176 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [null] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...
VDec: vo config request - 320 x 176 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
VO: [fbdev] 320x176 => 320x176 BGR 16-bit
A:   1.0 V:   0.0 A-V:  0.996 ct:  0.000   1/  1 ??% ??% ??,?% 1 0              
A:   1.4 V:   0.7 A-V:  0.748 ct:  0.004   2/  2 ??% ??% ??,?% 2 0              
A:   1.8 V:   0.7 A-V:  1.080 ct:  0.008   3/  3 ??% ??% ??,?% 3 0              
A:   2.2 V:   0.7 A-V:  1.412 ct:  0.013   4/  4 ??% ??% ??,?% 4 0              
A:   2.5 V:   0.8 A-V:  1.733 ct:  0.017   5/  5 ??% ??% ??,?% 5 0              
MPlayer interrupted by signal 2 in module: decode_audio


论坛徽章:
0
2 [报告]
发表于 2007-11-23 08:52 |只看该作者
带上-nosound就可以播放了
后来到一个板子上运行,错误如下:  帮看下 谢谢

# ./mplayer atlantis.mpg
MPlayer 1.0pre7try2-3.3.2 (C) 2000-2005 MPlayer Team
CPU: ARM
Failed to open /dev/rtc: No such file or directory (it should be readable by the user.)
Playing atlantis.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  320x176  (aspect 1)  24.000 fps  450.0 kbps (56.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 320 x 176 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
AO: [oss] 44100Hz 2ch s16le (2 bps)
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
Starting playback...


MPlayer interrupted by signal 8 in module: play_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
Can't restore text mode: Invalid argument
#

论坛徽章:
0
3 [报告]
发表于 2007-11-27 15:23 |只看该作者
MPlayer 的音频解码在播放了一段时间后会出问题,好像这是一个BUG

论坛徽章:
0
4 [报告]
发表于 2007-11-28 17:51 |只看该作者
那就是你音频解码方面除了问题咯

论坛徽章:
0
5 [报告]
发表于 2007-12-04 14:51 |只看该作者
我也正在移植MPLAYER
关注 关注

论坛徽章:
0
6 [报告]
发表于 2008-03-10 21:31 |只看该作者
Could not find matching colorspace - retrying with -vf scale...

谁解决过这个问题?

论坛徽章:
0
7 [报告]
发表于 2008-03-11 14:36 |只看该作者
原帖由 Piggest 于 2008-3-10 21:31 发表
Could not find matching colorspace - retrying with -vf scale...

谁解决过这个问题?


我也遇到了这个问题,
我现在在arm板上可以播放视频文件,很流畅,但是颜色不行,也播不出来声音。
谁遇到过这个问题,或者在arm板上成功移植过mplayer,交流一下。

论坛徽章:
0
8 [报告]
发表于 2008-03-19 17:25 |只看该作者
我的视频显示问题解决了,我估计是驱动的问题。我换了TFT屏的终端跑的时候没有问题了,原来STN屏还是有问题。音频的问题还没有解决。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP