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 May 23 '19 at 21:54

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.

| improve this answer | |
  • Check your ffmpeg version. MagicYUV encoder has been present since 4.0 – Gyan May 23 '19 at 19:06
  • And to list only encoders, you can run ffmpeg -encoders – Gyan May 23 '19 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 May 23 '19 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 May 23 '19 at 22:27
  • @llogan yeah, but then you need to download and install manually. That's why I just stay with the standard... – Fabby May 23 '19 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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