Opened 10 years ago
Closed 10 years ago
#2207 closed defect (fixed)
Embedded otf application/vnd.ms-opentype fonts fail to load
Reported by: | redxii | Owned by: | beastd |
---|---|---|---|
Priority: | normal | Component: | core |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | yes | Analyzed by developer: | no |
Description
It doesn't not appear that MPlayer supports loading of embedded .otf fonts that identify with the MIME type 'application/vnd.ms-opentype'. Some authors modify the MIME type of .otf fonts as 'application/x-truetype-font' and thus load fine, but many do not do this (deliberately not wanting to workaround this bug or unknown to them) and results in fontconfig falling back to a system font.
C:/Program Files/SMPlayer/mplayer/mplayer.exe -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo direct3d, -ao dsound -nokeepaspect -priority abovenormal -nodr -double -wid 264170 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles C:/Users/Joshua/.smplayer/styles.ass -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp ISO-8859-1 -subpos 100 -volume 50 -cache 2048 -osdlevel 0 -vf-add screenshot -noslices -channels 6 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 110 G:/Videos/otf-vnd-ms-opentype-embedded.mkv MPlayer Redxii-SVN-r37292-4.8.3 (x86_64) (C) 2000-2014 MPlayer Team Compiled against FFmpeg version N-66604-gdf8394c Build date: Sat Oct 4 12:59:38 EDT 2014 Setting process priority: abovenormal Playing G:/Videos/otf-vnd-ms-opentype-embedded.mkv. Cache fill: 0.00% (0 bytes) libavformat version 56.7.104 (internal) libavformat file format detected. ID_CHAPTER_ID=0 ID_CHAPTER_0_START=33 ID_CHAPTER_0_END=54060 ID_CHAPTER_0_NAME=Intro ID_CHAPTER_ID=1 ID_CHAPTER_1_START=54060 ID_CHAPTER_1_END=144030 ID_CHAPTER_1_NAME=Opening ID_CHAPTER_ID=2 ID_CHAPTER_2_START=144030 ID_CHAPTER_2_END=1325010 ID_CHAPTER_2_NAME=Episode ID_CHAPTER_ID=3 ID_CHAPTER_3_START=1325010 ID_CHAPTER_3_END=1415000 ID_CHAPTER_3_NAME=Ending ID_CHAPTER_ID=4 ID_CHAPTER_4_START=1415000 ID_CHAPTER_4_END=1420109 ID_CHAPTER_4_NAME=Preview ID_VIDEO_ID=0 ID_VID_0_NAME=10bit H.264 - 720p [lavf] stream 0: video (h264), -vid 0, 10bit H.264 - 720p ID_AUDIO_ID=0 ID_AID_0_LANG=jpn ID_AID_0_NAME=2.0 AAC [lavf] stream 1: audio (aac), -aid 0, -alang jpn, 2.0 AAC ID_SUBTITLE_ID=0 ID_SID_0_LANG=eng ID_SID_0_NAME=FFF [lavf] stream 2: subtitle (ass), -sid 0, -slang eng, FFF VIDEO: [H264] 1280x720 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) Clip info: encoder: libebml v1.3.0 + libmatroska v1.4.1 ID_CLIP_INFO_NAME0=encoder ID_CLIP_INFO_VALUE0=libebml v1.3.0 + libmatroska v1.4.1 creation_time: 2014-08-19 09:48:19 ID_CLIP_INFO_NAME1=creation_time ID_CLIP_INFO_VALUE1=2014-08-19 09:48:19 ID_CLIP_INFO_N=2 Load subtitles in G:/Videos/ Load subtitles in C:/Program Files/SMPlayer/mplayer/mplayer/sub/ ID_FILENAME=G:/Videos/otf-vnd-ms-opentype-embedded.mkv ID_DEMUXER=lavfpref ID_VIDEO_FORMAT=H264 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=1280 ID_VIDEO_HEIGHT=720 ID_VIDEO_FPS=23.976 ID_VIDEO_ASPECT=0.0000 ID_AUDIO_FORMAT=MP4A ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 ID_START_TIME=0.00 ID_LENGTH=1420.11 ID_SEEKABLE=1 ID_CHAPTERS=5 Opening video filter: [ass auto=1] [ass] auto-open Opening video filter: [screenshot] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 56.2.101 (internal) Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 44100 Hz, 2 ch, floatle, 0.0 kbit/0.00% (ratio: 0->352800) ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=44100 ID_AUDIO_NCH=2 Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [dsound] 44100Hz 2ch s16le (2 bytes per sample) ID_AUDIO_CODEC=ffaac [Mixer] No hardware mixing, inserting volume filter. Starting playback... Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. ID_VIDEO_ASPECT=1.7778 [swscaler @ 00000000014ba340]bicubic scaler, from yuv420p10le to yuv420p using MMXEXT [swscaler @ 00000000014ba340]using unscaled yuv420p10le -> yuv420p special converter VO: [direct3d] 1280x720 => 1280x720 Planar YV12 ID_VIDEO_TRACK=0 ID_AUDIO_TRACK=0 [ass] fontconfig: cannot find font 'Montara Gothic', falling back to 'Verdana' Exiting... (Quit) ID_EXIT=QUIT
Attachments (1)
Change History (5)
by , 10 years ago
Attachment: | otf-vnd-ms-opentype-embedded.mkv added |
---|
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Component: | undetermined → core |
---|
comment:3 by , 10 years ago
Reproduced by developer: | set |
---|---|
Status: | new → open |
FTP server should be working fine. The server is write-only for the incoming directory, so you will not be able to download or list files.
Anyway I could reproduce locally. Will look further into it.
Thanks for the report!
comment:4 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
Should be fixed in SVN trunk after revisions r37311 and r37312.
Thank you for the report and do not hesitate to re-open this bug if it does not work for you.
Can't seem to connect to the upload.mplayerhq.hu ftp server to upload a larger sample, but this is one video using an otf vnd.ms-opentype attachment if extracting the font won't work on a trimmed file: http://fffansubs.org/?p=7204