找回密码
 注册
查看: 857|回复: 8

mplayer 1.pre3一遇到字幕就退出,怎么办?

[复制链接]
发表于 2004-1-8 22:26:13 | 显示全部楼层 |阅读模式
我已经看了上面置顶的帖子
改了config
可是还是不能解决问题
怎么办?
以前装的时候好用
现在我重装了系统,再装就不好用了
发表于 2004-1-9 10:21:22 | 显示全部楼层
在控制台窗口里运行gmplayer,然后打开电影,看看出什么错误信息。贴上来。
回复

使用道具 举报

 楼主| 发表于 2004-1-11 09:30:20 | 显示全部楼层
MPlayer 1.0pre3-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 1735 MHz (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
CommandLine: 'Friends - 820 - The One With The Baby Shower.avi' 'Friends - 821 -
The One With The Cooking Class.avi' 'Friends - 822 - TOW rachel is late.avi' 'F
riends - 823-824 -the_one_where_rachel_has_a_baby.avi' '-v'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Input config file /root/.mplayer/input.conf parsed: 53 binds
get_path('Friends - 820 - The One With The Baby Shower.avi.conf') -> '/root/.mpl
ayer/Friends - 820 - The One With The Baby Shower.avi.conf'

Playing Friends - 820 - The One With The Baby Shower.avi.
[file] File size is 95756288 bytes
STREAM: [file] Friends - 820 - The One With The Baby Shower.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 33367  (fps=29.970)
max bytes/sec: 0
padding: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 39221   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  320 x 240
==========================
list_end=0x10F4
==> Found video stream: 0
====== STREAM Header =====
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 1000000/33367 = 29.970
Start: 0   Len: 39221
Suggested BufferSize: 25523
Quality 10000
Sample size: 0
==========================
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 230400
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 7963/1 = 7963.000
Start: 0   Len: 10420455
Suggested BufferSize: 3981
Quality -1
Sample size: 1
==========================
found 'wf', 30 bytes of 18
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 1
Samplerate: 44100
avg byte/sec: 7963
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=208
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
===========================
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0x5A1F660
Found movie at 0x280C - 0x5A1F660
Reading INDEX block, 78426 chunks for 39221 frames (fpos=0x5a1f66
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xF9A)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=83410912 (39221) audio size=10420455 (10420455)
VIDEO:  [DIV3]  320x240  24bpp  29.970 fps  509.9 kbps (62.2 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:320x240  fps:29.97  ftime:=0.0334
get_path('sub/') -> '/root/.mplayer/sub/'
SUB: Detected subtitle file format: subviewer
SUB: Read 634 subtitles.
SUB: Adjusted 490 subtitle(s).
SUB: added subtitle file (1): ./Friends - 820 - The One With The Baby Shower.sub
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer III, 44100 Hz 64 kbit Single-Channel, BPF: 208
Channels: 1, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 8000->176400 (64.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours STAYS_ON_TOP X atoms
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps =
2
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-
bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
audio_setup: frags:   4/4  (16384 bytes/frag)  free:  65536
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps =
2
[dummy] Was reinitialized, rate=44100Hz, nch = 2, format = 0x00000001 and bps =
2
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (320x240->320x240,flags=0,'MPlayer',0x32315659)
VO: [xv] 320x240 => 320x240 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <[email protected]> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 105 for hw scaling
[xv] dx: 0 dy: 0 dw: 320 dh: 240
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_STAYS_ON_TOP.
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
XXX initial  v_pts=0.000  a_pos=3981 (0.500) /  1   0%  0%  0.0% 0 0 0%
*** [vo] Allocating (slices) mp_image_t, 320x240x12bpp YUV planar, 115200 bytes
[xv] dx: 0 dy: 0 dw: 320 dh: 240:  0.060   38/ 38  32%  1%  0.6% 7 0 0%
[msmpeg4 @ 0x8592d20]ac-tex damaged at 9 3 95/ 95  15%  1%  0.6% 7 0 0%
[msmpeg4 @ 0x8592d20]
error while decoding block: 9 x 3 (1)
[msmpeg4 @ 0x8592d20]Error at MB: 72
[msmpeg4 @ 0x8592d20]concealing errors
A:   3.9 V:   3.9 A-V:  0.001 ct:  0.062  118/118  12%  1%  0.6% 7 0 0%

MPlayer interrupted by signal 11 in module: decode_video
- 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.
[msmpeg4 @ 0x8592d20]concealing errors
- 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.
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x856c200
vo: uninit ...
回复

使用道具 举报

发表于 2004-1-11 10:09:41 | 显示全部楼层
好像是中文字幕字体设置不正确,看看置顶的mplayer问题索引,里面应该有解决办法。
回复

使用道具 举报

 楼主| 发表于 2004-1-11 10:23:17 | 显示全部楼层
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed


字幕不正确不是只有不显示吗?怎么退出了呢?
回复

使用道具 举报

发表于 2004-1-11 12:45:04 | 显示全部楼层
不加字幕播的了?也把输出搞出来看看
回复

使用道具 举报

发表于 2004-1-12 11:57:29 | 显示全部楼层
CommandLine: 'Friends - 820 - The One With The Baby Shower.avi' 'Friends - 821 -
The One With The Cooking Class.avi' 'Friends - 822 - TOW rachel is late.avi' 'F
riends - 823-824 -the_one_where_rachel_has_a_baby.avi' '-v'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay

你有font.desc吗?
回复

使用道具 举报

发表于 2004-5-30 08:31:58 | 显示全部楼层
mplayer has a bug when decoding some specified format sub files.
回复

使用道具 举报

发表于 2004-5-30 11:46:14 | 显示全部楼层
刚才在学校实验室 输不了中文 mplayer的subtitle parser有点小bug, 所以解析有些字幕文件的时候会出问题 可以自己改下源码编译一下就好
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-7-26 09:18 , Processed in 0.046294 second(s), 16 queries .

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

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