[Cin] xavc-intra class 480
Andrew Randrianasulu
randrianasulu at gmail.com
Mon Apr 21 23:54:31 CEST 2025
In attempt at speeding up hdr10 4k HEVC video playback I tried to
re-encode it into AVC-intra using this guide:
https://www.voukoder.org/forum/thread/1163-replicate-sony-s-xavc-i-s-format/
basically either
ffmpeg -i input -c:v libx264 -avcintra-class 480 -pix_fmt yuv422p10le
-preset ultrafast -x264opts avcintra-flavor=sony -c:a pcm_s24le -ar
48k output.mxf
or for half size
ffmpeg -i ~/K38_sdcard1/Documents/iPhone11_4K-recorder_59.940HDR10.mov
-s 1920x1080 -c:v libx264 -avcintra-class 200 -pix_fmt yuv422p10le
-preset ultrafast -x264opts avcintra-flavor=sony -c:a pcm_s24le -ar
48k output-half.mxf
Note, line errors out when I tried class 480 for 1920x1080 frame size
Both files load into cingg
Original file (4k hdr hevc, 59.94 fps) plays at around 22 fps at
output x11, project rgba-float. But seeking is sad. Not to mention
lack of tonemapping.
First 4k avc-intra 4k reencode plays at around 33 fps and seeks much
better (no artefacts)
1920x1080 proxy plays at 60 fps, and if I check play every frame and
try 2x speed forward - at 83 Fps.
But trying two FullHD tracks referencing same "proxy" file set to
different fade leves with project set to RGBA-float kills fps back to
2-3 :)
Encoding at ultrafast preset was 4.5 fps for 4k version and 12 fps for
FullHD version.
Filesizes:
du -h *.mxf
1.0G output-half.mxf
2.2G output.mxf
this is just for
frame= 1149
time=00:00:19.15
Well, I guess without some serious GPU upgrade this machine not gonna
play HDR 4k :)
Regular 8 bit/SDR 4k somewhat plays in firefox (if file just av1, 24
fps), at least on Linux where I can set GPU frequency a bit higher
than default on nouveau/libre drivers.
More information about the Cin
mailing list