[Libav-user] Flushing Audio Frame Crash
phuze9 at gmail.com
Fri May 10 14:29:50 CEST 2013
well the data is PCM (int16_t*), the codec is aac (which will interlace
with a h264 baseline video in an mp4 container)
On Fri, May 10, 2013 at 6:08 AM, Paul B Mahol <onemda at gmail.com> wrote:
> On 5/10/13, mohM <phuze9 at gmail.com> wrote:
> > I saw another thread on here similar to this, but it didn't really solve
> > problem. Basically, I'm still working on getting my audio encoding to
> > and I'm now having trouble getting a basic audio encode to work...What
> > trying to do is get a single frame of audio to encode. The first call to
> > avcodec_encode_audio2() is successfull, and if I leave out the flush
> > the console output tells me:
> > As far as I can understand from the documentation and my experience with
> > video encoding, this is pretty normal. When I try to flush the frame by
> > passing NULL into avcodec_encode_audio2(), however, the program crashes
> > says "Integer division by zero" in mlock.c. Am I doing something wrong
> > here?
> > Any ideas?
> What codec?
> Note that only some encoders actually supports flushing.
> > --
> > View this message in context:
> > Sent from the libav-users mailing list archive at Nabble.com.
> > _______________________________________________
> > Libav-user mailing list
> > Libav-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/libav-user
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user