Locating multiple ffmpeg installations
I use multiple tools that rely on ffmpeg, a couple of which have downloaded different versions of ffmpeg from the one provided in the package repositories (e.g., mpv and moviepy via imageio). The separate ffmpeg binaries for these programs have not interfered with each other, but I am having difficulties related to some inconsistencies between the different versions.
My question is: how do I locate the different versions of ffmpeg (other than the ubuntu package) that exist on my system so that I can point everything toward the binary of the most current version (in my case, the ffmpeg running with mpv)?
Thanks!
software-installation ffmpeg mpv-media-player
New contributor
add a comment |
I use multiple tools that rely on ffmpeg, a couple of which have downloaded different versions of ffmpeg from the one provided in the package repositories (e.g., mpv and moviepy via imageio). The separate ffmpeg binaries for these programs have not interfered with each other, but I am having difficulties related to some inconsistencies between the different versions.
My question is: how do I locate the different versions of ffmpeg (other than the ubuntu package) that exist on my system so that I can point everything toward the binary of the most current version (in my case, the ffmpeg running with mpv)?
Thanks!
software-installation ffmpeg mpv-media-player
New contributor
add a comment |
I use multiple tools that rely on ffmpeg, a couple of which have downloaded different versions of ffmpeg from the one provided in the package repositories (e.g., mpv and moviepy via imageio). The separate ffmpeg binaries for these programs have not interfered with each other, but I am having difficulties related to some inconsistencies between the different versions.
My question is: how do I locate the different versions of ffmpeg (other than the ubuntu package) that exist on my system so that I can point everything toward the binary of the most current version (in my case, the ffmpeg running with mpv)?
Thanks!
software-installation ffmpeg mpv-media-player
New contributor
I use multiple tools that rely on ffmpeg, a couple of which have downloaded different versions of ffmpeg from the one provided in the package repositories (e.g., mpv and moviepy via imageio). The separate ffmpeg binaries for these programs have not interfered with each other, but I am having difficulties related to some inconsistencies between the different versions.
My question is: how do I locate the different versions of ffmpeg (other than the ubuntu package) that exist on my system so that I can point everything toward the binary of the most current version (in my case, the ffmpeg running with mpv)?
Thanks!
software-installation ffmpeg mpv-media-player
software-installation ffmpeg mpv-media-player
New contributor
New contributor
edited 2 hours ago
New contributor
asked 2 hours ago
hb_
215
215
New contributor
New contributor
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
There are two commands you can use to determine which binary is in use and also if there is more than one ffmpeg
installed.
First, to determine which binary is currently in use, run the following command:
which ffmpeg
Next, you can show where ffmpeg
files and binaries are by running the following command:
whereis ffmpeg
The whereis
command should show where the different binaries are if there is more than one and the binaries are usually under a bin
directory.
hm, it seemswhereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereaslocate
does (though along with a lot of other locations I don't need)
– hb_
59 mins ago
add a comment |
Experimenting a bit more, I was able to locate the alternate ffmpeg binaries installed by other programs using locate
and egrep
:
locate mpv | egrep 'ffmpeg$'
locate imageio | egrep 'ffmpeg$'
And then use alias
to redirect the ffmpeg
command to the most up-to-date binary without breaking other dependencies.
New contributor
@hb How did you installmpv
? I installedmpv
usingapt
and I don't see anffmpeg
binary. Usually, when you compile from source, the binary is in/usr/local/bin/
instead of/usr/bin/
.
– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in~/mpv-build/build_libs/bin/
and~/mpv-build/ffmpeg_build/
, and not in/usr/local/bin/
for whatever reason
– hb_
1 hour ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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
});
}
});
hb_ is a new contributor. Be nice, and check out our Code of Conduct.
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%2faskubuntu.com%2fquestions%2f1105490%2flocating-multiple-ffmpeg-installations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
There are two commands you can use to determine which binary is in use and also if there is more than one ffmpeg
installed.
First, to determine which binary is currently in use, run the following command:
which ffmpeg
Next, you can show where ffmpeg
files and binaries are by running the following command:
whereis ffmpeg
The whereis
command should show where the different binaries are if there is more than one and the binaries are usually under a bin
directory.
hm, it seemswhereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereaslocate
does (though along with a lot of other locations I don't need)
– hb_
59 mins ago
add a comment |
There are two commands you can use to determine which binary is in use and also if there is more than one ffmpeg
installed.
First, to determine which binary is currently in use, run the following command:
which ffmpeg
Next, you can show where ffmpeg
files and binaries are by running the following command:
whereis ffmpeg
The whereis
command should show where the different binaries are if there is more than one and the binaries are usually under a bin
directory.
hm, it seemswhereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereaslocate
does (though along with a lot of other locations I don't need)
– hb_
59 mins ago
add a comment |
There are two commands you can use to determine which binary is in use and also if there is more than one ffmpeg
installed.
First, to determine which binary is currently in use, run the following command:
which ffmpeg
Next, you can show where ffmpeg
files and binaries are by running the following command:
whereis ffmpeg
The whereis
command should show where the different binaries are if there is more than one and the binaries are usually under a bin
directory.
There are two commands you can use to determine which binary is in use and also if there is more than one ffmpeg
installed.
First, to determine which binary is currently in use, run the following command:
which ffmpeg
Next, you can show where ffmpeg
files and binaries are by running the following command:
whereis ffmpeg
The whereis
command should show where the different binaries are if there is more than one and the binaries are usually under a bin
directory.
answered 2 hours ago
mchid
22.6k25083
22.6k25083
hm, it seemswhereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereaslocate
does (though along with a lot of other locations I don't need)
– hb_
59 mins ago
add a comment |
hm, it seemswhereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereaslocate
does (though along with a lot of other locations I don't need)
– hb_
59 mins ago
hm, it seems
whereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereas locate
does (though along with a lot of other locations I don't need)– hb_
59 mins ago
hm, it seems
whereis
only gives me the current binary in use, but doesn't give me the locations of the ffmpeg binaries installed by mpv and imageio, whereas locate
does (though along with a lot of other locations I don't need)– hb_
59 mins ago
add a comment |
Experimenting a bit more, I was able to locate the alternate ffmpeg binaries installed by other programs using locate
and egrep
:
locate mpv | egrep 'ffmpeg$'
locate imageio | egrep 'ffmpeg$'
And then use alias
to redirect the ffmpeg
command to the most up-to-date binary without breaking other dependencies.
New contributor
@hb How did you installmpv
? I installedmpv
usingapt
and I don't see anffmpeg
binary. Usually, when you compile from source, the binary is in/usr/local/bin/
instead of/usr/bin/
.
– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in~/mpv-build/build_libs/bin/
and~/mpv-build/ffmpeg_build/
, and not in/usr/local/bin/
for whatever reason
– hb_
1 hour ago
add a comment |
Experimenting a bit more, I was able to locate the alternate ffmpeg binaries installed by other programs using locate
and egrep
:
locate mpv | egrep 'ffmpeg$'
locate imageio | egrep 'ffmpeg$'
And then use alias
to redirect the ffmpeg
command to the most up-to-date binary without breaking other dependencies.
New contributor
@hb How did you installmpv
? I installedmpv
usingapt
and I don't see anffmpeg
binary. Usually, when you compile from source, the binary is in/usr/local/bin/
instead of/usr/bin/
.
– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in~/mpv-build/build_libs/bin/
and~/mpv-build/ffmpeg_build/
, and not in/usr/local/bin/
for whatever reason
– hb_
1 hour ago
add a comment |
Experimenting a bit more, I was able to locate the alternate ffmpeg binaries installed by other programs using locate
and egrep
:
locate mpv | egrep 'ffmpeg$'
locate imageio | egrep 'ffmpeg$'
And then use alias
to redirect the ffmpeg
command to the most up-to-date binary without breaking other dependencies.
New contributor
Experimenting a bit more, I was able to locate the alternate ffmpeg binaries installed by other programs using locate
and egrep
:
locate mpv | egrep 'ffmpeg$'
locate imageio | egrep 'ffmpeg$'
And then use alias
to redirect the ffmpeg
command to the most up-to-date binary without breaking other dependencies.
New contributor
edited 53 mins ago
New contributor
answered 2 hours ago
hb_
215
215
New contributor
New contributor
@hb How did you installmpv
? I installedmpv
usingapt
and I don't see anffmpeg
binary. Usually, when you compile from source, the binary is in/usr/local/bin/
instead of/usr/bin/
.
– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in~/mpv-build/build_libs/bin/
and~/mpv-build/ffmpeg_build/
, and not in/usr/local/bin/
for whatever reason
– hb_
1 hour ago
add a comment |
@hb How did you installmpv
? I installedmpv
usingapt
and I don't see anffmpeg
binary. Usually, when you compile from source, the binary is in/usr/local/bin/
instead of/usr/bin/
.
– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in~/mpv-build/build_libs/bin/
and~/mpv-build/ffmpeg_build/
, and not in/usr/local/bin/
for whatever reason
– hb_
1 hour ago
@hb How did you install
mpv
? I installed mpv
using apt
and I don't see an ffmpeg
binary. Usually, when you compile from source, the binary is in /usr/local/bin/
instead of /usr/bin/
.– mchid
1 hour ago
@hb How did you install
mpv
? I installed mpv
using apt
and I don't see an ffmpeg
binary. Usually, when you compile from source, the binary is in /usr/local/bin/
instead of /usr/bin/
.– mchid
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in
~/mpv-build/build_libs/bin/
and ~/mpv-build/ffmpeg_build/
, and not in /usr/local/bin/
for whatever reason– hb_
1 hour ago
@mchid yeah, I did build mpv from source, but it left binaries in
~/mpv-build/build_libs/bin/
and ~/mpv-build/ffmpeg_build/
, and not in /usr/local/bin/
for whatever reason– hb_
1 hour ago
add a comment |
hb_ is a new contributor. Be nice, and check out our Code of Conduct.
hb_ is a new contributor. Be nice, and check out our Code of Conduct.
hb_ is a new contributor. Be nice, and check out our Code of Conduct.
hb_ is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2faskubuntu.com%2fquestions%2f1105490%2flocating-multiple-ffmpeg-installations%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