[Libav-user] infinite loop in avcodec_encode_audio when encoding AAC

Josh Gargus josh at schwa.ca
Sat Aug 6 11:00:59 CEST 2011


On Aug 6, 2011, at 1:39 AM, jan hölscher wrote:
> What value is stored in audioCodec->frame_size, i think it is 0.
> 
> 

No, audioCodec->frame_size is 1024.

I should also mention that it does not hang immediately… it will encode successfully for several seconds before entering the infinite loop.

Cheers,
Josh


> Regards,
> Jan
> 
> Am 06.08.2011 07:26 schrieb "Josh Gargus" <josh at schwa.ca>:
> > I'm running into a problem that seems essentially the same as:
> > 
> > http://stackoverflow.com/questions/2410459/encode-audio-to-aac-with-libavcodec
> > 
> > … except that I'm already encoding at a far lower bitrate than the threshold that started to cause him problems (I encode at 64000bits/sec, and he was OK below 386000bits/sec).
> > 
> > Has anyone else seen anything else like this? I'll be happy to provide more details if anyone is interested.
> > 
> > Thanks,
> > Josh
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110806/eeebf386/attachment.html>


More information about the Libav-user mailing list