Locating multiple ffmpeg installations












2














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!










share|improve this question









New contributor




hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    2














    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!










    share|improve this question









    New contributor




    hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      2












      2








      2







      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!










      share|improve this question









      New contributor




      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      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






      share|improve this question









      New contributor




      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 1 hour ago





















      New contributor




      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 hours ago









      hb_

      215




      215




      New contributor




      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          1














          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.






          share|improve this answer





















          • 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_
            23 mins ago



















          1














          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.






          share|improve this answer










          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • @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_
            31 mins ago











          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.










          draft saved

          draft discarded


















          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









          1














          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.






          share|improve this answer





















          • 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_
            23 mins ago
















          1














          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.






          share|improve this answer





















          • 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_
            23 mins ago














          1












          1








          1






          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 1 hour ago









          mchid

          22.6k25083




          22.6k25083












          • 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_
            23 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_
            23 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_
          23 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_
          23 mins ago













          1














          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.






          share|improve this answer










          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • @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_
            31 mins ago
















          1














          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.






          share|improve this answer










          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


















          • @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_
            31 mins ago














          1












          1








          1






          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.






          share|improve this answer










          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          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.







          share|improve this answer










          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer








          edited 18 mins ago





















          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 1 hour ago









          hb_

          215




          215




          New contributor




          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          hb_ is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.












          • @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_
            31 mins 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_
            31 mins 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_
          31 mins 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_
          31 mins ago










          hb_ is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux