labs icon indicating copy to clipboard operation
labs copied to clipboard

Exact frame synchronisation with Jam sync

Open muddywellyboots opened this issue 2 years ago • 3 comments

Hi, I am trying to extract sync'ed frames from footage from two hero 9's, with the sync'ing as accurately as possible. I've been using the qr code method to jam sync the time code of the two gopros.

Can anyone advice on the most accurate way to extract synced frames? Offsetting one of the files by the start times with ffmpeg, then using ffpeg to extract frames at intervals? Or should I look at trying to actually read the timecode track?

Thansk

muddywellyboots avatar Jun 28 '22 10:06 muddywellyboots

QR Codes for time sync is only going to impact the timecode precision, so reading the timecode track is the path you should take.

dnewman-gpsw avatar Jun 29 '22 16:06 dnewman-gpsw

Thanks. Any idea how this is possible? Ffmpeg shows a 'GoPro TCD' stream, but I'm not sure what software can open this?

image

muddywellyboots avatar Jun 29 '22 17:06 muddywellyboots

I don't know what ffmpeg switches allow reading the time (if it supports it). All good video edit tools will read the timecode. Programmatically is it straight forward. Read the timecode track's stco atom, this has the file offset to timecode, a 32-bit number for frames since midnight.

dnewman-gpsw avatar Jun 29 '22 17:06 dnewman-gpsw