[Cin] xavc-intra class 480

Phyllis Smith phylsmith2017 at gmail.com
Sat Apr 26 00:03:54 CEST 2025


Andrew, should these be checked into GIT source as is?  I was waiting to
see if any followup on your 2 question commentaries.

On Mon, Apr 21, 2025 at 4:33 PM Andrew Randrianasulu <
randrianasulu at gmail.com> wrote:

> I tried to add other xavc classes as mp4 profiles (see attached patch, do
> not forgot to make install after patching), but without altering bt709 x264
> params line - may be we should comment it so it can be overridden by bt2020
> colorimetry?
>
> also, those does not set flavor sony, may be they should?
>
> I also try to develop xavc mxf profiles on desktop (those are from Termux,
> 3 fps encode at FHD ;)
>
> вт, 22 апр. 2025 г., 00:54 Andrew Randrianasulu <randrianasulu at gmail.com>:
>
>> 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.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250425/5c997fb4/attachment.htm>


More information about the Cin mailing list