Subtitles in VLC [Solved]

Discussions Regarding Software

Moderator: Moderators

Post Reply
byto
Simple Hen
Posts: 67
Joined: Fri Oct 30, 2009 15:40
Location: Slovakia

Subtitles in VLC [Solved]

Post by byto » Sat Dec 11, 2010 21:23

Hi, I have one problem with VLC player. When I change something in settings of subtitles (e.g. color of subtitles)subtitles become very small (about 2 pixels) and change doesnt show too. This situation is from version 1.1.0 (i dont remember it exactly). I hoped it will be fixed in next version but it is still same. Then I have to delete file vlcrc and after that is vlc player with default settings. I tried VLC in other distros and there it works good so I think it is probably bug of sabayon vlc package. Can you help me? thanks
Last edited by byto on Wed Dec 15, 2010 15:54, edited 1 time in total.
Image

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Subtitles in VLC

Post by lxnay » Sun Dec 12, 2010 23:34

Have you tried to contact VLC developers directly about this?
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

byto
Simple Hen
Posts: 67
Joined: Fri Oct 30, 2009 15:40
Location: Slovakia

Re: Subtitles in VLC

Post by byto » Mon Dec 13, 2010 12:47

When I launch vlc from terminal and start some video with subtitles it write this error:

Code: Select all

[0x992a3fc] freetype spu text error: failed to load font file DejaVu Sans
I found something in vlc forum. Some guy using Gentoo had same problem. He solved it with:

Code: Select all

emerge --depclean vlc
USE="fontconfig truetype" emerge vlc
but when I want to compile vlc with emerge it ends with error:

Code: Select all

...........
Making all in notify
  CC     libnotify_plugin_la-notify.lo
  CC     libtelepathy_plugin_la-telepathy.lo
notify.c:37:21: error: gtk/gtk.h: No such file or directory
notify.c:38:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from notify.c:39:
/usr/include/libnotify/notify.h:24:18: error: glib.h: No such file or directory
In file included from /usr/include/libnotify/notify.h:27,
                 from notify.c:39:
/usr/include/libnotify/notification.h:26:25: error: glib-object.h: No such file or directory
In file included from /usr/include/libnotify/notify.h:27,
                 from notify.c:39:
/usr/include/libnotify/notification.h:50: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef'
/usr/include/libnotify/notification.h:56: error: expected specifier-qualifier-list before 'GObject'
/usr/include/libnotify/notification.h:62: error: expected specifier-qualifier-list before 'GObjectClass'
/usr/include/libnotify/notification.h:79: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:85: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_notification_get_type'
/usr/include/libnotify/notification.h:87: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/libnotify/notification.h:91:22: error: missing binary operator before token "("
/usr/include/libnotify/notification.h:97: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_notification_update'
/usr/include/libnotify/notification.h:102: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:105:22: error: missing binary operator before token "("
/usr/include/libnotify/notification.h:110: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:115: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_notification_show'
/usr/include/libnotify/notification.h:118: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:121: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:124: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:127: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:130: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:132: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:135: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:138: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:142: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:145: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:149: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:151: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:156: error: expected ')' before '*' token
/usr/include/libnotify/notification.h:157: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_notification_close'
/usr/include/libnotify/notification.h:160: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_notification_get_closed_reason'
In file included from /usr/include/libnotify/notify.h:28,
                 from notify.c:39:
/usr/include/libnotify/notify-enum-types.h:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS'
In file included from notify.c:39:
/usr/include/libnotify/notify.h:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'G_BEGIN_DECLS'
/usr/include/libnotify/notify.h:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_is_initted'
/usr/include/libnotify/notify.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/libnotify/notify.h:68: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
/usr/include/libnotify/notify.h:82: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'notify_get_server_info'
notify.c:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
notify.c: In function 'vlc_entry__1_1_0g':
notify.c:62: error: 'Open' undeclared (first use in this function)
notify.c:62: error: (Each undeclared identifier is reported only once
notify.c:62: error: for each function it appears in.)
notify.c: At top level:
notify.c:71: error: expected declaration specifiers or '...' before 'GdkPixbuf'
notify.c:76: error: expected specifier-qualifier-list before 'NotifyNotification'
notify.c: In function 'Open':
notify.c:92: error: implicit declaration of function 'notify_init'
notify.c:100: error: 'intf_sys_t' has no member named 'lock'
notify.c:101: error: 'intf_sys_t' has no member named 'notification'
notify.c:102: error: 'intf_sys_t' has no member named 'b_has_actions'
notify.c:104: error: 'GList' undeclared (first use in this function)
notify.c:104: error: 'p_caps' undeclared (first use in this function)
notify.c:104: error: implicit declaration of function 'notify_get_server_caps'
notify.c:107: error: 'c' undeclared (first use in this function)
notify.c:111: error: 'intf_sys_t' has no member named 'b_has_actions'
notify.c:115: error: implicit declaration of function 'g_list_foreach'
notify.c:115: error: 'GFunc' undeclared (first use in this function)
notify.c:115: error: expected ')' before 'g_free'
notify.c:116: error: implicit declaration of function 'g_list_free'
notify.c: In function 'Close':
notify.c:135: error: 'intf_sys_t' has no member named 'notification'
notify.c:137: error: 'GError' undeclared (first use in this function)
notify.c:137: error: 'p_error' undeclared (first use in this function)
notify.c:138: error: implicit declaration of function 'notify_notification_close'
notify.c:138: error: 'intf_sys_t' has no member named 'notification'
notify.c:139: error: implicit declaration of function 'g_object_unref'
notify.c:139: error: 'intf_sys_t' has no member named 'notification'
notify.c:142: error: 'intf_sys_t' has no member named 'lock'
notify.c: In function 'ItemChange':
notify.c:209: error: 'GdkPixbuf' undeclared (first use in this function)
notify.c:209: error: 'pix' undeclared (first use in this function)
notify.c:222: error: 'GError' undeclared (first use in this function)
notify.c:222: error: 'p_error' undeclared (first use in this function)
notify.c:223: error: implicit declaration of function 'gdk_pixbuf_new_from_file_at_scale'
notify.c:224: error: 'TRUE' undeclared (first use in this function)
notify.c:229: error: 'GtkIconTheme' undeclared (first use in this function)
notify.c:229: error: 'p_theme' undeclared (first use in this function)
notify.c:229: error: implicit declaration of function 'gtk_icon_theme_get_default'
notify.c:230: error: implicit declaration of function 'gtk_icon_theme_load_icon'
notify.c:240: error: implicit declaration of function 'gdk_pixbuf_new_from_file'
notify.c:270: error: 'intf_sys_t' has no member named 'lock'
notify.c:272: error: too many arguments to function 'Notify'
notify.c:274: error: 'intf_sys_t' has no member named 'lock'
notify.c: At top level:
notify.c:280: error: expected ')' before '*' token
notify.c:290: error: expected ')' before '*' token
notify.c:299: error: expected declaration specifiers or '...' before 'GdkPixbuf'
notify.c: In function 'Notify':
notify.c:304: error: 'NotifyNotification' undeclared (first use in this function)
notify.c:304: error: 'notification' undeclared (first use in this function)
notify.c:307: error: 'intf_sys_t' has no member named 'notification'
notify.c:309: error: 'GError' undeclared (first use in this function)
notify.c:309: error: 'p_error' undeclared (first use in this function)
notify.c:310: error: 'intf_sys_t' has no member named 'notification'
notify.c:311: error: 'intf_sys_t' has no member named 'notification'
notify.c:314: error: implicit declaration of function 'notify_notification_new'
notify.c:316: error: implicit declaration of function 'notify_notification_set_timeout'
notify.c:318: error: implicit declaration of function 'notify_notification_set_urgency'
notify.c:319: error: 'pix' undeclared (first use in this function)
notify.c:321: error: implicit declaration of function 'notify_notification_set_icon_from_pixbuf'
notify.c:322: error: implicit declaration of function 'gdk_pixbuf_unref'
notify.c:326: error: 'intf_sys_t' has no member named 'b_has_actions'
notify.c:328: error: implicit declaration of function 'notify_notification_add_action'
notify.c:328: error: 'Prev' undeclared (first use in this function)
notify.c:329: error: 'gpointer' undeclared (first use in this function)
notify.c:329: error: expected expression before ')' token
notify.c:330: error: 'Next' undeclared (first use in this function)
notify.c:331: error: expected expression before ')' token
notify.c:334: error: implicit declaration of function 'notify_notification_show'
notify.c:337: error: 'intf_sys_t' has no member named 'notification'
make[6]: *** [libnotify_plugin_la-notify.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: media-video/vlc-1.1.5 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4272:  Called base_src_compile
 *   environment, line  836:  Called base_src_make
 *   environment, line  874:  Called die
 * The specific snippet of code:
 *           emake "[email protected]" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =media-video/vlc-1.1.5',
 * the complete build log and the output of 'emerge -pqv =media-video/vlc-1.1.5'.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-1.1.5/temp/environment'.
 * S: '/var/tmp/portage/media-video/vlc-1.1.5/work/vlc-1.1.5'

>>> Failed to emerge media-video/vlc-1.1.5, Log file:

>>>  '/var/tmp/portage/media-video/vlc-1.1.5/temp/build.log'

 * Messages for package media-video/vlc-1.1.5:

 * ERROR: media-video/vlc-1.1.5 failed:
 *   died running emake, base_src_make
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4272:  Called base_src_compile
 *   environment, line  836:  Called base_src_make
 *   environment, line  874:  Called die
 * The specific snippet of code:
 *           emake "[email protected]" || die "died running emake, $FUNCNAME";
 * 
 * If you need support, post the output of 'emerge --info =media-video/vlc-1.1.5',
 * the complete build log and the output of 'emerge -pqv =media-video/vlc-1.1.5'.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-1.1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-1.1.5/temp/environment'.
 * S: '/var/tmp/portage/media-video/vlc-1.1.5/work/vlc-1.1.5'
do you know what is wrong? thanks
Image

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Subtitles in VLC

Post by lxnay » Mon Dec 13, 2010 14:49

I recompiled VLC with fontconfig support. It will be available soon. Thanks a lot XD
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

byto
Simple Hen
Posts: 67
Joined: Fri Oct 30, 2009 15:40
Location: Slovakia

Re: Subtitles in VLC

Post by byto » Mon Dec 13, 2010 15:27

I thank you I will waiting for it :)
Image

byto
Simple Hen
Posts: 67
Joined: Fri Oct 30, 2009 15:40
Location: Slovakia

Re: Subtitles in VLC

Post by byto » Wed Dec 15, 2010 15:54

Update is installed and everything is ok :) Thanks
Image

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Subtitles in VLC [Solved]

Post by lxnay » Wed Dec 15, 2010 15:56

You're welcome
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

Post Reply