AV1 encoding with ffmpeg The Next CEO of Stack OverflowDoes ffmpeg version 0.5 configured on...

What's the point of interval inversion?

Why were Madagascar and New Zealand discovered so late?

Is a stroke of luck acceptable after a series of unfavorable events?

Why didn't Khan get resurrected in the Genesis Explosion?

Describing a person. What needs to be mentioned?

Is HostGator storing my password in plaintext?

Why does standard notation not preserve intervals (visually)

How to write papers efficiently when English isn't my first language?

If I blow insulation everywhere in my attic except the door trap, will heat escape through it?

When did Lisp start using symbols for arithmetic?

I believe this to be a fraud - hired, then asked to cash check and send cash as Bitcoin

Why do remote companies require working in the US?

How to start emacs in "nothing" mode (`fundamental-mode`)

Why do professional authors make "consistency" mistakes? And how to avoid them?

Anatomically Correct Mesopelagic Aves

forest, changing `s sep` such that it is at each second end node larger?

Does the Brexit deal have to be agreed by both Houses?

What does "Its cash flow is deeply negative" mean?

How do I solve this limit?

Can a single photon have an energy density?

Is the concept of a "numerable" fiber bundle really useful or an empty generalization?

How to make a variable always equal to the result of some calculations?

Term for the "extreme-extension" version of a straw man fallacy?

How do I go from 300 unfinished/half written blog posts, to published posts?



AV1 encoding with ffmpeg



The Next CEO of Stack OverflowDoes ffmpeg version 0.5 configured on linux support encoding using Theora codec?Fix audio codec error with ffmpegget avi file with codec UMSV to play in vlc, or convert with ffmpegFFMPEG encoding settings for 1080/60fps/h264 - framedropsffmpeg error when encoding h264 mp4 videoRe-encoding in FFMPEG using the exact same settings as the input filePlayback issues with compiled ffmpeg and libx264ffmpeg windows - how to check if graphics card supports nvenc encoding?ffmpeg encoding options to maximise Windows 7 compatibility?Use FFmpeg to split video into multiple scenes












3















Since the newest version (4.0), ffmpeg supports the AV1 codec. VLC should also be able to play AV1 videos.



Unfortunately I haven't found the syntax to encode existing videos to AV1. I use ffmpeg from the command line like:



ffmpeg -i input.mp4 output.avi


But what are the required options for AV1?










share|improve this question

























  • You really do not want to use AVI containers anymore.

    – Daniel B
    May 15 '18 at 9:05











  • @DanielB the new one AV1 not AVI

    – Dr. Snail
    May 15 '18 at 9:41











  • Sure. However, in your question you have .avi.

    – Daniel B
    May 15 '18 at 13:00











  • That's the default sample of FFMPeg at ffmpeg.org

    – Dr. Snail
    May 15 '18 at 14:43
















3















Since the newest version (4.0), ffmpeg supports the AV1 codec. VLC should also be able to play AV1 videos.



Unfortunately I haven't found the syntax to encode existing videos to AV1. I use ffmpeg from the command line like:



ffmpeg -i input.mp4 output.avi


But what are the required options for AV1?










share|improve this question

























  • You really do not want to use AVI containers anymore.

    – Daniel B
    May 15 '18 at 9:05











  • @DanielB the new one AV1 not AVI

    – Dr. Snail
    May 15 '18 at 9:41











  • Sure. However, in your question you have .avi.

    – Daniel B
    May 15 '18 at 13:00











  • That's the default sample of FFMPeg at ffmpeg.org

    – Dr. Snail
    May 15 '18 at 14:43














3












3








3








Since the newest version (4.0), ffmpeg supports the AV1 codec. VLC should also be able to play AV1 videos.



Unfortunately I haven't found the syntax to encode existing videos to AV1. I use ffmpeg from the command line like:



ffmpeg -i input.mp4 output.avi


But what are the required options for AV1?










share|improve this question
















Since the newest version (4.0), ffmpeg supports the AV1 codec. VLC should also be able to play AV1 videos.



Unfortunately I haven't found the syntax to encode existing videos to AV1. I use ffmpeg from the command line like:



ffmpeg -i input.mp4 output.avi


But what are the required options for AV1?







ffmpeg video-encoding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 3 '18 at 18:50









slhck

163k47449473




163k47449473










asked May 15 '18 at 8:15









Dr. SnailDr. Snail

471210




471210













  • You really do not want to use AVI containers anymore.

    – Daniel B
    May 15 '18 at 9:05











  • @DanielB the new one AV1 not AVI

    – Dr. Snail
    May 15 '18 at 9:41











  • Sure. However, in your question you have .avi.

    – Daniel B
    May 15 '18 at 13:00











  • That's the default sample of FFMPeg at ffmpeg.org

    – Dr. Snail
    May 15 '18 at 14:43



















  • You really do not want to use AVI containers anymore.

    – Daniel B
    May 15 '18 at 9:05











  • @DanielB the new one AV1 not AVI

    – Dr. Snail
    May 15 '18 at 9:41











  • Sure. However, in your question you have .avi.

    – Daniel B
    May 15 '18 at 13:00











  • That's the default sample of FFMPeg at ffmpeg.org

    – Dr. Snail
    May 15 '18 at 14:43

















You really do not want to use AVI containers anymore.

– Daniel B
May 15 '18 at 9:05





You really do not want to use AVI containers anymore.

– Daniel B
May 15 '18 at 9:05













@DanielB the new one AV1 not AVI

– Dr. Snail
May 15 '18 at 9:41





@DanielB the new one AV1 not AVI

– Dr. Snail
May 15 '18 at 9:41













Sure. However, in your question you have .avi.

– Daniel B
May 15 '18 at 13:00





Sure. However, in your question you have .avi.

– Daniel B
May 15 '18 at 13:00













That's the default sample of FFMPeg at ffmpeg.org

– Dr. Snail
May 15 '18 at 14:43





That's the default sample of FFMPeg at ffmpeg.org

– Dr. Snail
May 15 '18 at 14:43










1 Answer
1






active

oldest

votes


















5














AV1 decoding and encoding is provided via libaom if your ffmpeg build has the library linked. In order to link the library, compile ffmpeg with --enable-libaom (see the compilation guides).



The basic syntax is:



ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 output.avi


(Note: -strict -2 or -strict experimental is required since the encoder is, at present, experimental. AV1 encoding is very slow at this point.)



You may specify a target bitrate (e.g., -b:v 2M) or a target quality level (e.g. -crf 30). libaom also supports 2-pass encoding.



For more info, see the AV1 encoding guide on the FFmpeg Wiki.






share|improve this answer


























  • thanks so far! Could you also add a reference or did you gat that by trying?

    – Dr. Snail
    May 15 '18 at 9:42











  • No ref yet; I'll add it to the documentation soon.

    – Gyan
    May 15 '18 at 9:45











  • @slhck I see you removed the mention of 2-pass, why? It's available.

    – Gyan
    Jun 3 '18 at 18:14











  • @slhck no problem - was puzzled, that's all.

    – Gyan
    Jun 3 '18 at 18:40












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1322787%2fav1-encoding-with-ffmpeg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









5














AV1 decoding and encoding is provided via libaom if your ffmpeg build has the library linked. In order to link the library, compile ffmpeg with --enable-libaom (see the compilation guides).



The basic syntax is:



ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 output.avi


(Note: -strict -2 or -strict experimental is required since the encoder is, at present, experimental. AV1 encoding is very slow at this point.)



You may specify a target bitrate (e.g., -b:v 2M) or a target quality level (e.g. -crf 30). libaom also supports 2-pass encoding.



For more info, see the AV1 encoding guide on the FFmpeg Wiki.






share|improve this answer


























  • thanks so far! Could you also add a reference or did you gat that by trying?

    – Dr. Snail
    May 15 '18 at 9:42











  • No ref yet; I'll add it to the documentation soon.

    – Gyan
    May 15 '18 at 9:45











  • @slhck I see you removed the mention of 2-pass, why? It's available.

    – Gyan
    Jun 3 '18 at 18:14











  • @slhck no problem - was puzzled, that's all.

    – Gyan
    Jun 3 '18 at 18:40
















5














AV1 decoding and encoding is provided via libaom if your ffmpeg build has the library linked. In order to link the library, compile ffmpeg with --enable-libaom (see the compilation guides).



The basic syntax is:



ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 output.avi


(Note: -strict -2 or -strict experimental is required since the encoder is, at present, experimental. AV1 encoding is very slow at this point.)



You may specify a target bitrate (e.g., -b:v 2M) or a target quality level (e.g. -crf 30). libaom also supports 2-pass encoding.



For more info, see the AV1 encoding guide on the FFmpeg Wiki.






share|improve this answer


























  • thanks so far! Could you also add a reference or did you gat that by trying?

    – Dr. Snail
    May 15 '18 at 9:42











  • No ref yet; I'll add it to the documentation soon.

    – Gyan
    May 15 '18 at 9:45











  • @slhck I see you removed the mention of 2-pass, why? It's available.

    – Gyan
    Jun 3 '18 at 18:14











  • @slhck no problem - was puzzled, that's all.

    – Gyan
    Jun 3 '18 at 18:40














5












5








5







AV1 decoding and encoding is provided via libaom if your ffmpeg build has the library linked. In order to link the library, compile ffmpeg with --enable-libaom (see the compilation guides).



The basic syntax is:



ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 output.avi


(Note: -strict -2 or -strict experimental is required since the encoder is, at present, experimental. AV1 encoding is very slow at this point.)



You may specify a target bitrate (e.g., -b:v 2M) or a target quality level (e.g. -crf 30). libaom also supports 2-pass encoding.



For more info, see the AV1 encoding guide on the FFmpeg Wiki.






share|improve this answer















AV1 decoding and encoding is provided via libaom if your ffmpeg build has the library linked. In order to link the library, compile ffmpeg with --enable-libaom (see the compilation guides).



The basic syntax is:



ffmpeg -i input.mp4 -c:v libaom-av1 -strict -2 output.avi


(Note: -strict -2 or -strict experimental is required since the encoder is, at present, experimental. AV1 encoding is very slow at this point.)



You may specify a target bitrate (e.g., -b:v 2M) or a target quality level (e.g. -crf 30). libaom also supports 2-pass encoding.



For more info, see the AV1 encoding guide on the FFmpeg Wiki.







share|improve this answer














share|improve this answer



share|improve this answer








edited Jun 3 '18 at 18:49









slhck

163k47449473




163k47449473










answered May 15 '18 at 8:54









GyanGyan

15.7k21846




15.7k21846













  • thanks so far! Could you also add a reference or did you gat that by trying?

    – Dr. Snail
    May 15 '18 at 9:42











  • No ref yet; I'll add it to the documentation soon.

    – Gyan
    May 15 '18 at 9:45











  • @slhck I see you removed the mention of 2-pass, why? It's available.

    – Gyan
    Jun 3 '18 at 18:14











  • @slhck no problem - was puzzled, that's all.

    – Gyan
    Jun 3 '18 at 18:40



















  • thanks so far! Could you also add a reference or did you gat that by trying?

    – Dr. Snail
    May 15 '18 at 9:42











  • No ref yet; I'll add it to the documentation soon.

    – Gyan
    May 15 '18 at 9:45











  • @slhck I see you removed the mention of 2-pass, why? It's available.

    – Gyan
    Jun 3 '18 at 18:14











  • @slhck no problem - was puzzled, that's all.

    – Gyan
    Jun 3 '18 at 18:40

















thanks so far! Could you also add a reference or did you gat that by trying?

– Dr. Snail
May 15 '18 at 9:42





thanks so far! Could you also add a reference or did you gat that by trying?

– Dr. Snail
May 15 '18 at 9:42













No ref yet; I'll add it to the documentation soon.

– Gyan
May 15 '18 at 9:45





No ref yet; I'll add it to the documentation soon.

– Gyan
May 15 '18 at 9:45













@slhck I see you removed the mention of 2-pass, why? It's available.

– Gyan
Jun 3 '18 at 18:14





@slhck I see you removed the mention of 2-pass, why? It's available.

– Gyan
Jun 3 '18 at 18:14













@slhck no problem - was puzzled, that's all.

– Gyan
Jun 3 '18 at 18:40





@slhck no problem - was puzzled, that's all.

– Gyan
Jun 3 '18 at 18:40


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1322787%2fav1-encoding-with-ffmpeg%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...