Re: [Libav-user] Libavformat - Guranteed seeking before keyframe

2021-03-07 Thread ilkercan Kaya
to any other suggestions from the authors or anyone that wants to help, thank you! Kind regards. On Sun, Mar 7, 2021, 17:10 ilkercan Kaya wrote: > Hi James, > > Thank you for your help! > > I tried your code and sadly the issue still persists. I am trying to seek > an ogg au

Re: [Libav-user] Libavformat - Guranteed seeking before keyframe

2021-03-07 Thread ilkercan Kaya
: > > On Sat, 6 Mar 2021 at 00:52, ilkercan Kaya wrote: > >> Hi Everyone, >> >> Anyone kindly wanting to help me on this matter? I am really stuck. In >> case of my question being vague, I can reword it. Please let me know. >> >> Kind regards. >> &g

Re: [Libav-user] Libavformat - Guranteed seeking before keyframe

2021-03-05 Thread ilkercan Kaya
Hi Everyone, Anyone kindly wanting to help me on this matter? I am really stuck. In case of my question being vague, I can reword it. Please let me know. Kind regards. On Wed, Mar 3, 2021, 19:31 ilkercan Kaya wrote: > In case this got lost, I'm kindly replying to this thread. > > On

Re: [Libav-user] Libavformat - Guranteed seeking before keyframe

2021-03-03 Thread ilkercan Kaya
In case this got lost, I'm kindly replying to this thread. On Sun, Feb 21, 2021, 04:20 ilkercan Kaya wrote: > Hello Everyone, > > I am trying to seek my audio ogg file with the following: > > int64_t targetPts = av_rescale_q(seekTimeMicro, AV_TIME_BASE_Q, > streamTimeBase);

[Libav-user] Libavformat - Guranteed seeking before keyframe

2021-02-20 Thread ilkercan Kaya
Hello Everyone, I am trying to seek my audio ogg file with the following: int64_t targetPts = av_rescale_q(seekTimeMicro, AV_TIME_BASE_Q, streamTimeBase); av_seek_frame(avFormatContext, streamInfoIndex, targetPts, AVSEEK_FLAG_BACKWARD); This works all fine. Most of the time

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-06 Thread ilkercan Kaya
Thank you, it worked perfectly. On Sat, Feb 6, 2021 at 1:10 AM Paul B Mahol wrote: > Nope, initialization is done only once, To set options at runtime > use avfilter_graph_send_command() > > On Fri, Feb 5, 2021 at 11:07 PM ilkercan Kaya > wrote: > >> I see and whenever

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread ilkercan Kaya
I see and whenever I toggle my enable flag I have to recall avfilter_init_str() to make sure filtergraph takes the newest set enable flag right? On Sat, Feb 6, 2021, 01:00 Paul B Mahol wrote: > > > On Fri, Feb 5, 2021 at 10:57 PM ilkercan Kaya > wrote: > >> There are tw

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-05 Thread ilkercan Kaya
; On Fri, Feb 5, 2021 at 2:49 AM ilkercan Kaya > wrote: > >> enable option is also command for every filter that supports timeline. >>> Yes it looks like not documented explicitly. >> >> Does this mean that I can set "enable" as an option? if so I t

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-04 Thread ilkercan Kaya
ut this just makes it crash the app when data is passed through the filtergraph with "null pointer deference on libavfilter.so" How may I set this enable option through the code? On Tue, Feb 2, 2021 at 12:52 AM Paul B Mahol wrote: > > > On Mon, Feb 1, 2021 at 10:33 PM ilk

Re: [Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-01 Thread ilkercan Kaya
ine and > command support. > > On Mon, Feb 1, 2021 at 7:39 PM ilkercan Kaya > wrote: > >> Hi Everyone, >> >> I am making a mobile music app where the user can add multiple different >> FXS at runtime to current playing music through a two dimensional pad with &g

[Libav-user] Libavfilter - Dynamic filtergraph reconfiguration

2021-02-01 Thread ilkercan Kaya
Hi Everyone, I am making a mobile music app where the user can add multiple different FXS at runtime to current playing music through a two dimensional pad with an effects header. I am using FFmpeg, libavfilter in C++ to add multiple FX to the audio. My problem is, the user can disable any of

Re: [Libav-user] Libavfilter - Changing audio filter parameters during runtime C++

2021-01-30 Thread ilkercan Kaya
, Jan 31, 2021, 01:15 Paul B Mahol wrote: > > > On Sat, Jan 30, 2021 at 11:12 PM Paul B Mahol wrote: > >> >> >> On Sat, Jan 30, 2021 at 11:08 PM Paul B Mahol wrote: >> >>> >>> >>> On Sat, Jan 30, 2021 at 11:00 PM ilkercan Kaya >&g

[Libav-user] Libavfilter - Changing audio filter parameters during runtime C++

2021-01-30 Thread ilkercan Kaya
Hi Everyone, I am making a mobile music app where the user can add FX to current playing music through a two dimensional pad. I am using FFmpeg, libavfilter in C++ to add FX to the audio. In FFmpeg you can create an audio filter and set it parameters and initialize a graph. My problem is since