totem-xine 的中文字幕处理。

Totem,mplayer,sopcast,realplayer,bmp
gshangyu
帖子: 7
注册时间: 2007-04-30 13:36

#46

帖子 gshangyu » 2007-07-18 21:14

maomaoCSD 写了:编译错误,需安装什么?
错误如下:

gcc: freetype-config --cflags --libs:没有那个文件或目录
In file included from xine-fontconv.c:47:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: 没有那个文件或目录
xine-fontconv.c:48:10: error: #include expects "FILENAME" or <FILENAME>
xine-fontconv.c:49:10: error: #include expects "FILENAME" or <FILENAME>
xine-fontconv.c:234: 错误:syntax error before ‘*’ token
xine-fontconv.c: 在函数 ‘create_bitmap’ 中:
xine-fontconv.c:235: 错误:‘FT_Bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:235: 错误:(即使在一个函数内多次出现,每个未声明的标识符在其
xine-fontconv.c:235: 错误:所在的函数内只报告一次。)
xine-fontconv.c:235: 错误:‘bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c: 在顶层:
xine-fontconv.c:249: 错误:syntax error before ‘*’ token
xine-fontconv.c: 在函数 ‘destroy_bitmap’ 中:
xine-fontconv.c:250: 错误:‘bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c: 在顶层:
xine-fontconv.c:262: 错误:syntax error before ‘*’ token
xine-fontconv.c: 在函数 ‘add_border_bitmap’ 中:
xine-fontconv.c:268: 错误:‘src’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:272: 错误:‘left’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:273: 错误:‘dst’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:276: 错误:‘top’ 未声明 (在此函数内第一次使用)
xine-fontconv.c: 在顶层:
xine-fontconv.c:304: 错误:syntax error before ‘*’ token
xine-fontconv.c: 在函数 ‘add_final_bitmap’ 中:
xine-fontconv.c:310: 错误:‘src’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:314: 错误:‘left’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:315: 错误:‘dst’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:318: 错误:‘top’ 未声明 (在此函数内第一次使用)
xine-fontconv.c: 在顶层:
xine-fontconv.c:339: 错误:syntax error before ‘face’
xine-fontconv.c: 在函数 ‘render_font’ 中:
xine-fontconv.c:343: 错误:‘FT_Bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:343: 错误:‘out_bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:348: 错误:‘FT_Glyph’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:348: 错误:syntax error before ‘glyph’
xine-fontconv.c:349: 错误:‘FT_BitmapGlyph’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:350: 错误:‘FT_Vector’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:366: 错误:‘fontname’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:366: 错误:‘size’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:389: 错误:‘face’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:398: 错误:‘thickness’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:408: 错误:‘unicodes’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:419: 错误:‘FT_LOAD_DEFAULT’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:458: 错误:‘glyph’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:466: 错误:‘origin’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:470: 错误:‘ft_render_mode_normal’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:478: 错误:‘glyph_bitmap’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:478: 错误:syntax error before ‘glyph’
xine-fontconv.c: 在函数 ‘main’ 中:
xine-fontconv.c:533: 错误:‘FT_Library’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:533: 错误:syntax error before ‘library’
xine-fontconv.c:534: 错误:‘FT_Face’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:559: 错误:‘library’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:568: 错误:‘face’ 未声明 (在此函数内第一次使用)
xine-fontconv.c:573: 错误:‘ft_encoding_unicode’ 未声明 (在此函数内第一次使用)
你应该是没有装libfreetype6-dev这个工具吧
装上了就好了
但我最后出现了跟39楼一样的问题
不知道又是缺少了哪个软件
liangkou
帖子: 5
注册时间: 2006-11-05 21:10
来自: Nankai U
联系:

直接安装xine字体就行了

#47

帖子 liangkou » 2007-08-20 21:49

中文字幕的 deb 包
http://ftp.ubuntu.org.cn/fonts/xine-fonts-cn/
xine-fonts-cn_0.1.2_all.deb
下载后安装就可以了。
我装后就能用totem看mkv格式的friends,有中文字幕。
头像
command
帖子: 306
注册时间: 2007-10-14 0:50
来自: GUCAS

#48

帖子 command » 2008-01-09 18:18

内存不足 写了:還是用mplayer方便.idx+.sub的字幕可以看了,但在加载的时候有个弹出窗口说.sub什么的。
我的问题和你的一样,怎么才能消灭那个烦心的提示呢?
petepete
帖子: 17
注册时间: 2007-11-08 22:20
来自: shanghai

#49

帖子 petepete » 2008-01-18 0:18

下载并安装了中文字体,字幕反而都不出来了(以前有的,却是XXXX)
我的ubuntu没有totem_config文件,只有xine_config
字幕部分配置如下:
# subtitle size
# { tiny small normal large very large huge }, default: 1
subtitles.separate.subtitle_size:normal

# subtitle vertical offset
# numeric, default: 0
subtitles.separate.vertical_offset:30

# font for subtitles
# string, default: sans
subtitles.separate.font:sans

# font for subtitles
# string, default:
#subtitles.separate.font_freetype:

# whether to use a freetype font
# bool, default: 0
subtitles.separate.font_use_freetype:30

# encoding of the subtitles
# string, default: iso-8859-1
subtitles.separate.src_encoding:gb18030
totem xine player 字幕部分设置为:
font: sans
encoding: GB18030
---
该如何解决?
该如何修改?
:oops:
请你一定要比我幸福,才不枉费我狼狈退出!
dorice
帖子: 94
注册时间: 2006-06-22 1:52

#50

帖子 dorice » 2008-01-18 2:34

下载安装deb包之后,会把原来的字体文件删除……
而且中文还是乱码,折腾不起了,用iconv转换成utf8了……
怀疑新版的设置变了
artistf
帖子: 47
注册时间: 2008-01-05 8:54

#51

帖子 artistf » 2008-01-18 10:53

05n年的帖子这么靠上 啊?!
AMD Sempron 3200+
Unika Radeon 1650GT DDR3 256m
Kinstone 1G667x2 Duel Channel
Seagate 7200.9 160G
Onda A69T(690G chip,ATI 1250 integrated)
Philips 190cw7
189wxg
帖子: 4
注册时间: 2007-11-11 15:43

#52

帖子 189wxg » 2008-03-02 10:55

wxg189@wxg189-desktop:~$ sudo apt-get source libxine1c2
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
E: 无法打开文件 /var/lib/apt/lists/mirror.vmmatrix.net_ubuntu_dists_gutsy_main_source_Sources - open (2 No such file or directory)
Joshua_Zhan
帖子: 155
注册时间: 2008-01-04 20:57

#53

帖子 Joshua_Zhan » 2008-04-28 23:27

8.04里好像没有~/.gnome2/totem_config文件啊,8.04里该到哪找这个配置文件啊
头像
Duke.Augustine
帖子: 49
注册时间: 2008-06-04 1:17
联系:

#54

帖子 Duke.Augustine » 2008-06-21 1:37

请问8.04LTS的用户应该怎么改阿?
Benedicat nos Deus, Deus noster, benedicat nos Deus
ACER 4736G
kississik
帖子: 12
注册时间: 2008-06-10 0:58

#55

帖子 kississik » 2008-06-21 19:35

Joshua_Zhan 写了:8.04里好像没有~/.gnome2/totem_config文件啊,8.04里该到哪找这个配置文件啊
~/.gnome2/Totem/totem_config
飘迹
帖子: 8
注册时间: 2007-07-29 22:37

#56

帖子 飘迹 » 2008-06-25 19:48

谢谢,感激不尽!
解决了我的问题!
头像
Duke.Augustine
帖子: 49
注册时间: 2008-06-04 1:17
联系:

#57

帖子 Duke.Augustine » 2008-07-02 23:04

kississik 写了:
Joshua_Zhan 写了:8.04里好像没有~/.gnome2/totem_config文件啊,8.04里该到哪找这个配置文件啊
~/.gnome2/Totem/totem_config
THX:)
Benedicat nos Deus, Deus noster, benedicat nos Deus
ACER 4736G
emlary
帖子: 14
注册时间: 2007-05-13 22:50
联系:

#58

帖子 emlary » 2008-09-13 2:15

我也是用的ubuntu8.04怎么就没有上面说的目录呢?
~/.gnome2/Totem/totem_config
chaosriver
帖子: 43
注册时间: 2008-10-13 8:52
联系:

出错!!

#59

帖子 chaosriver » 2008-10-14 9:41

没有目录?

报错如下:
读取状态信息... 完成
E: 无法打开文件 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_breezy_main_source_Sources - open (2 没有该文件或目录)
chaosriver@chaosriver-desktop:~$ cd xine-lib-1.0.1/misc/
bash: cd: xine-lib-1.0.1/misc/: 没有该文件或目录

难道是我有东西没装吗?
头像
daggerman
帖子: 107
注册时间: 2008-10-11 6:10

Re: totem-xine 的中文字幕处理。

#60

帖子 daggerman » 2008-10-20 13:09

俺的8.04也没有这个目录gnome2 , 只有一个gnome。而且里面没有这个配置文件。全盘搜索都木有! :em06
郁闷! :em20
做个开心自由人!!!
回复