[Libav-user] Need help with transcoding to AAC example

Nicolas George george at nsup.org
Thu Mar 31 16:26:18 CEST 2016


Le duodi 12 germinal, an CCXXIV, Przemysław Sobala a écrit :
> - asetnsamples filter when I got to feed the encoder with specific frame
> number

If you need it at the output, better use av_buffersink_set_frame_size()
directly.

> - aresample filter to change audio sampling rate

You can set the requested sample rate for the buffersink too, using
av_opt_set_int_list(), see examples/filtering_audio.c.

> That looks great!
> But does using filters add any performance impact?

Yes, of course, but negligible compared to the actual work done.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20160331/fa87121a/attachment.sig>


More information about the Libav-user mailing list