[Libav-user] Transcoding audio to MP3 in mp4 container

Nicolas George george at nsup.org
Thu Feb 22 12:29:15 EET 2018


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180222/7d6eee4f/attachment.sig>


More information about the Libav-user mailing list