OpenGoPro icon indicating copy to clipboard operation
OpenGoPro copied to clipboard

Allow for 20 ms video synchronization

Open pavlosharhan2 opened this issue 3 years ago • 5 comments

I want to sync the footage from multiple GoPros for future video processing.

For this I would like to be able to get the video creation time with precision up to milliseconds. I did various attempts trying to get this info from MP4 metadata via ffprobe, but the timestamps there seem to have to sense.

My current solution is to get the Time from My PC while sending the "shutter on" command and take away ~0.132 seconds considering average latency between sending the command and actual start of the video. The error with this approach is ~20-40 ms, which is not enough for me. One more downside of this method is that latency is different for different presets. That's why I want something neater and more accurate.

The only one solution in my mind could be enabling GPS and extract the timestampes (with milliseconds precision) from telemetry files. I feel like It's an overkill. It would drain the battery significantly and there might be no signal. I'd made some tests in past and sometimes the GoPro needs 5-10 minutes to catch the GPS signal.

Is there some better solution for this?

@tcamise-gpsw @KonradIT

pavlosharhan2 avatar Jul 21 '22 18:07 pavlosharhan2

You need GoPro Labs.

https://gopro.github.io/labs/control/precisiontime/

https://gopro.github.io/labs/control/gpssync/

KonradIT avatar Jul 21 '22 20:07 KonradIT

syncronisation is important. I also really need this via bluetoothle, not qr code

steelbytes avatar Aug 21 '22 23:08 steelbytes

What level of synchronization accuracy are you trying to achieve? You mentioned above that 20 ms is not enough.

tcamise-gpsw avatar Sep 15 '22 19:09 tcamise-gpsw

What level of synchronization accuracy are you trying to achieve? You mentioned above that 20 ms is not enough.

I'm happy with say 100ms but others may(do) want better.

I want it so I can sync the video with telemetry data. I am planning on writing an app that decodes the video, renders a speedo&tacho and reencodes the video. my vehicle data is at a rate of 100ms.

steelbytes avatar Sep 18 '22 23:09 steelbytes

@steelbytes @pavlosharhan2 working on something similar. Attempting to get two gopro devices to film simultaneously for a redundant recording. if you'd be interested in collaboration or sharing ideas, get in touch.

Landstein avatar Oct 15 '22 18:10 Landstein