On Feb 22, 2018, at 12:29, Nicolas George <[email protected]> wrote: > > Tobias Rapp (2018-02-22): >> The asetnsamples filter allows to adjust the audio frame size, but I suppose >> there is a better/more idiomatic way to fix the problem. > > Indeed. The asetnsamples filter was useful when added, but its > functionality have been integrated to the framework since then. It could > be reimplemented as a trivial stub now. In fact, I have a project to > merge all the (a)setsomething filters into a single pair of (a)set > filters. > > The function to make use of that from applications is > av_buffersink_set_frame_size(). > > Regards, > > -- > Nicolas George > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
Thanks for reply! How to use this function concerning to transcode.c ? So sorry, about this question, but I’m not understand… I tried to use asetnsamples filter, but in this case audio sync and sound is terrible. When I need to use av_buffersink_set_frame_size()? Thanks! Kind Regards, Valeriy V Shtoma _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
