Similar to how one can change volume in the volume filter when there is a zeromq filter preceding the volume filter, then it's possible to send zeromq commands to the volume filter and change the volume dynamically (while the ffmpeg is running). In the case of adelay filter the delay could be changed dynamically, when the user would increase the delay, additional silence would be added and the sample buffer would increase, and when the user would decrease the delay some samples would be skipped in the sample buffer and the buffer size would decrease.
The usage for this would be beneficial for live streams, for example when changing the delay of an audio channel requires complete restart of the ffmpeg. ut 18. 1. 2022 o 9:22 Paul B Mahol <one...@gmail.com> napĂsal(a): > On Mon, Jan 17, 2022 at 11:02 PM deiwo deiwo <deiwo...@gmail.com> wrote: > > > Hello, > > I would like to ask if it makes sense to implement ZeroMQ interactive > > commands for the adelay filter, from the performance and memory point of > > view. > > If it does make sense then is it possible to malloc/free/realloc memory > > within the command processing function? Can it cause noticeable delays in > > the stream outputs? > > > > I am new to the ffmpeg development so I am sorry if this kind of question > > does not belong to this mailing list. > > > > > I fail to see how that would work. Please elaborate your idea. > > > > > Thanks for the response, > > David L > > _______________________________________________ > > ffmpeg-devel mailing list > > ffmpeg-devel@ffmpeg.org > > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > > > To unsubscribe, visit link above, or email > > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".