[Libav-user] (no subject)

Marcus Johnson bumblebritches57 at gmail.com
Wed Oct 1 08:04:24 CEST 2014


Because I'm using Ffmpeg to decode audio to pcm, so I can encode it with my
own format. I'll look into it, thanks.

On Tue, Sep 30, 2014 at 10:38 AM, wm4 <nfxjfg at googlemail.com> wrote:

> On Mon, 29 Sep 2014 20:31:49 -0400
> Marcus Johnson <bumblebritches57 at gmail.com> wrote:
>
> > I'm trying to decode audio using libavformat and codec, it's working fine
> > so far, but I'm having trouble getting the decoded buffer into a single
> > array to hold all samples, I read that there's a function called
> > avpicture_layout, and that's basically exactly what I need, except it's
> for
> > AVPicture, and I need it for AVFrame, what do I do? I see nothing like
> that
> > in the docs.
>
> av_samples_fill_arrays() does the same thing. It doesn't take an
> AVFrame directly, so you still have to do something manually.
>
> I wonder why you need a single buffer, though...
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20141001/24b72171/attachment.html>


More information about the Libav-user mailing list