<p>The following Linux command searches all <code>codecs</code> than can <code>E</code>ncode anything containing <code>ut</code>.</p>

<pre><code>  ffmpeg -codecs | grep --regexp="^ .E" | grep --ignore-case ut
</code></pre>

<p>and its output is:</p>

<pre><code> DEVI.S utvideo              Ut Video
</code></pre>

<p>so you can use:</p>

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

<h3>However:</h3>

<pre><code>ffmpeg -codecs | grep --regexp="^ .E" | grep --ignore-case magic
</code></pre>

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

CC BY-SA 4.0
2019-05-23T19:06:39.103Z
Check your ffmpeg version. MagicYUV encoder has been present since 4.0
Gyan
CC BY-SA 4.0
2019-05-23T19:07:09.540Z
And to list only encoders, you can run `ffmpeg -encoders`
Gyan
CC BY-SA 4.0
2019-05-23T21:53:34.313Z
@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
CC BY-SA 4.0
2019-05-23T22:27:59.743Z
@Fabby No need for a PPA since [recent ffmpeg builds can just be downloaded](https://johnvansickle.com/ffmpeg/). Users often get mad when their answers are edited: comments are less intrusive.
llogan
CC BY-SA 4.0
2019-05-23T22:38:48.953Z
@llogan yeah, but then you need to download and install manually.  That's why I just stay with the standard...
Fabby
CC BY-SA 4.0
2019-05-23T18:14:33.060Z
2019-05-27T09:45:53.307Z
2019-05-27T09:45:53.307Z
Fabby
<p>I would like to know how to use <a href="https://www.magicyuv.com/" rel="nofollow noreferrer">magicyuv</a> &amp; utvideo codec with ffmpeg</p>

CC BY-SA 4.0
2019-05-23T21:54:21.067Z
Answer edited (see below) It depends on the version you have.
Fabby
<video><ffmpeg>
How to use magicyuv & utvideo codec with ffmpeg
AL-KOON
# How to use magicyuv & utvideo codec with ffmpeg

(Asked by: username_0 on 2019-05-23)

I would like to know how to use [magicyuv](https://www.magicyuv.com/) & utvideo codec with ffmpeg

**Tags:** video, ffmpeg

> **Comments:**
> **username_1**: Answer edited (see below) It depends on the version you have.  

---

## 1 answers

### Answer by username_1 on 2019-05-23. Score: 1 | Accepted answer

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

However:
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.

> **Comments:**
> **username_2**: Check your ffmpeg version. MagicYUV encoder has been present since 4.0  
> **username_2**: And to list only encoders, you can run `ffmpeg -encoders`  
> **username_1**: @username_2 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:-)**  
> **username_3**: @username_1 No need for a PPA since [recent ffmpeg builds can just be downloaded](https://johnvansickle.com/ffmpeg/). Users often get mad when their answers are edited: comments are less intrusive.  
> **username_1**: @username_3 yeah, but then you need to download and install manually.  That's why I just stay with the standard...  

---

