2

This is a followup question to this question:

In order to play video files with a sub title file on MacOS 10.13.6: How to install mplayer so that I am able to use subtitles (when using the command-line version of mplayer?

Addendum

I followed the suggestion made in the other post:

brew uninstall mplayer
brew reinstall freetype
brew reinstall fontconfig
brew install --build-from-source mplayer

The last command provoked an error:

Error: Xcode alone is not sufficient on High Sierra.
Install the Command Line Tools:
  xcode-select --install

and so I did install the Command Line Tools. Then I repeated the mplayer install command. It was installed with the following configure line:

./configure --cc=clang --host-cc=clang --disable-cdparanoia --prefix=/usr/local/Cellar/mplayer/1.3.0 --disable-x11

and then running the command as follows

mplayer  testvideo.mkv  -sub SubTest.srt

with the content of SubTest.srt as follows:

1
00:00:00,000 --> 00:00:05,000
<font face="Arial" size="50" color="#425aa0"><b>TEST TEXT</b></font>

does NOT show any subtitle, nor any error.

The output of brew info mplayeris:

mplayer: stable 1.3.0 (bottled), HEAD
UNIX movie player
https://mplayerhq.hu/
/usr/local/Cellar/mplayer/1.3.0 (11 files, 28.8MB) *
  Built from source on 2019-01-11 at 07:40:20
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/mplayer.rb
==> Dependencies
Build: yasm ✔
Optional: libcaca ✘, libdvdnav ✘, libdvdread ✘
==> Options
--with-libcaca
    Build with libcaca support
--with-libdvdnav
    Build with libdvdnav support
--with-libdvdread
    Build with libdvdread support
--HEAD
    Install HEAD version
==> Analytics
install: 1,198 (30 days), 3,569 (90 days), 15,129 (365 days)
install_on_request: 1,140 (30 days), 3,408 (90 days), 14,307 (365 days)
build_error: 0 (30 days)

What else can I try? I rather would not like to install and use a virtual box ...

Alex
  • 387

1 Answers1

0

Here is a procedure that somewhat worked:

  1. Install mpv with brew. With that tool it is possible to watch videos with subtitles.
  2. However, that installation broke mplayer and avconv.
  3. Uninstall mplayer and avconv
  4. Reinstall mplayer and avconv
Alex
  • 387