Closed sogorman closed 4 months ago
Thanks for the info, I'll take a look.
It looks like _videotoolboxhevc encoder doesn't work with Rosetta 2 (when invoked from x86_64 code); steps to reproduce:
curl -LO https://github.com/eugeneware/ffmpeg-static/releases/download/b6.0/ffmpeg-darwin-arm64
curl -LO https://github.com/eugeneware/ffmpeg-static/releases/download/b6.0/ffmpeg-darwin-x64
chmod +x ffmpeg-darwin*
./ffmpeg-darwin-arm64 -f lavfi -i testsrc -c:v hevc_videotoolbox -t 1 -f mp4 /dev/null -y ;: works
./ffmpeg-darwin-x64 -f lavfi -i testsrc -c:v hevc_videotoolbox -t 1 -f mp4 /dev/null -y ;: _does not_ work
I'll perhaps postpone (eventually close) the problem for now since it is not directly in UG. AFAIK, it should work if you compiled native arm64 UG build. I've also created POC arm64 snapshot.
We will eventually switch to arm64 native builds in future and keep x64 builds separated.
If you'd intend to use the above build on regular basis, please let us know – as it is manually built, I'll try to rebuilt it from time to time then.
Sounds good, appreciate you and the team!
Hi, since we already build arm64 M1 (and later) builds (continuous and 1.9), I assume this issue is solved.
Looking at both the most recent release as well as the latest nightly mac osx build it would appear that hevc_videotoolbox encoding is broken. The below was tested on an M1 and M2 running osx 14.1 (23B74)
results in