After discussion on #mplayerdev, Sherpya brought light to me on the fontconfig cache always regenerating problem. Apparently, fontconfig 2.6.0 has a mode to adjust for Daylight Savings Time but it wasn’t completely implemented but enabled nontheless, making it think the cache is always 1 hour older than it really is. I never noticed the specific problem before since the region I live has no DST/Summer Time, and would probably never figure out on my own :P

I have the patch to fix it already, but I won’t be able to release a new build today; probably tomorrow or the day after.

13 Responses to “Fontconfig Bug”
  1. Nijiko says:

    Video output error in playing this format.

    Playing F:\Media\Movie\__井上真央\temp90110 甜甜公主2番宣_もしもツアーズ預告.a
    vi\もしもツアーズ預告.avi.
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    Detected NON-INTERLEAVED AVI file format.
    VIDEO: [] 320×178 16bpp 10.000 fps 9113.6 kbps (1112.5 kbyte/s)
    [ass] auto-open
    Opening video filter: [screenshot]
    [ass] Init
    [ass] Updating font cache.
    ==========================================================================
    Opening video decoder: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    Could not find matching colorspace – retrying with -vf scale…
    Opening video filter: [scale]
    VDec: using BGR 15-bit as output csp (no 0)
    Opening video filter: [flip]
    Movie-Aspect is undefined – no prescaling applied.
    Unsupported format BGR 15-bit
    swScaler: Unknown format is not supported as input pixel format
    Couldn’t init SwScaler for this setup
    FATAL: Cannot initialize video driver.
    VDecoder init failed :(
    Opening video decoder: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    VDec: using BGR 15-bit as output csp (no 0)
    Opening video filter: [flip]
    Movie-Aspect is undefined – no prescaling applied.
    Unsupported format BGR 15-bit
    Couldn’t init SwScaler for this setup
    FATAL: Cannot initialize video driver.
    VDecoder init failed :(
    Opening video decoder: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: BGR 15-bit)
    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: [raw] RAW Uncompressed Video
    VDec: vo config request – 320 x 178 (preferred colorspace: Packed YUY2)
    VDec: using Packed YUY2 as output csp (no 0)
    Opening video filter: [flip]
    Movie-Aspect is undefined – no prescaling applied.
    Last message repeated 1 times
    [swscaler @ 0x2629ee0]No accelerated colorspace conversion found.
    VO: [direct3d] 320×178 => 320×178 Planar YV12
    Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
    ==========================================================================
    ==========================================================================
    Opening audio decoder: [pcm] Uncompressed PCM audio decoder
    AUDIO: 11025 Hz, 1 ch, s16le, 176.4 kbit/100.00% (ratio: 22050->22050)
    Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
    ==========================================================================
    AO: [dsound] 11025Hz 1ch s16le (2 bytes per sample)
    Starting playback…
    A: 2.8 V: 2.8 A-V: 0.002 ct: 0.001 29/ 29 0% 3% 0.0% 0 0
    ===== PAUSE =====

    Video output error in playing this format.

    • Kovensky says:

      You have to be on a Japanese locale to play that using that commandline.

      <TLDR>
      Due to a bug in mingw, its implementation/mapping of standard C functions and some POSIX ones use Windows’ ASCII functions, not the unicode ones. That way, mplayer can’t open the filename since it uses unicode characters. Using the unicode functions wouldn’t be a simple conversion because windows uses wide characters to implement unicode (and is the only mainstream OS to do so), instead of the variable-width, ASCII compatible UTF-8 that Linux, MacOS and most of the internet use. We really need to get japanese sites to stop using EUC-JP/Shift-JIS :)
      </TLDR>

      SMPlayer workarounds that limitation by using 8.3 filenames, but those aren’t always available.

      • Nijiko says:

        I’m using NTFS and I was dragging the clip onto mplayer.
        And… I’m using SimpChin system…

        The problem now is not the languages, it’s about the output video stream.
        In WMP11, normal. But bad in MPC and MPlayer.

        I can send some snapshots to your email box.

  2. Nijiko says:

    There is some problems with rendering SimpChin, TradChin, and Japanese word subtitles.

    • Kovensky says:

      You have to specifically set a codepage with -subcp, or convert the file to UTF-8, or convert them to ASS format (which is UTF-8 by spec IIRC).

      • Nijiko says:

        Sorry, the words of subtitles is coded by UTF-8.
        The problem is not the words displaying wrong, it’s about the font edge。

  3. Fruit says:

    The hidden beauties of MPlayer, they never cease to amaze, heh :)

  4. GlenStef says:

    Greatings,
    Ugh, I liked! So clear and positively.

    Thank you
    GlenStef

  5. Nijiko says:

    I don’t know whether it is bug.
    Mplayer can not play .pss file, which is contained in all PS2 game disks.
    The .pss file, such as .mpg, contains mpeg2 video and Sony PS2 ADPCM audio.

  6. Ian says:

    Hi,
    Thanks for compiling MPlayer for us all. Would it be possible to change the use of ANSI escape codes (the -term-osd-esc flag) to using the Console API to move the cursor position? That’s what Wikipedia ( en.wikipedia.org/wiki/ANSI_escape_code ) says should be used. There’s a reference to MSDN there and ANSI.DLL from http://adoxa.110mb.com/ansicon/ provides an example. I would offer a patch, but my programming skills are not all that good. I know it is a minor problem, but it annoys me when I see it happen. I think it is the only use of escape codes in MPlayer.

    Thanks again,
    Ian

  7. Mad Fish says:

    Please release a build with fixed font cache regenerating problem. It’s really annoying and taking a lot of time :)

  8. newmy51 says:

    yea, really looking forward to the font cache bugfix… in the meantime, is CoreAVC supported with the current build? MPlayer crashes every time I try to use it.

  9. furyx says:

    don’t find bug report system, so im try write here…
    fontconfig dont catch fonts installed without copy to system folder. it’ easy reproduce:
    1. when installing new font, remove checkbox “Copy fonts to Fonts folder”
    2. for check is font linked – open CPL->Font and you see this font icon with small link.
    3. for test try mplayer -ass-force-style “Fontname=NEWFONT” … for force use new font

    PS sorry for my english :/

  10.  
Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>