can you try attached patch and see if speed back to previous level?


чт, 15 сент. 2022 г., 12:02 Andrew Randrianasulu <[email protected]>:

>
>
> чт, 15 сент. 2022 г., 10:00 Andrea paz <[email protected]>:
>
>> > I posted issue to FLAC's github
>> > Let's hope devs there will be able to help ....
>>
>> My bad; I had not looked at the size. The test I reported earlier with
>> flac 1.3.2 leads to a 37.5 MB file. The new flac 1.4.0 leads to a 4.7
>> MB file. Similar situation for other tests. Listening shows no obvious
>> differences.
>>
>
>
> well, L in flac mean lossless ..... :)
>
> also there was possible solution posted in issue, will make test patch in
> a moment (but ideally we should be able to set this compression level in
> gui? I had no idea it existed ...)
>
>
>
From 1e7c4ef8fbb2c994fdd729e46e27856f29d20d4d Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Thu, 15 Sep 2022 14:22:22 +0300
Subject: [PATCH] set native flac compression level to 0

---
 cinelerra-5.1/cinelerra/fileflac.C | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cinelerra-5.1/cinelerra/fileflac.C b/cinelerra-5.1/cinelerra/fileflac.C
index 94538037..6a07e22d 100644
--- a/cinelerra-5.1/cinelerra/fileflac.C
+++ b/cinelerra-5.1/cinelerra/fileflac.C
@@ -213,6 +213,7 @@ int FileFLAC::open_file(int rd, int wr)
 		FLAC__stream_encoder_set_channels(flac_encode, asset->channels);
 		FLAC__stream_encoder_set_bits_per_sample(flac_encode, asset->bits);
 		FLAC__stream_encoder_set_sample_rate(flac_encode, asset->sample_rate);
+		FLAC__stream_encoder_set_compression_level(flac_encode, 0);
 		FLAC__stream_encoder_init_file(flac_encode, asset->path, 0, 0);
 	}
 
-- 
2.37.3

-- 
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin

Reply via email to