Gapless audio in video
This can happen if the GOP structure is unclosed at the end of the video. If you can assure that your video ends with an I frame, and that the audio is exactly the same length as the video, you stand a much better chance of getting a smooth recycle. Sorry, I don't know how to force that using ffmpeg.