edit Copy Return Up-pointing chevronRight-pointing chevronfacebooklinkedintwitter




FFmpeg is the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created. It supports the most obscure ancient formats up to the cutting edge.

Running your FFmpeg workload on Nerdalize

  1. Make sure you’ve set up Nerd, our CLI.

  2. Set up your dataset.

    Download our example dataset and unzip it.

    Alternatively you can use your own dataset, which should contain one or more files supported by FFmpeg.

  3. Upload your dataset.

    $ nerd dataset upload --name=ffmpeg-input path-to-data-folder
    Archiving (Step 1/2): 132 B / 132 B [=======] 100.00% 0s
    Uploading (Step 2/2): 1.02 KB / 1.02 KB [=======] 100.00% 0s
    Uploaded dataset: 'ffmpeg-input'
    To run a job with a dataset, use: 'nerd job run'
  4. Start FFmpeg.

    $ nerd job run \
      --name=ffmpeg-run \
      --input=ffmpeg-input:/input \
      --output=ffmpeg-output:/output \
      --memory=3 \
      --vcpu=2 \
      nerdalize/ffmpeg \
      -i /input/welcome.avi -pix_fmt yuv420p -filter_complex "[0:v]reverse[v0];[v0]format=yuv444p,extractplanes=y+u+v[y][u][v];[y][u][v]mergeplanes=0x102000:yuv444p[v0];[0:a]areverse[a0]" -map "[a0]" -map "[v0]" /output/welcome.mp4
    Submitted job: 'ffmpeg-run'
    To see whats happening, use: 'nerd job list'

    If you’re using your own media you can customize the FFmpeg arguments.

  5. Check on the status of your tasks.

    $ nerd job list
    JOB         IMAGE   INPUT          OUTPUT          MEMORY   VCPU   CREATED AT      PHASE     DETAILS   
    ffmpeg-run  ffmpeg  ffmpeg-input   ffmpeg-output   3.0      2.0    6 seconds ago   Running    

    When your task’s status is Completed it’s finished and you can continue to download the output.

    If you want to review the log output, run:

    $ nerd job logs ffmpeg-run
  6. Download the collection of output files.

    $ nerd dataset download ffmpeg-output ~/my-ffmpeg-output
    Downloading (Step 1/2): 972.80 KB / 972.80 KB [=======] 100.00% 0s
    Unarchiving (Step 2/2): 972.80 KB / 972.80 KB [=======] 100.00% 0s
    Downloaded 1 dataset

You’ve converted a video using FFmpeg. Awesome!

You can transcode another video or use your one of our other applications.
Have any questions about using Nerdalize cloud?

Get in touch