I would like to know how to use magicyuv & utvideo codec with ffmpeg

  • Answer edited (see below) It depends on the version you have.
    – Fabby
    Commented May 23, 2019 at 21:54

1 Answer 1


The following Linux command searches all codecs than can Encode anything containing ut.

  ffmpeg -codecs | grep --regexp="^ .E" | grep --ignore-case ut

and its output is:

 DEVI.S utvideo              Ut Video

so you can use:

ffmpeg -i ~/Videos/WebCam/me.mp4 -c:v utvideo -r 30 -c:a libmp3lame -b:a 512K /tmp/test.mkv


ffmpeg -codecs | grep --regexp="^ .E" | grep --ignore-case magic

has no output at all on my version of ffmpeg, but if your version supports it, you will see an output and then you just use whatever is in the second column as per the example above for utvideo.

  • Check your ffmpeg version. MagicYUV encoder has been present since 4.0
    – Gyan
    Commented May 23, 2019 at 19:06
  • And to list only encoders, you can run ffmpeg -encoders
    – Gyan
    Commented May 23, 2019 at 19:07
  • @Gyan Answer edited to include your comment as I have the standard version that came with my distro and it does what it needs to do, so not adding (yet another) PPA. P.S. you have enough rep to edit my answer. 0:-)
    – Fabby
    Commented May 23, 2019 at 21:53
  • @Fabby No need for a PPA since recent ffmpeg builds can just be downloaded. Users often get mad when their answers are edited: comments are less intrusive.
    – llogan
    Commented May 23, 2019 at 22:27
  • @llogan yeah, but then you need to download and install manually. That's why I just stay with the standard...
    – Fabby
    Commented May 23, 2019 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.