transitive-bullshit / ffmpeg-concat

Concats a list of videos together using ffmpeg with sexy OpenGL transitions.
863 stars 113 forks source link

Issue with video and audio being out of sync resulted in loss of last few seconds of video. #161

Open codeayzy opened 2 months ago

codeayzy commented 2 months ago

I used two 8-second videos and transitioned them with a cube for 1 second, but there was audio desync. The transition started at the 5-6th second, missing the first video's 2 seconds of footage. Then, the second video began, and by the 11th second, the picture froze while the audio continued playing. What could be causing this issue?

transitive-bullshit commented 2 months ago

There are so many variables at play w/ ffmpeg. My best recommendation is to transcode your input audio/video sources into a common format first before trying to use it with this lib.

Otherwise, I'm not sure && I don't have time to properly debug.