Accelerating Video Conversion












0















I like to compress large video files before storing them to hard disk. In Fedora-29-bash, I currently use the following ffmpeg command for re-encoding; it balances compression with quality:



ffmpeg -i $in_path -b:v 960k -bufsize 9600k -strict -2 $out_path


When executing the above command against a 2gb video file that has a 30 minute runtime, the execution will take about 20 minutes. My hardware is shown at the end of this query. Can this video re-encoding be sped up?



In other words, if I abandon ffmpeg in favor of any other software (e.g. handbrake), will I attain faster re-encoding? Based on my experiences copying files via bash (e.g. the cp or rsync commands) vs using the (nemo) file manager, my intuition is that nothing will beat the bash-ffmpeg performance.



I am submitting this query just to double check my intuition.



My Hardware



os         :  64 bit fedora 29
cpu : Intel I5-4440 Processor BX80646I54440
mobo : (64 bit) Gigabyte H97 SATA Express M.2 SSD UEFI DualBIOS
: DDR3 1600 LGA
memory : 32 gb : 2 x [G.Skill F3-1600C10D-16GAO Ares 16GB (2x8GB)
: DDR3-1600Mhz Memory RAM]
psu : corsair cx series 600 watt
hdisk : 1tb internal western digital wd10ezex sata
video card : none - I use mobo's onboard video at 1920x1080.
sound card : none - I use mobo's onboard audio









share|improve this question



























    0















    I like to compress large video files before storing them to hard disk. In Fedora-29-bash, I currently use the following ffmpeg command for re-encoding; it balances compression with quality:



    ffmpeg -i $in_path -b:v 960k -bufsize 9600k -strict -2 $out_path


    When executing the above command against a 2gb video file that has a 30 minute runtime, the execution will take about 20 minutes. My hardware is shown at the end of this query. Can this video re-encoding be sped up?



    In other words, if I abandon ffmpeg in favor of any other software (e.g. handbrake), will I attain faster re-encoding? Based on my experiences copying files via bash (e.g. the cp or rsync commands) vs using the (nemo) file manager, my intuition is that nothing will beat the bash-ffmpeg performance.



    I am submitting this query just to double check my intuition.



    My Hardware



    os         :  64 bit fedora 29
    cpu : Intel I5-4440 Processor BX80646I54440
    mobo : (64 bit) Gigabyte H97 SATA Express M.2 SSD UEFI DualBIOS
    : DDR3 1600 LGA
    memory : 32 gb : 2 x [G.Skill F3-1600C10D-16GAO Ares 16GB (2x8GB)
    : DDR3-1600Mhz Memory RAM]
    psu : corsair cx series 600 watt
    hdisk : 1tb internal western digital wd10ezex sata
    video card : none - I use mobo's onboard video at 1920x1080.
    sound card : none - I use mobo's onboard audio









    share|improve this question

























      0












      0








      0








      I like to compress large video files before storing them to hard disk. In Fedora-29-bash, I currently use the following ffmpeg command for re-encoding; it balances compression with quality:



      ffmpeg -i $in_path -b:v 960k -bufsize 9600k -strict -2 $out_path


      When executing the above command against a 2gb video file that has a 30 minute runtime, the execution will take about 20 minutes. My hardware is shown at the end of this query. Can this video re-encoding be sped up?



      In other words, if I abandon ffmpeg in favor of any other software (e.g. handbrake), will I attain faster re-encoding? Based on my experiences copying files via bash (e.g. the cp or rsync commands) vs using the (nemo) file manager, my intuition is that nothing will beat the bash-ffmpeg performance.



      I am submitting this query just to double check my intuition.



      My Hardware



      os         :  64 bit fedora 29
      cpu : Intel I5-4440 Processor BX80646I54440
      mobo : (64 bit) Gigabyte H97 SATA Express M.2 SSD UEFI DualBIOS
      : DDR3 1600 LGA
      memory : 32 gb : 2 x [G.Skill F3-1600C10D-16GAO Ares 16GB (2x8GB)
      : DDR3-1600Mhz Memory RAM]
      psu : corsair cx series 600 watt
      hdisk : 1tb internal western digital wd10ezex sata
      video card : none - I use mobo's onboard video at 1920x1080.
      sound card : none - I use mobo's onboard audio









      share|improve this question














      I like to compress large video files before storing them to hard disk. In Fedora-29-bash, I currently use the following ffmpeg command for re-encoding; it balances compression with quality:



      ffmpeg -i $in_path -b:v 960k -bufsize 9600k -strict -2 $out_path


      When executing the above command against a 2gb video file that has a 30 minute runtime, the execution will take about 20 minutes. My hardware is shown at the end of this query. Can this video re-encoding be sped up?



      In other words, if I abandon ffmpeg in favor of any other software (e.g. handbrake), will I attain faster re-encoding? Based on my experiences copying files via bash (e.g. the cp or rsync commands) vs using the (nemo) file manager, my intuition is that nothing will beat the bash-ffmpeg performance.



      I am submitting this query just to double check my intuition.



      My Hardware



      os         :  64 bit fedora 29
      cpu : Intel I5-4440 Processor BX80646I54440
      mobo : (64 bit) Gigabyte H97 SATA Express M.2 SSD UEFI DualBIOS
      : DDR3 1600 LGA
      memory : 32 gb : 2 x [G.Skill F3-1600C10D-16GAO Ares 16GB (2x8GB)
      : DDR3-1600Mhz Memory RAM]
      psu : corsair cx series 600 watt
      hdisk : 1tb internal western digital wd10ezex sata
      video card : none - I use mobo's onboard video at 1920x1080.
      sound card : none - I use mobo's onboard audio






      ffmpeg video-encoding






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      user2661923user2661923

      179115




      179115






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f508402%2faccelerating-video-conversion%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f508402%2faccelerating-video-conversion%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

          宮崎県

          濃尾地震

          シテ島