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 49e3834a0108a845ece885a1bccca0883fb16010 Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <[email protected]> Date: Fri, 19 Apr 2024 06:05:34 +0300 Subject: [PATCH 2/2] Fix ffmpeg audio filter harder? --- cinelerra-5.1/cinelerra/pluginfclient.C | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/cinelerra-5.1/cinelerra/pluginfclient.C b/cinelerra-5.1/cinelerra/pluginfclient.C index 9cf6407f..0ffcf905 100644 --- a/cinelerra-5.1/cinelerra/pluginfclient.C +++ b/cinelerra-5.1/cinelerra/pluginfclient.C @@ -858,10 +858,11 @@ int PluginFAClient::activate() if( ret >= 0 && ffilt->filter->inputs ) { char args[BCTEXTLEN]; snprintf(args, sizeof(args), - "time_base=%d/%d:sample_rate=%d:sample_fmt=%s:channel_layout=%s", - 1, sample_rate, sample_rate, av_get_sample_fmt_name(sample_fmt), chLayoutDescription); + "time_base=%d/%d:sample_rate=%d:sample_fmt=%s:channel_layout=%s:channels=%i", + 1, sample_rate, sample_rate, av_get_sample_fmt_name(sample_fmt), chLayoutDescription, channels); ret = avfilter_graph_create_filter(&fsrc, avfilter_get_by_name("abuffer"), "in", args, NULL, graph); + if(ret <0) printf("abuffer failed!\n"); } if( ret >= 0 ) ret = avfilter_graph_create_filter(&fsink, avfilter_get_by_name("abuffersink"), @@ -869,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, "channel_layout", - (uint8_t*)&layout, sizeof(layout), 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_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

