On Fri, Apr 19, 2024 at 6:27 AM Phyllis Smith <[email protected]>
wrote:

> Success, I think as there are no errors and it is doing something normal
> but have not compared to ffmpeg 6.1 yet..  Still need more tests and Andrea
> to try.
> I had a hard time telling if several plugins were making a difference
> until I tried F_volume and set the volume range to 10.  Definitely got real
> loud.
>
> THANK YOU!  will test more tomorrow on a different computer.
>

I also tried to re-add removed in last patch option using different
function, seems to  work, too!


>
> On Thu, Apr 18, 2024 at 9:08 PM Andrew Randrianasulu <
> [email protected]> wrote:
>
>> try this one patch on top of already applied one?
>>
>> On Fri, Apr 19, 2024 at 5:16 AM Phyllis Smith <[email protected]>
>> wrote:
>>
>>> Sorry for the late reply - I had to reboot to check.  I added the first
>>> 12 F_ audio plugins, turned them all off, and then checked by turning them
>>> each on one by one.  All had the same error. (I will leave the computer on
>>> for another hour if you want me to try something else).
>>>
>>> But Andrea should verify also.
>>>
>>> On Thu, Apr 18, 2024 at 7:26 PM Andrew Randrianasulu <
>>> [email protected]> wrote:
>>>
>>>>
>>>>
>>>> пт, 19 апр. 2024 г., 04:22 Phyllis Smith <[email protected]>:
>>>>
>>>>> Andrew, sorry but no change for me - still same errors.  At first I
>>>>> only recompiled pluginfclient.C but since it did not work, I did a full
>>>>> build.  Still failed.  Also, verified that the patch was actually applied
>>>>> just in case I made a mistake.  I have settings Alsa  / HD-Audio Generic 
>>>>> #0
>>>>> / 16 bit linear.
>>>>>
>>>>
>>>> what exactly filter you tried?
>>>>
>>>>>
>>>>> On Thu, Apr 18, 2024 at 5:41 PM Andrew Randrianasulu <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> try attached fix?
>>>>>>
>>>>>> mashed together from ffmpeg examples and
>>>>>> https://stackoverflow.com/questions/76080651/how-do-we-get-the-channel-layout-syntax-from-new-ffmpeg-avcodecparameters
>>>>>>
>>>>>> чт, 18 апр. 2024 г., 11:10 Andrew Randrianasulu <
>>>>>> [email protected]>:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> чт, 18 апр. 2024 г., 11:07 Andrea paz via Cin <
>>>>>>> [email protected]>:
>>>>>>>
>>>>>>>> @Andrew Randrianasulu
>>>>>>>>
>>>>>>>> Complete failure with ffmpeg audio filters.
>>>>>>>> One premise, setting the audio driver to "pulse" the audio does not
>>>>>>>> work. Setting it to "alsa" works normally. I do not have Pulseaudio
>>>>>>>> in
>>>>>>>> my system, but Pipewire takes pulse signals as if it were there. In
>>>>>>>> ffmpeg6 I do not have this problem.
>>>>>>>>
>>>>>>>> None of the ffmpeg filters I have tried work.
>>>>>>>> The typical error is as follows:
>>>>>>>>
>>>>>>>> PluginFAClient::activate: F_adynamicequalizer failed
>>>>>>>>   err: Option not found
>>>>>>>> PluginFAClient::process_buffer() F_adynamicequalizer
>>>>>>>>   err: Operation not permitted
>>>>>>>>
>>>>>>>> The old CinGG with ffmpeg 6 works normally.
>>>>>>>>
>>>>>>>> LV2 and native filters work fine, of course.
>>>>>>>>
>>>>>>>
>>>>>>> Ahh, thanks! something still wrong then ... I'll look into this.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>> Cin mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin
>>>>>>>>
>>>>>>>
From 65e3aa437a8fdb5adedfd43e5331c6f3dad093cc Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <[email protected]>
Date: Fri, 19 Apr 2024 07:07:27 +0300
Subject: [PATCH 3/3] Use av_opt_set for ch_layout in abuffersink

---
 cinelerra-5.1/cinelerra/pluginfclient.C | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/cinelerra-5.1/cinelerra/pluginfclient.C b/cinelerra-5.1/cinelerra/pluginfclient.C
index 0ffcf905..b8694b12 100644
--- a/cinelerra-5.1/cinelerra/pluginfclient.C
+++ b/cinelerra-5.1/cinelerra/pluginfclient.C
@@ -870,9 +870,9 @@ int PluginFAClient::activate()
 	if( ret >= 0 )
 		ret = av_opt_set_bin(fsink, "sample_fmts",
 			(uint8_t*)&sample_fmt, sizeof(sample_fmt), AV_OPT_SEARCH_CHILDREN);
-/*	if( ret >= 0 )
-		ret = av_opt_set_bin(fsink, "ch_layouts",
-			(uint8_t*)&chLayoutDescription, sizeof(chLayoutDescription), AV_OPT_SEARCH_CHILDREN); */
+	if( ret >= 0 )
+		ret = av_opt_set(fsink, "ch_layouts",
+			chLayoutDescription, AV_OPT_SEARCH_CHILDREN);
 	if( ret >= 0 )
 		ret = av_opt_set_bin(fsink, "sample_rates",
 			(uint8_t*)&sample_rate, sizeof(sample_rate), AV_OPT_SEARCH_CHILDREN);
-- 
2.35.8

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

Reply via email to