[Libav-user] Muxing problems: audio extending too far

Gonzalo Garramuno ggarra13 at gmail.com
Wed Jun 4 18:06:07 CEST 2014


On 29/05/14 13:08, Gonzalo Garramuno wrote:
> I have added muxing to my gpl viewer and found some issues.
I have now solved the issues.  The problem was that c->frame_size was 
being incorrectly changed for codecs that have 
CODEC_CAP_VARIABLE_FRAME_SIZE not set.
I solved it by adding an audio fifo to constrain the number of samples 
sent to the encoder, following the transcoder_aac example.


More information about the Libav-user mailing list