Answers.Body: <p>I'm not sure there is really a good answer to this problem without custom hardware.  General wireless products aren't really going to be a great option as wifi and bluetooth will both have variable latency issues and missed packets.  What you'd really want is something akin to flash triggers, but capable of firing repeatedly at your frame rate.  It would need to be a custom wireless solution for the problem though.</p>
  
  <p>On the software side, you can try frame interpolation, but I'm not sure that the quality loss associated wouldn't be worse than the minor timing difference of not being gen-locked.  It still isn't going to match up exactly as it is a guess rather than what actually happened.</p>
  
  <p>This is also ignoring the fact that rolling shutter greatly reduces the advantage of gen-lock to begin with.  The sensor itself is taking time to read the scene and so not even the top and bottom of the frame are truly in sync.  Genlocking is really something that more mattered for doing live switching where you needed to be able to keep a constant frame sequence and needed a frame to send.  It can also be useful in fine tuning audio/video sync, but that's pretty secondary to the technical needs to it, especially if you are shooting high framerate video.</p>
  
  <p>That may actually be the real solution to your problem too.  If you shoot at a higher frame rate than your intended final product, you'll have frames much closer in timing to each other and can pick which frames to use.  This will work best if it's an even multiple, but pull downs may also work acceptably.  So if you shot 60 fps and were planning on going with 30, you could pick your frames to pull out to make sure you were at most half a frame off and on average be only 1/4 frame off.  That's a pretty tight sync without needing any weird magic.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-08-31T14:19:23.807Z
Answers.LastActivityDate: 2018-08-31T14:19:23.807Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I have a <code>GoPro Hero 4 Black</code> and a <code>Rollei 5S Wifi</code> looking at the same scene from a different angle.</p>
  
  <p>How can I hardware - or later in software using ffmpeg - gen-lock them?</p>
  
  <p>My ideas:</p>
  
  <p><strong>Software</strong></p>
  
  <ul>
  <li>interpolate between frames and align matching frames using machine learning</li>
  </ul>
  
  <p><strong>Hardware</strong></p>
  
  <ul>
  <li>Control them via wifi to start them at the same time. Still the question is when they actually start after getting the command and how to control them using only one wifi adapter or bluetooth adapter or whatever protocol they use. Without knowing that it will work, it's a lot of effort to do it.</li>
  </ul>
  
Tags: <video><ffmpeg><video-editor><software-recommendation>
Title: Hardware or software Gen-Lock for different actioncams
UserDisplayName: Fabien Biller
ThreadText: # Hardware or software Gen-Lock for different actioncams
  
  (Asked by: username_0 on 2018-08-31)
  
  I have a `GoPro Hero 4 Black` and a `Rollei 5S Wifi` looking at the same scene from a different angle.
  
  How can I hardware - or later in software using ffmpeg - gen-lock them?
  
  My ideas:
  
  **Software**
  
  * interpolate between frames and align matching frames using machine learning
  
  **Hardware**
  
  * Control them via wifi to start them at the same time. Still the question is when they actually start after getting the command and how to control them using only one wifi adapter or bluetooth adapter or whatever protocol they use. Without knowing that it will work, it's a lot of effort to do it.
  
  **Tags:** video, ffmpeg, video-editor, software-recommendation
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-08-31. Score: 1
  
  I'm not sure there is really a good answer to this problem without custom hardware. General wireless products aren't really going to be a great option as wifi and bluetooth will both have variable latency issues and missed packets. What you'd really want is something akin to flash triggers, but capable of firing repeatedly at your frame rate. It would need to be a custom wireless solution for the problem though.
  
  On the software side, you can try frame interpolation, but I'm not sure that the quality loss associated wouldn't be worse than the minor timing difference of not being gen-locked. It still isn't going to match up exactly as it is a guess rather than what actually happened.
  
  This is also ignoring the fact that rolling shutter greatly reduces the advantage of gen-lock to begin with. The sensor itself is taking time to read the scene and so not even the top and bottom of the frame are truly in sync. Genlocking is really something that more mattered for doing live switching where you needed to be able to keep a constant frame sequence and needed a frame to send. It can also be useful in fine tuning audio/video sync, but that's pretty secondary to the technical needs to it, especially if you are shooting high framerate video.
  
  That may actually be the real solution to your problem too. If you shoot at a higher frame rate than your intended final product, you'll have frames much closer in timing to each other and can pick which frames to use. This will work best if it's an even multiple, but pull downs may also work acceptably. So if you shot 60 fps and were planning on going with 30, you could pick your frames to pull out to make sure you were at most half a frame off and on average be only 1/4 frame off. That's a pretty tight sync without needing any weird magic.
  
  
  ---
  
  