找回密码
 注册
查看: 3253|回复: 32

为何Mplayer播放HDTV文件时自动退出?

[复制链接]
发表于 2005-3-14 17:58:57 | 显示全部楼层 |阅读模式
我DOWN了一个HDTV超高分辨率的影音文件,
用Mplayer播放时,Mplayer会自动退出。
但是用xine播放,却能正常。
不知道是什么原因,
请大家指教一下!!!

HDTV文件大小为3.4G,
在WindowsXP下用PowerDVD播放,
视频输出:14.6Mbps
音频输出:384Kbps
发表于 2005-3-14 21:02:55 | 显示全部楼层
在 console 里运行,看看错误信息是什么
回复

使用道具 举报

 楼主| 发表于 2005-3-15 14:25:52 | 显示全部楼层
我真的觉得很没面子!

[root@localhost ~]# cd /opt/movie
[root@localhost movie]# mplayer HdtvTvhd1080I比基尼Destinations-BahamaTp.mpg
MPlayer 1.0pre6-3.4.2 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Playing HdtvTvhd1080I比基尼Destinations-BahamaTp.mpg.
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
PROBING UP TO 2000000, PROG: 0
VIDEO MPEG2(pid=33)...AUDIO A52(pid=36) NO SUBS (yet)!  PROGRAM N. 2
Opened TS demuxer, audio: 2000(pid 36), video: 10000002(pid 33)...POS=7708
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  45000.0 kbps (5625.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  384.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 48000->192000 (384.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
vo: X11 running at 800x600 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (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 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
aspect: Warning: no suitable new res found!
A:81561.3 V:81560.9 A-V:  0.407 ct: -0.061  90/ 90 71% 55%  4.5% 77 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 -hardframedrop.
- 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:81570.4 V:81567.2 A-V:  3.211 ct:  0.569 279/279 75% 55%  5.1% 264 0
Too many video packets in the buffer: (114 in 8391320 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
a52: CRC check failed!
a52: error at resampling
A:81570.7 V:81586.6 A-V:-15.910 ct: -0.674 861/861 71% 55%  1.7% 264 0
Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.

Too many audio packets in the buffer: (4096 in 749008 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
A:81570.7 V:81586.6 A-V:-15.910 ct: -0.678 861/861 71% 55%  1.7% 264 0

Exiting... (End of file)


我的机器真的还是不错!
同事的机器是:
PIII900+384Mbsdrom+MX440
播放起来真是溜溜转!
我正在郁闷中!!!!!!!!  
回复

使用道具 举报

发表于 2005-3-15 16:03:55 | 显示全部楼层
在哪里下载的,我想下个来看看。在我的电脑上播放HDTV(wmv格式的),xine从来都是卡得要命!mplayer好很多。
回复

使用道具 举报

发表于 2005-3-15 19:09:24 | 显示全部楼层
正常现象,mplayer对HDTV的支持本来就不好,以前看黑客帝国的HDTV的时候在LINUX下实在受不了,最后还是在WINDOWS下看的,用的是个什么采集卡带的HDTV专用的播放器,效果不错,用mpc太卡了.
回复

使用道具 举报

发表于 2005-3-16 00:39:17 | 显示全部楼层
可楼主说xine播放正常啊?
要是xine能流畅播放,那就是mplayer的问题。
不过跟我的情况刚好相反。。
回复

使用道具 举报

 楼主| 发表于 2005-3-16 08:01:39 | 显示全部楼层
[quote:d4bcb9028f="GGGO"]在哪里下载的,我想下个来看看。在我的电脑上播放HDTV(wmv格式的),xine从来都是卡得要命!mplayer好很多。[/quote]


到思路论坛www.silu.info 去看一下吧,
一个世外桃源!
那里有你想要的东西,
回复

使用道具 举报

发表于 2005-3-16 09:09:36 | 显示全部楼层
[quote:8f061e40c2="青铜镜"]我真的觉得很没面子!
[/quote]没什么。 :D
回复

使用道具 举报

发表于 2005-3-16 10:25:01 | 显示全部楼层
[quote:eaa402b5c9="GGGO"]可楼主说xine播放正常啊?
要是xine能流畅播放,那就是mplayer的问题。
不过跟我的情况刚好相反。。[/quote]
我倒是没用过xine放hdtv,不过放过一个码率很高的VOB,DTS声轨的,XINE一切正常,mplayer就老是报数据包丢失太多,还有就是mplayer对WMV格式的文件好像A/V同步不太好,以前有个动画的OP,是放到10几秒的地方才有声音的,用mplayer放结果一开始就有声音,搞得声音和画面严重不同步,用xine就是好的。
反正我是主要用mplayer,遇到mplayer搞不定的就用xine,xine也不行的就WIN+MPC了。
回复

使用道具 举报

发表于 2005-3-17 16:45:11 | 显示全部楼层
不知道是不是我的电脑性能不够。我这里用mplayer播放Halo2movietrailer1080.wmv,播放了一会会没声音,画面上不会有停顿。而xine就画面一卡一卡的。
[code:1]         ************************************************
         ****       你的系统太慢了,放不了这个!     ****
         ************************************************
可能的原因,问题,解决办法:
- 最普遍的原因:损坏的或有bug的_音频_驱动
  - 试试-ao sdl或使用 ALSA 0.5或ALSA 0.9的oss模拟。
  - 试试不同的-autosync的值,不妨从30开始。
- 视频输出太慢
  - 试试不同的-vo driver(-vo help有列表)或者试试-framedrop!
- cpu太慢
  - 不要试图在慢速cpu上播放大的dvd/divx! 试试-hardframedrop。
- 损坏的文件
  - 试试下列选项的不同组合:-nobps  -ni  -mc 0  -forceidx
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - 试试 -cache 8192。
- 你使用-cache选项播放一个非交错的avi文件?
  - 试试-nocache
阅读DOCS/zh/video.html和DOCS/zh/sound.html来寻找调整/加速的技巧。
如果这些一个都用不上,阅读DOCS/zh/bugreports.html!

A:  22.8 V:  22.3 A-V:  0.499 ct:  0.443 267/267 91% 42% 17.8% 253 0
DEMUXER: buffer中视频包太多(157 in 8424336 bytes)!
(也许你播放了一个非交错的流/文件或者是解码失败)?
对于AVI文件, 尝试用-ni选项指定非交错模式.
alsa-space: xrun of at least 34.396 msecs. resetting stream.1% 253 0
alsa-uninit: pcm closed-0.000 ct:  0.511 612/612 103% 47%  8.5% 253 0
[/code:1]
我想可能是A/V不同步,声音播放速度正常,影像播放速度延后,到一定程度后导致“buffer中视频包太多”而没声音吧。也就是说我的电脑的视频解码速度不够(不知道是电脑性能问题还是软件问题)。
回复

使用道具 举报

 楼主| 发表于 2005-3-17 18:29:42 | 显示全部楼层
我是一个狂热的Linux's fans,
现在就只安装一个操作系统—— Fedora Core 3!
可是MPlayer对HDTV文件支持不太友好,
那岂不是太郁闷了?
如今天下流行HDTV高清晰视频文件,
我等岂不是只能眼睁睁看着Windows的门徒爽快,
只有流口小的份啦?
郁闷中。。。。。。。。。。

谁有LINUX系统优化的密笈?????
能否传我一两招????
回复

使用道具 举报

发表于 2005-3-17 19:54:03 | 显示全部楼层
楼主,在windows下你是用什么播放软件来播放HDTV的??
回复

使用道具 举报

 楼主| 发表于 2005-3-18 10:13:58 | 显示全部楼层
[quote:cd92fbffa9="GGGO"]楼主,在windows下你是用什么播放软件来播放HDTV的??[/quote]

同事在他的机器上安装了PowerDVD!!!!

我的机器已经删掉了Windows。
回复

使用道具 举报

发表于 2005-3-19 09:43:49 | 显示全部楼层
Try to re-compile the kernel and select the cpu type which matches yours and install official nvidia video driver,.

To tell the truth, I think ur pc is not that capable to play HDTV ts file
回复

使用道具 举报

发表于 2005-3-19 23:41:00 | 显示全部楼层
我下载了那个HDTV,在我这里用mplayer播放,跟其他的一样,播放了一会后会没声音。但是不会退出。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-8-3 07:30 , Processed in 0.041766 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表