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:   maintainer-feedback requested: [Bug 262368] multimedia/ffmpeg: enable SVTAV1 on amd64 by default
Message-ID:  <bug-262368-12827-LWQMqBuO4R@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262368-12827@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262368-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 262368: multimedia/ffmpeg: enable SVTAV1 on amd64 by default
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262368



--- Description ---
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 13)
(default -1)
  -tier 	     <int>	  E..V....... Set operating point tier (from 0
to 1) (default main)
     main	     0		  E..V.......
     high	     1		  E..V.......
  -crf		     <int>	  E..V....... Constant Rate Factor value (from
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 (default
false)
  -tile_columns      <int>	  E..V....... Log2 of number of tile columns 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



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