Hi,

On Thu, Jan 27, 2011 at 1:47 PM,  <[email protected]> wrote:
> I have a streaming application (stream in and out) using libavfilter and
> libavformat.  I have come across some content (mp4) which is not well
> formatted for streaming.  The video and audio frames are not well
> interleaved.  For example, av_read_frame presents me with frames  video1,
> video3, video5, audio2, audio4, audio6.  Ideally, I would expect the
> av_read_frame to present the frames as video1, audio2, video3, audio4,
> video5, audio6.  I can compensate for this (with some effort) at the output
> side.  However, it would be nice if I could take advantage of the input
> buffering and handle this at the de-muxer.  Is there any way to do this?

Queue input in separate lists for video and audio, and output them time-aligned.

Ronald
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to