For important (and mostly unavoidable) reasons that we’ll go over another time, Byte alters video files when loading them in order to prepare them for seamless looping. Vine did this as well.
Because of this, you will generally experience that some of your audio is “cut off” or garbled when you import it. If you have audio that is already designed to loop perfectly, you can make the following changes to get a near perfect loop:
Technique 1 for 30 FPS videos
Add 3 frames (aka 0.1s) to both the beginning and end of the video.
Technique 2 for 60 FPS videos
Add 6 frames (aka 0.1s) to both the beginning and end of the video.
Technique 3 (for complex audio, non-30/60 FPS video, or if the above doesn’t work)
- Start with your intended audio loop, and make sure it’s no longer than 7.8s
- Copy 150ms of audio from the beginning of the loop and append it to the end
- Assuming you started with a 7.8s file, it should now be 7.95s
- Add 50ms of silence to the beginning of the file
- The file should now be 8s
Use this audio as the basis for your video (and make sure the video track is the same length as the final audio file), and you should get a near perfect audio loop.
We’ll work on making this easier and less necessary in the future.