Trying various ffmpeg (8.1.2) codecs on 2.0 GHz DC G5 ..
mp3 fails
😉
Code:
Stream #0:0(eng): Audio: mp3, 48000 Hz, stereo, fltp (default)
Metadata:
DURATION : 00:04:55.021000000
encoder : Lavc61.19.101 libmp3lame
Assertion failed: (cod_info->part2_3_length <= MAX_BITS_PER_CHANNEL), function CBR_iteration_loop, file quantize.c, line 2228.
Abort trap
edit: it was lame /libmp3lame.
it fails with cbr/abr, but works with vbr:
lame --preset extreme 1.wav 1.mp3 (12x realtime)
Encoding same 720p vp9 24 fps 8bpc source (AMV, aka Anime Music Video, somewhat easier on encoders, esp at Nth round!) into various video codecs and containers:
svtav1 - bus error
😉
libaom-av1 - less than frame per minute, aborted
libvpx-vp9 - 0.3 fps
x265 - 0.7 fps
x264 - 5.08 fps (altivec!)
mpeg2video - 24 fps (!) with g=15, b=8M
mpeg1 and mpeg4 mostly the same as mpeg2
mjpeg - 17 fps
xvid - 14 fps
asv1 - 30 fps (at g=1 and b=80M so extremely big files)
magicyuv - 24 fps but mplayer does not play it (70Mbit/s)
there are others, but some know to be slow at encode (cinepack, openjpeg2000) some for really old systems (svq1, rpza, msvideo1), some just Microsoft (wmv8).
So, in practice my powermac can encode HD in realtime , just it will be mpeg2 720p24 , not avc (while my 5 fps were with default medium preset, may be faster ones can speed it up? Encoding 8bpc source into 10bit h264 dropped fps to 1.9 on same file.)