12/12/2023 0 Comments Mac mkplayer![]() So all this seems to indicate that the homebrew built is broken for some reason. I also discovered that while homebrew lists fontconfig as a dependency, mplayer itself complains when started with -v -v that it is not built with fontconfig enabled. It always complains the bitmap font cannot be loaded, no matter if it's really a raw bitmap font, or a truetype font. I also tried creating the subfont.ttf symlink. I also installed the raw bitmap fonts provided by mplayer. I tried a few variation with -font (both a path and a fontconfig pattern), with and without -fontconfig. So the problem seems to be loading the fonts. Like in your log, I get the error message Cannot load bitmap font 'Arial', while the other log messages indicate that the subtitle track itself is properly recognized. I tried a homebrew-install of mplayer with the file test5.mkv with subtitles from the matroska test suite (to make the results reproducable). SUB: Detected subtitle file format: subviewer ![]() Selected video codec: vfm: ffmpeg (FFmpeg H.264)Įncoder: libebml v1.2.3 + libmatroska v1.3.0 Opening video decoder: FFmpeg's libavcodec codec family Use NSWindow's -titlebarAppearsTransparent=YES instead. This will break when linking against newer SDKs. 08:08:13.995 mplayer *** WARNING: Textured window is getting an implicitly transparent titlebar. St:1 removing common factor 1000000 from timebaseīefore avformat_find_stream_info() pos: 5647 bytes read:32768 seeks:0 St:0 removing common factor 1000000 from timebase STREAM: Comment: based on the code from ? (probably Arpi)Ĭonfiguration: -enable-gpl -enable-postproc Reading optional input config file /usr/local/Cellar/mplayer/1.3.0/etc/mplayer/nf: No such file or directoryįalling back on default (hardcoded) input config Reading optional input config file /Users/adietz/.mplayer/nf: No such file or directory Get_path('nf') -> '/Users/adietz/.mplayer/nf' The output in the console is the following: Configuration: -cc=clang -host-cc=clang -disable-cdparanoia -prefix=/usr/local/Cellar/mplayer/1.3.0 -disable-x11 The video plays fine with audio, but without subtitles. When I just play the file as follows mplayer -v video.mkv #font=/home/osmo/.fonts/microsoft-vista/calibri.ttf mplayer/config: # Write your default config options here! ![]() The first two entries in the srt file are as follows: 1Ĭurrent content of. The fontconfig option can't be used in a config file.Įrror parsing option fontconfig=yes at line 5 ![]() Warning unknown option subfont-osd-scale at line 4 But I get the following error when playing the mkv file with the srt file in the same folder: Warning unknown option subfont-text-scale at line 3 I have tried as suggested in the comment to set the config as shown here. Is there a way to use the subtitles in the srt file with a mkv video with mplayer? Maybe I am missing something? Or the mplayer must be compiled in some special, complicated manner? Or a library is missing? Or its because its a mac? I also pressed several buttons while playing the video ('j', 'u', 's') but without any change. I am trying to use subtitles with a mkv file in the following way: mplayer video.mkvīut only the video did play, but without any subtitles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |