VideoHelp Forum

+ Reply to Thread
Results 1 to 7 of 7
  1. Can I use more than 1 computer to transcode a video file using ffmpeg at the same time? or is there any free software on ubuntu that allows such a thing? i have ubuntu 18.04 32 bit running on my laptop.

    So if i get another laptop (say running the same ubuntu version) would such a thing be possible?

    Thank You
    Quote Quote  
  2. oops
    Last edited by oduodui; 14th Oct 2018 at 02:59.
    Quote Quote  
  3. Haven't tried it, but first thing google throws at me when searching for "distributed encoding ffmpeg" is and there are other results which look like they might do what you want.
    -> did you try any of them?
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  4. Member
    Join Date
    Mar 2011
    Nova Scotia, Canada
    Search Comp PM
    According to that github link, you'll need 3 computers to approximately halve the encoding time. You'll need to decide whether all this is worth it.
    Quote Quote  
  5. i dont even know where to start. i just want to know if it is possiblee at all and then later on what the finacial cost wil be.

    no if havent tried anything yet. thanks for, tyhe replies.
    Quote Quote  
  6. I think this would work well for you. This script breaks a video file into chunks that each system works on (distributing the task of encoding).

    You can tweak the codecs that ffmpeg uses or leave it as-is. You need 2 or more systems running Linux with ffmpeg installed. The system with the script should have access to the other ones, so you should run ssh-keygen first on all of the systems and then on the system with the script, run ssh-copy-id [server] from the system with the script against all other systems. Be sure to replace [server] with the server name of the other systems.

    Update the "SERVERS" variable in the script with the names of the servers that will be processing the video.
    Use the script to run a benchmark and it will automatically figure out how to divide the load so that your file is processed in the fastest way possible.

    If the processors are equal, then the 2nd node will cut your processing time in half.

    When all is done, you have to join the fragments by running the script with the join command.
    Last edited by mediaencoder; 31st Dec 2018 at 11:55.
    Quote Quote