LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 11083|回复: 15

如何打开mkv视频文件?

[复制链接]
发表于 2008-8-12 23:07:58 | 显示全部楼层 |阅读模式
用mplayer打开mkv文件有声音没有图像?
用户名用户名 该用户已被删除
发表于 2008-8-13 02:50:41 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-8-13 22:20:07 | 显示全部楼层
Post by 用户名用户名;1885331
win32 codes


这个装了啊。可能是64位的,没装对。
我看看。多谢!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-2 09:44:00 | 显示全部楼层
64位的用mplayer的时候是不是需要在lib64的目录下重建个codec的路径?
以前在论坛上看到有这么一说,哪位能详细的说一下?
多谢先。
回复 支持 反对

使用道具 举报

发表于 2008-10-2 09:49:37 | 显示全部楼层
用终端播放会提示路径
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-2 10:02:52 | 显示全部楼层
zl@linux-sc92:/windows/E/firends/Season04> mplayer Friends\ -\ 4x01\ -\ The\ Jellyfish.mkv
MPlayer 1.0rc2-openSUSE Linux 11.0 (x86_64)-Packman-4.3 (C) 2000-2007 MPlayer Team         
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 79, Stepping: 2)               
3DNow supported but disabled                                                               
3DNowExt supported but disabled                                                            
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1                                
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2                                    
Can't open joystick device /dev/input/js0: No such file or directory                       
Can't init input joystick                                                                  
mplayer: could not connect to socket                                                      
mplayer: No such file or directory                                                         
Failed to open LIRC support. You will not be able to use your remote control.              

Playing Friends - 4x01 - The Jellyfish.mkv.
[mkv] Track ID 1: audio (A_REAL/COOK), -aid 0, -alang eng
[mkv] Track ID 2: video (V_REAL/RV40), -vid 0            
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang chi
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 1, -slang eng
[mkv] Will play video track 2.                              
Matroska file format detected.                  
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drvc.so: cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drv4.so.6.0: cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x30345652.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 96.5 kbit/6.84% (ratio: 12059->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio decoder)

上面是在终端播放显示的错误。
回复 支持 反对

使用道具 举报

发表于 2008-10-2 10:07:21 | 显示全部楼层
/usr/lib64/RealPlayer10/codecs/
建立这个目录,把win32里的解码器链接或者复制到这里。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-2 10:23:55 | 显示全部楼层
错误换了个样:
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drvc.so: wrong ELF class: ELFCLASS32
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drvc.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drv4.so.6.0: wrong ELF class: ELFCLASS32
ERROR: Could not open required DirectShow codec drv4.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
ERROR: Could not open required DirectShow codec drv43260.dll.
Read the RealVideo section of the DOCS!
VDecoder init failed
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib64/RealPlayer10/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed
Cannot find codec matching selected -vo and video format 0x30345652.
Read DOCS/HTML/en/codecs.html!

另外解码器和mplayer我都是在源里装的,不会有问题吧。
回复 支持 反对

使用道具 举报

发表于 2008-10-2 10:35:47 | 显示全部楼层
从mplayer网站上下解码器 http://www.mplayerhq.hu/design7/dload.html 试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-10-2 10:43:11 | 显示全部楼层
Post by Jeff-cao;1889415
从mplayer网站上下解码器 http://www.mplayerhq.hu/design7/dload.html 试试


非常感谢,可以播放了。看来是drvc.so的问题。
现在还有一个问题就是字幕不能正常显示。
回复 支持 反对

使用道具 举报

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

本版积分规则

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