Okay, let start from initial task.
I have video clips in folder and i need to generate fcpxml file, for that i need to get clip data, I’m using ffmpeg to get video metadata (length, frames, resolution, etc)
Than i need to place those clips one by one to timeline. Everything works fine except issue with frames boundary that produces random issues…
for example i have clips with 29.97 fps, length:
1.25, 1.29, 2.3 seconds
How i need to convert them to match FC frames?