oops, I forgot there were more functions in asset.C try attached patch on top of 4 previous?
пт, 16 сент. 2022 г., 15:38 Andrea paz <[email protected]>: > As usual I was the one who was missing the point: I was using ffmpeg's > flac preset and not CinGG's internal engine. Sorry. > Using the latter the "compression" field is there and is usable. The > results are as follows: > > > flac-1.3 (appimage) > > ** rendered 9063 frames in 0.646 secs, 14029.412 fps, size 18.2 MiB > > > flac-1.4 (build with the 4 patches) > > default (0): ** rendered 9063 frames in 0.846 secs, 10712.766 fps, size > 18.1 MiB > > (4) : ** rendered 9063 frames in 0.843 secs, 10750.890 fps, size 18.1 MiB > > (8) : ** rendered 9063 frames in 0.843 secs, 10750.890 fps, size 18.1 MiB > > > It seems that the compression setting is not working, I always get the > same result. >
From 527ecefd232ec0b15335d1871e7bba090c6c8cab Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Fri, 16 Sep 2022 16:11:27 +0300 Subject: [PATCH 5/5] Fix flac_compression copying in asset.C --- cinelerra-5.1/cinelerra/asset.C | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cinelerra-5.1/cinelerra/asset.C b/cinelerra-5.1/cinelerra/asset.C index d04b9081..59454153 100644 --- a/cinelerra-5.1/cinelerra/asset.C +++ b/cinelerra-5.1/cinelerra/asset.C @@ -295,6 +295,8 @@ void Asset::copy_format(Asset *asset, int do_index) tiff_cmodel = asset->tiff_cmodel; tiff_compression = asset->tiff_compression; + flac_compression = asset->flac_compression; + mov_sphere = asset->mov_sphere; jpeg_sphere = asset->jpeg_sphere; } @@ -805,6 +807,7 @@ void Asset::load_defaults(BC_Hash *defaults, exr_compression = GET_DEFAULT("EXR_COMPRESSION", exr_compression); tiff_cmodel = GET_DEFAULT("TIFF_CMODEL", tiff_cmodel); tiff_compression = GET_DEFAULT("TIFF_COMPRESSION", tiff_compression); + flac_compression = GET_DEFAULT("FLAC_COMPRESSION", flac_compression); mov_sphere = GET_DEFAULT("MOV_SPHERE", mov_sphere); jpeg_sphere = GET_DEFAULT("JPEG_SPHERE", jpeg_sphere); @@ -904,7 +907,7 @@ void Asset::save_defaults(BC_Hash *defaults, UPDATE_DEFAULT("TIFF_CMODEL", tiff_cmodel); UPDATE_DEFAULT("TIFF_COMPRESSION", tiff_compression); - + UPDATE_DEFAULT("FLAC_COMPRESSION", flac_compression); UPDATE_DEFAULT("MOV_SPHERE", mov_sphere); UPDATE_DEFAULT("JPEG_SPHERE", jpeg_sphere); -- 2.37.3
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

