<p>Greetings all,</p><p>By refering "muxing.c" and "api-example.c" I managed to encode audio+video streams and create OGG files.<br>Now i want to encode video stream captured from webcam and audio coming from the microphone.<br>
Assuming I managed to get these two streams using some API calls ,is there a special way to synchronize these two while encoding?<br>In the "muxing.c" example, it just encode the streams without any syncrhonization.<br>
I assume PTS/DTS values has something to do with this.<br>I see AVStream,AVFrame and AVPacket has a attribute called "pts".If I have to set this manually,which one I should set?</p><p>Best Regards<br>   </p>