Skip to content

Commit

Permalink
WriteFFmpeg: support librav1e if available
Browse files Browse the repository at this point in the history
  • Loading branch information
devernay committed Apr 16, 2021
1 parent bf2137c commit 47c236e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FFmpeg/FFmpegFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const FilterEntry kCodecWhitelist[] =
{
// Video codecs.
{ "aic", true, false }, // Apple Intermediate Codec (no encoder)
{ "av1", true, false }, // Alliance for Open Media AV1 (encoder: libaom-av1)
{ "av1", true, false }, // Alliance for Open Media AV1 (encoders: libaom-av1 librav1e)
{ "avrp", true, UNSAFEQT0 && UNSAFEVLC }, // Avid 1:1 10-bit RGB Packer - write not supported as not official qt readable with relevant 3rd party codec.
{ "avui", true, false }, // Avid Meridien Uncompressed - write not supported as this is an SD only codec. Only 720x486 and 720x576 are supported. experimental in ffmpeg 2.6.1.
{ "ayuv", true, UNSAFEQT0 && UNSAFEVLC }, // Uncompressed packed MS 4:4:4:4 - write not supported as not official qt readable.
Expand Down Expand Up @@ -216,6 +216,7 @@ const FilterEntry kCodecWhitelist[] =
{ "libdav1d", true, false }, // Alliance for Open Media AV1 (encoder: libaom-av1)
{ "libopenh264", true, true }, // Cisco libopenh264 H.264/MPEG-4 AVC encoder
{ "libopenjpeg", true, true }, // OpenJPEG JPEG 2000
{ "librav1e", true, true }, // rav1e AV1 encoder
{ "libschroedinger", true, UNSAFEQT0 && UNSAFEVLC }, // libschroedinger Dirac - write untested. VLC plays with a wrong format
{ "libtheora", true, UNSAFEQT0 }, // libtheora Theora - write untested.
{ "libvpx", true, UNSAFEQT0 }, // On2 VP8
Expand Down
1 change: 1 addition & 0 deletions FFmpeg/WriteFFmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ CreateCodecKnobLabelsMap()
m["libaom-av1"] = "AV1\tlibaom AV1 encoder";
m["libopenh264"] = "H264\tCisco libopenh264 H.264/MPEG-4 AVC encoder";
m["libopenjpeg"] = "mjp2\tOpenJPEG JPEG 2000";
m["librav1e"] = "AV1\trav1e AV1 encoder";
m["libschroedinger"] = "drac\tSMPTE VC-2 (previously BBC Dirac Pro)";
m["libtheora"] = "theo\tTheora";
m["libvpx"] = "VP80\tOn2 VP8"; // write doesn't work yet
Expand Down

0 comments on commit 47c236e

Please sign in to comment.