当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 8 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-11 16:35 
头像

注册: 2007-10-06 18:40
帖子: 4313
送出感谢: 0 次
接收感谢: 5
[david@david Opera]$ mplayer -dvd-device 卡洛斯·克莱伯\(Carlos·Kleiber\).-.\[比才歌剧卡门\].演唱会.\(DVDISO\).iso dvd://1
Warning unknown option dvd_device at line 12
MPlayer SVN-r29411-4.4.0 (C) 2000-2009 MPlayer Team
137 audio & 299 video codecs
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 dvd://1.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!
No stream found to handle url dvd://1


_________________
E=m c^2


页首
 用户资料  
 
2 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-11 16:39 
头像

注册: 2008-02-17 23:47
帖子: 22109
地址: 美丽富饶的那啥星球
送出感谢: 11
接收感谢: 82
可以这样放?ISO文件坏了吧?要不就是卡勒死.克莱伯把人家卡死了 :em06


_________________
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手


页首
 用户资料  
 
3 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-11 16:42 
头像

注册: 2007-10-06 18:40
帖子: 4313
送出感谢: 0 次
接收感谢: 5
adagio 写道:
可以这样放?ISO文件坏了吧?要不就是卡勒死.克莱伯把人家卡死了 :em06

不会吧iso可以mount上, vlc就可以播放


_________________
E=m c^2


页首
 用户资料  
 
4 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-12 10:37 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
没有标准的dvd 电影碟,只有一张DVD压缩碟:

代码:
mplayer dvd://
MPlayer SVN-r29411-4.4.0 (C) 2000-2009 MPlayer Team
138 audio & 300 video codecs
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 dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
There are 7 titles on this DVD.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000011f
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000001d9
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000a05
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
audio stream: 0 format: mpeg1 (mono) language: en aid: 0.
number of audio channels on disk: 1.
subtitle ( sid ): 0 language: unknown
number of subtitles on disk: 1
MPEG-PS file format detected.
VIDEO:  MPEG2  352x240  (aspect 2)  29.970 fps  3000.0 kbps (375.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred colorspace: 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.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat -1
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 80.0 kbit/5.21% (ratio: 10000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 352 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 352x240 => 352x264 Planar YV12
[mpeg2video @ 0x879f440]ac-tex damaged at 0 1  1 ??% ??% ??,?% 0 0
[mpeg2video @ 0x879f440]Warning MVs not available
[mpeg2video @ 0x879f440]concealing 308 DC, 308 AC, 308 MV errors
A: 127.8 V: 127.8 A-V: -0.005 ct:  0.149 4118/4118  2%  0%  1.5% 4 0



选曲也是可以的:
代码:
mplayer dvd://3

代码:
 mplayer dvd://2


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
5 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-12 10:42 
头像

注册: 2006-12-23 13:46
帖子: 9203
地址: Azores Islands
送出感谢: 0 次
接收感谢: 1
引用:
You can play ISOs directly with VLC or Kaffeine. You can play it with mplayer or xine if you specify the path to your ISO image in command line:

xine dvd:/path/to/your/DVD/image.iso
mplayer dvd://1 -dvd-device /path/to/your/DVD/image.iso

The latter example will play DVD title #1. It's even easier with mplayer:

mplayer DVD.iso

But mplayer isn't good for watching DVDs yet. It has some support for DVD menus via libdvdnav, but it's still buggy now.

VLC and kaffeine support playing DVDs from folder. You'll find that option in their menu. Xine can do this, too, but via command line, exactly in the same way as it does with ISOs, just specify the path to VIDEO_TS:

xine dvd://path/to/your/DVD/VIDEO_TS/


_________________
no security measure is worth anything if an attacker has physical access to the machine


页首
 用户资料  
 
6 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-12 14:14 
头像

注册: 2009-05-31 17:40
帖子: 737
地址: NO
送出感谢: 2
接收感谢: 1
不但能放,而且支持DVD菜单。


_________________
No.


页首
 用户资料  
 
7 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-12 16:58 
头像

注册: 2007-10-06 18:40
帖子: 4313
送出感谢: 0 次
接收感谢: 5
只有 mplayer DVD.iso 可以播放. 但这样就无法调出字幕.


_________________
E=m c^2


页首
 用户资料  
 
8 楼 
 文章标题 : Re: arch中的mplayer无法播放DVD
帖子发表于 : 2009-08-13 22:50 
头像

注册: 2007-10-06 18:40
帖子: 4313
送出感谢: 0 次
接收感谢: 5
解决了, 比较复杂.
#先用losetup命令把iso设置成loop设备
sudo losetup /dev/loop1 /media/disk/Opera/卡洛斯·克莱伯\(Carlos·Kleiber\).-.\[比才歌剧卡门\].演唱会.\(DVDISO\).iso
#然后挂载loop设备
sudo mount /dev/loop1 /mnt/
#最后当然就是看碟了
mplayer -dvd-device /mnt/ dvd://

不知道无什么直接mount上iso不行, 会出现
代码:
Playing dvd://.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Attempting to use device /media/disk/Opera/卡洛斯·克莱伯(Carlos·Kleiber).-.[比才歌剧卡门].演唱会.(DVDISO).iso mounted on /mnt for CSS authentication
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.


_________________
E=m c^2


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 8 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 3 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译