Checkmark=facebooklinklinkedinOngoing indicator +Left-facing arrowRight-facing arrowCheckmarkDown-pointing chevronLeft-pointing chevronRight-pointing chevrontwitter




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 <path>
    105.30 MiB / 194.31 MiB [========---] 51% 4s
    Upload complete! ID of new dataset: '<dataset-id>'

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

  3. Start FFmpeg.

    $ nerd workload start nerdalize/ffmpeg -s 2 --input-dataset <dataset-id>
    Workload created with ID: caa9ffb86d65b70f8903
  4. Run your conversion.

    $ nerd task create <workload-id> -- <ffmpeg arguments>
    Started task with ID: 1496926723804988010

    Using our example video? Use the following command to fix it:

    $ nerd task create <workload-id> -- -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
    Started task with ID: 1496926723804988010

    You can run tasks simultaneously with different environment variables and arguments.

  5. Check on the status of your tasks.

    $ nerd task list <workload_id>
    TASK ID               CMD   OUTPUT ID              STATUS    CREATED
    1496926723804988010   []    4285668022560720c0a9   SUCCESS   22 minutes ago

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

  6. Download the collection of output files.

    $ nerd dataset download <output_id> <target_dir>
  7. Stop FFmpeg.

    $ nerd workload stop <workload_id>

You’ve converted a video using FFmpeg. Awesome!

You can transcode another video or use your own image.
Have any questions about using Nerdalize compute?

Get in touch