Hi, On Tue, Sep 1, 2009 at 2:46 PM, Shujaat<[email protected]> wrote: > for(int i =0 ; i<images; i++) > { > write_audio(); > write_video();
Right... And what if one audio frame duration != one video frame duration, i.e. you have more/less audio frames than video frames? Also sync won't be fine. Check the output_example to understand how to do this; you want to write outgoing/incoming frames as you receive them from the demuxer or your live source, to make sure audio/video stay synchronized. Ronald _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
