Hi.
I'm trying to make an interleaved file with both video and audio.
To do so, I record video (264) and audio (mp3/aac) symultaniously (save them to files) using the encode demo, and after that I interleave them in one container (avi/mp4) using ffmpeg.
I have 2 sync issues:
1. (Main and more severe problem)
The video fps is not kept constant during encoding. Every few seconds the frame rate drops for a little while, which later makes the sync with the audio to get lost.
2.
The video and audio are not synced from the beginning. They don't start at the same time. I'm not sure if the time difference they start with is even kept constant from one recording to the other.
Please help.
Thanks.