The source project of this merge request has been removed.
Set thread names on BSDs
$ curl -sO https://media.xiph.org/video/derf/y4m/elephants_dream_720p24.y4m.xz
$ xz -d elephants_dream_720p24.y4m.xz
$ ffmpeg -hide_banner -i elephants_dream_720p24.y4m -frames:v 1000 -c:v libaom-av1 -cpu-used 8 -row-mt 1 -tiles 6x4 -strict experimental -crf 30 -b:v 0 -y ed.libaom.ivf
$ dav1d --muxer null -i ed.libaom.ivf --framethreads 6 --tilethreads 4
dav1d 0.3.1-70-g204a043 - by VideoLAN
Decoded 392/1000 frames (39.2%) - 916.77/24.00 fps (38.20x)^Z
$ procstat -t $(pgrep dav1d)
PID TID COMM TDNAME CPU PRI STATE WCHAN
87797 101647 dav1d dav1d-tile -1 132 stop uwait
87797 101649 dav1d dav1d-tile -1 132 stop uwait
87797 101650 dav1d dav1d-tile -1 129 stop uwait
87797 101651 dav1d dav1d-tile -1 141 stop uwait
87797 101652 dav1d dav1d-frame -1 141 stop uwait
87797 101653 dav1d dav1d-tile -1 129 stop -
87797 101654 dav1d dav1d-tile -1 132 stop -
87797 101655 dav1d dav1d-tile -1 135 stop -
87797 101657 dav1d dav1d-tile -1 135 stop -
87797 101660 dav1d dav1d-frame -1 138 stop -
87797 101664 dav1d dav1d-tile -1 135 stop uwait
87797 101667 dav1d dav1d-tile -1 138 stop uwait
87797 101669 dav1d dav1d-tile -1 135 stop uwait
87797 101671 dav1d dav1d-tile -1 132 stop uwait
87797 101673 dav1d dav1d-frame -1 144 stop -
87797 101674 dav1d dav1d-tile -1 123 stop uwait
87797 101678 dav1d dav1d-tile -1 129 stop uwait
87797 101680 dav1d dav1d-tile -1 123 stop uwait
87797 101684 dav1d dav1d-tile -1 129 stop uwait
87797 101688 dav1d dav1d-frame -1 138 stop uwait
87797 101693 dav1d dav1d-tile -1 138 stop uwait
87797 101694 dav1d dav1d-tile -1 138 stop uwait
87797 101696 dav1d dav1d-tile -1 141 stop -
87797 101698 dav1d dav1d-tile -1 141 stop uwait
87797 101703 dav1d dav1d-frame -1 144 stop -
87797 101706 dav1d dav1d-tile -1 132 stop uwait
87797 101710 dav1d dav1d-tile -1 132 stop uwait
87797 101715 dav1d dav1d-tile -1 138 stop uwait
87797 101718 dav1d dav1d-tile -1 135 stop uwait
87797 101721 dav1d dav1d-frame -1 152 stop uwait
87797 101885 dav1d - -1 123 stop uwait
Edited by Jan Beich