Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Mar 2022 21:38:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 262368] multimedia/ffmpeg: enable SVTAV1 on amd64 by default
Message-ID:  <bug-262368-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262368

            Bug ID: 262368
           Summary: multimedia/ffmpeg: enable SVTAV1 on amd64 by default
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 232273
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D232273&action=
=3Dedit
v1

SVT-AV1 is a mature implementation of a fast AV1 encoder. It makes heavy us=
e of
threads and SIMD assembly thus better suited for live streaming (realtime
encoding).

$ ffmpeg -hide_banner -h encoder=3Dlibsvtav1
Encoder libsvtav1 [SVT-AV1(Scalable Video Technology for AV1) encoder]:
    General capabilities: delay threads
    Threading capabilities: other
    Supported pixel formats: yuv420p yuv420p10le
libsvtav1 AVOptions:
  -hielevel          <int>        E..V....... Hierarchical prediction levels
setting (from 3 to 4) (default 4level)
     3level          3            E..V.......
     4level          4            E..V.......
  -la_depth          <int>        E..V....... Look ahead distance [0, 120]
(from -1 to 120) (default -1)
  -preset            <int>        E..V....... Encoding preset (from -1 to 1=
3)
(default -1)
  -tier              <int>        E..V....... Set operating point tier (fro=
m 0
to 1) (default main)
     main            0            E..V.......
     high            1            E..V.......
  -crf               <int>        E..V....... Constant Rate Factor value (f=
rom
0 to 63) (default 0)
  -qp                <int>        E..V....... Initial Quantizer level value
(from 0 to 63) (default 0)
  -sc_detection      <boolean>    E..V....... Scene change detection (defau=
lt
false)
  -tile_columns      <int>        E..V....... Log2 of number of tile column=
s to
use (from 0 to 4) (default 0)
  -tile_rows         <int>        E..V....... Log2 of number of tile rows to
use (from 0 to 6) (default 0)
  -svtav1-params     <dictionary> E..V....... Set the SVT-AV1 configuration
using a :-separated list of key=3Dvalue parameters

$ fetch https://media.xiph.org/video/derf/y4m/pedestrian_area_1080p25.y4m

$ ffmpeg -hide_banner -benchmark -i pedestrian_area_1080p25.y4m -c:v libsvt=
av1
-crf 20 -y test.libsvtav1.mp4
[...]
bench: utime=3D20.564s stime=3D0.948s rtime=3D3.545s
bench: maxrss=3D1032284kB

$ ffmpeg -hide_banner -benchmark -i pedestrian_area_1080p25.y4m -c:v libaom=
-av1
-cpu-used 8 -usage realtime -crf 20 -y test.libaom-av1.mp4
[...]
bench: utime=3D49.713s stime=3D0.230s rtime=3D16.220s
bench: maxrss=3D206744kB

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262368-12827>