Right-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. Upload your dataset.

    $ nerd dataset upload --name=ffmpeg-input <path>
    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'

    Don’t have a dataset at hand? Download our example dataset and unzip it.

  3. 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'
  4. 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
  5. Download the collection of output files.

    $ nerd dataset download --output-of ffmpeg-run <target_dir>
    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