[Libav-user] muxing already encoded audio data

Henry, David David.Henry at echostar.com
Wed Mar 22 00:03:35 EET 2017

On 3/20/17, 5:55 PM, "Libav-user on behalf of David Ibbitson"
<libav-user-bounces at ffmpeg.org on behalf of davey at nextvr.com> wrote:

>Hi Folks,
>Is it possible to use av_interleaved_write_frame to mux already encoded
>audio data into the output stream?
>Video is encoded via libavcodec but my audio source is a bitstream of
>already encoded eac3 data.
>It¹s not clear how to go about muxing this in successfully. Any tips or

Davey, you should be able to use either av_interleaved_write_frame() or
av_write_frame() to mux your audio data.
As long as you write it in the order you receive it, either of those calls
should work for a frame of eac3 data.

- David

More information about the Libav-user mailing list