How to compile/install mplayer on MacOS with subtitle support?
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 mplayer
is:
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 ...
mac mplayer
add a comment |
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 mplayer
is:
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 ...
mac mplayer
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video withmplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...
– Alex
Jan 10 at 11:06
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33
add a comment |
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 mplayer
is:
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 ...
mac mplayer
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 mplayer
is:
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 ...
mac mplayer
mac mplayer
edited Jan 11 at 6:45
Alex
asked Jan 7 at 17:16
AlexAlex
5331536
5331536
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video withmplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...
– Alex
Jan 10 at 11:06
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33
add a comment |
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video withmplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...
– Alex
Jan 10 at 11:06
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video with
mplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...– Alex
Jan 10 at 11:06
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video with
mplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...– Alex
Jan 10 at 11:06
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33
add a comment |
1 Answer
1
active
oldest
votes
Here is a procedure that somewhat worked:
- Install
mpv
with brew. With that tool it is possible to watch videos with subtitles. - However, that installation broke
mplayer
andavconv
. - Uninstall
mplayer
andavconv
- Reinstall
mplayer
andavconv
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391564%2fhow-to-compile-install-mplayer-on-macos-with-subtitle-support%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Here is a procedure that somewhat worked:
- Install
mpv
with brew. With that tool it is possible to watch videos with subtitles. - However, that installation broke
mplayer
andavconv
. - Uninstall
mplayer
andavconv
- Reinstall
mplayer
andavconv
add a comment |
Here is a procedure that somewhat worked:
- Install
mpv
with brew. With that tool it is possible to watch videos with subtitles. - However, that installation broke
mplayer
andavconv
. - Uninstall
mplayer
andavconv
- Reinstall
mplayer
andavconv
add a comment |
Here is a procedure that somewhat worked:
- Install
mpv
with brew. With that tool it is possible to watch videos with subtitles. - However, that installation broke
mplayer
andavconv
. - Uninstall
mplayer
andavconv
- Reinstall
mplayer
andavconv
Here is a procedure that somewhat worked:
- Install
mpv
with brew. With that tool it is possible to watch videos with subtitles. - However, that installation broke
mplayer
andavconv
. - Uninstall
mplayer
andavconv
- Reinstall
mplayer
andavconv
answered Jan 18 at 6:51
AlexAlex
5331536
5331536
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1391564%2fhow-to-compile-install-mplayer-on-macos-with-subtitle-support%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How is the answer in the linked question not working for you?
– DavidPostill♦
Jan 7 at 21:15
No. I tried that but still mplayer cannot show subtitles
– Alex
Jan 8 at 7:09
What font do you have selected in Preferences? Did you try different fonts / styles? If you press O a couple of times, does the time code get displayed or do you only see the play symbol?
– harrymc
Jan 10 at 10:43
@harrymc I am not sure what you mean. How to select a font in 'Preferences'? Wher/How to do that? Also, when I press O many times during the play, nothing special happens. When playing a video with
mplayer
I do not see a play-symbol. Note: I am using the command -line version of the command...– Alex
Jan 10 at 11:06
I think it should related with the srt syntax, have you try yo simplify the text by removing the tags and see what is appen?
– AtomiX84
Jan 15 at 8:33