mplayer identifies the subtitles, but it is unable to display them. Format : UTF-8 Codec ID : S_TEXT/UTF8 Codec ID/Info : UTF-8 Plain Text This is the unninformative error of mplayer: New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. New_Face failed. Maybe the font path is wrong. Please supply the text font file (~/.mplayer/subfont.ttf). subtitle font: load_sub_face failed. If the conf detects fontconfig on the system, it uses the lib, and is able to display the subtitiles. Also build without fontconfig, it breaks umplayer (if you select a system font on the ttf file directly for subtitles). The default command line of umplayer is something like (short version): mplayer -fontconfig -font 'Bitstream Vera Sans' movie.mkv MPlayer was compiled without fontconfig support. MPlayer SVN-r37257-snapshot-3.3 (C) 2000-2014 MPlayer Team This breaks the version parsing of umplayer, and makes a blank window.
Auto-assigned to maintainer riggs@FreeBSD.org
I forgot, this happens only with some subtitles, not all. When it is broken it doesn't show even english subs.
Do you have an example file? My test files with S_TEXT/UTF8 all properly display their subtitles. I supplied it a font file, though, by cd ~/.mplayer ln -s /path/to/some/ttf/file subfont.ttf
Here is how it goes: with fontconfig: - works out of the box, no links with no fontconfig: - by adding the subfont.ttf link - works - by using: mplayer -font /whatever/font.ttf - works - by adding the subfont.ttf link - umplayer also works - When selecting a font in umplayer, no play at all - fails to detect mplayer Is worth mentioning if it is build in a clean enviroment (poudriere) it will not use fontconfig, but it is build on a desktop it will pick it, and use it. A temp file with subs: http://loox.e-shell.net/file.mkv
A commit references this bug: Author: riggs Date: Thu Sep 18 12:08:12 UTC 2014 New revision: 368445 URL: http://svnweb.freebsd.org/changeset/ports/368445 Log: - Make FONTCONFIG a default OPTION - improves compatibility with umplayer - does not require manual config modification for subtitle display - Bump PORTREVISION PR: 193675 Submitted by: loox@e-shell.net Changes: head/multimedia/mplayer/Makefile