- 论坛徽章:
- 0
|
问题描述:根据网上的相关资料在redhat6.6上安装了mplayer,分别试了2个mp4视频文件,分辨率低(480x360)的视频文件可以正常运行,分辨率高(1280x720)的视频文件爆卡,播放不了,服务器redhalt本身自带的电影播放机可以正常播放高分辨率视频文件。
mplayer安装配置:
mplayer源文件包:MPlayer-1.0rc4.tar.gz
解码包:all-20110131.tar.bz2
皮肤:iTunes-1.1.tar.bz2
mplayer安装命令./configure --codecsdir=/usr/local/lib/codecs --enable-gui --enable-largefiles --enable-menu --enable-freetype
make&&make install
编译成功,在/usr/local/bin/目录下运行:mplayer 视频文件,
mplayer播放低分辨率视频文件信息:
libavformat file format detected.
[lavf] stream 0: audio (aac), -aid 0, -alang und
[lavf] stream 1: video (h264), -vid 0
VIDEO: [H264] 480x360 24bpp 30.000 fps 464.3 kbps (56.7 kbyte/s)
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2avc1mp41
encoder: Lavf56.40.101
Xlib: extension "XFree86-VidModeExtension" missing on display "172.27.27.225:0.0".
libGL error: failed to load driver: swrast
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 58.8 kbit/4.17% (ratio: 7352->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0xe26900]using unscaled yuv420p -> bgra special converter
VO: [gl_nosw] 480x360 => 480x360 BGRA
X11 error: GLXUnsupportedPrivateRequest
A: 3.7 V: 1.7 A-V: 1.939 ct: 0.036 0/ 0 13% 179% 0.7% 50 0
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- 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 output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- 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 file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- 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.
A: 5.9 V: 2.9 A-V: 2.953 ct: 0.033 0/ 0 10% 171% 0.6% 86 0
高分辨率文件输出信息:
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1c7a190]max_analyze_duration reached
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang eng
VIDEO: [H264] 1280x720 24bpp 30.000 fps 157.6 kbps (19.2 kbyte/s)
Clip info:
major_brand: mp42
minor_version: 1
compatible_brands: isommp41avc1
Xlib: extension "XFree86-VidModeExtension" missing on display "172.27.27.225:0.0".
libGL error: failed to load driver: swrast
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, s16le, 125.3 kbit/8.88% (ratio: 15658->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 0xe26900]using unscaled yuv420p -> bgra special converter
VO: [gl_nosw] 1280x720 => 1280x720 BGRA
X11 error: GLXUnsupportedPrivateRequest
[AO_ALSA] Write error: Broken pipe 0.000 0/ 0 ??% ??% ??,?% 0 0
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] Write error: Broken pipe 0.002 0/ 0 ??% ??% ??,?% 1 0
[AO_ALSA] Trying to reset soundcard.
A: 14.4 V: 1.5 A-V: 12.935 ct: 0.024 0/ 0 62% 945% 3.6% 45 0
高分辨率截取了一部分,也提示Your system is too SLOW to play this!,
请求大神帮忙看下,不胜感谢!
更多 |
|