Skip to content

Exercise 5: Parallel Processing of Video Sequences

In this exercise, we can help ourselves with examples shown in chapter about parallel processing of video sequences.

a) Divide Video

We transfer the video file "llama.mp4"1 to a personal computer and then upload it to the NSC cluster. Next, we split it into parts that are 15 seconds long. Although this operation is not demanding, as it only copies portions of the video into new files, we still execute it on a compute node using the srun command. Please use the fri reservation. Don't forget to load the FFmpeg module.

b) Processing

Let's increase the resolution of video segments, which we created in the previous task. Use the command batch and array jobs. We can help ourselves with script ffmpeg3.sh.

c) Assemble

Finally, assemble video segments from 5b in one file, download it to a personal computer and watch it in a video player.


  1. The video was created by the Blender project.