Answers.Body: <p>You can only sync video to an accuracy of a frame, or somewhere in the area of 15-40 mSec depending on frame rate. So as long as whatever you're shooting can update and refresh at least that quickly, it's not important to do much better. Even shooting a mechanical metronome will probably get you as close as anything else. The refresh rate of the display shouldn't be a factor, if you're examining both clips on the same screen.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T12:24:50.923Z
Answers.Text: Please note I have two cameras in stereo setup and with OpenCV I am showing a new frame for measurement only once in 2s so I can read the captured time easily. Say the exposition time is 1/1000s (1ms). In case of 60Hz monitor I may only be sure that my frame drift is less than 16ms if both frames show same time. I want to push this 16ms even to a smaller number - but this can only be done by getting more Hz on display that is captured by cameras, possibly 1000 Hz for ms accuracy.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T12:45:09.847Z
Answers.Text: A faster display won't change anything. All that matters is the frame rate of the camera. Your captured motion is quantized at that rate, and observing the quanta more quickly or more often doesn't make those quanta any different.
Answers.UserDisplayName: Jim Mack
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T13:44:41.597Z
Answers.Text: Agreed - assuming you're shooting at 60 fps, you'll only be grabbing a frame roughly every 17 milliseconds. Your display can update all it wants, but as long you're updating at least every 17 milliseconds (60 Hz), you'll be fine. There will be no difference between a 60 Hz and 1000 Hz display shot at 60 fps. As long as the refresh rate of your monitor (in Hz) is greater than or equal to your frame rate (in fps), you should be fine.
Answers.UserDisplayName: John Barton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T20:07:16.803Z
Answers.Text: I still think you both are wrong. You are still talking about a single camera. What I care about is the sync offset of TWO cameras. Example: Time is 0. I push a trigger at time=1.000s. First camera takes its first frame at time=1.000s. Second camera takes its first frame at time=1.005s. The 0.005 or 5ms is the offset I care about. Though on a display that has 60Hz both cameras show 1.000 value in their frame because the dislpay has not updated yet and will update at time=1.016s. That is my point.
Answers.UserDisplayName: Kozuch
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T20:57:59.017Z
Answers.Text: @Kozuch - note that for that type of a sync, having a timer probably isn't ideal because it would be hard to tell exactly which segments were active during the frame exposure.  If you really want to do it visually, you need something that will light up in sequence so that you can tell which segments were active during each frame, thus giving you a clearer picture of your offset.  (Though I'd still prefer sound if the camera's have good internal A/V sync.)
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T21:39:49.010Z
Answers.Text: @Kozuch - One camera or two, the frames occur at 16ms intervals (assuming 60fps). It makes no difference if the cameras are taking at different times: if you observe, side-by side, still frames from the two cameras, you will always see the images as captured at their respective times. Any time difference you see on the display can't be affected in any way by the display's speed or refresh rate. In any case, AJ has given you a good suggestion to use audio rather than video to determine the offset.
Answers.UserDisplayName: Jim Mack
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-14T12:23:47.433Z
Answers.Text: Agreed, audio is a much better way to test the synchronization of cameras.
Answers.UserDisplayName: John Barton
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T12:07:57.347Z
Answers.LastActivityDate: 2014-08-13T12:07:57.347Z
Answers.UserDisplayName: Jim Mack
Answers.Body: <p>As Jim Mack said, you can only sync video to an accuracy of a frame, which can be pretty tricky. If your two video streams are half a frame off, for instance, there's really no way for you to correct this difference any further (this is the worst case scenario).</p>
  
  <p>My suggestion would be to use some physical object or motion instead of a stopwatch. A "slate" or "clapboard" is a very common way of synchronizing audio and video and can easily be used to sync two cameras.</p>
  
  <p>For this case, some other physical movement might be easier to use - maybe put both cameras on the ground, shooting a ball dropping in front of a ruler or something along those lines.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-08-13T12:26:14.147Z
Answers.LastActivityDate: 2014-08-13T12:26:14.147Z
Answers.UserDisplayName: John Barton
Body: <p>I am trying to get <a href="https://video.stackexchange.com/questions/12312/creating-synchronized-stereo-videos-with-2-cameras-at-low-cost">2 video streams into sync</a> at low cost. I would like to visually measure how good can I synchronize my cameras by pointing them to a millisecond capable stopwatch.</p>
  
  <p>Does anyone know what is the refresh rate of an "old style" monochromatic LCD stopwatch (<a href="https://commons.wikimedia.org/wiki/File:Leet_stopwatch.JPG" rel="nofollow noreferrer">example</a>)? I don't have one so I haven't tried to capture these yet. <a href="https://en.wikipedia.org/wiki/Liquid-crystal_display" rel="nofollow noreferrer">Wikipedia says</a> an LCD could have a refresh rate as high as 200Hz. If LCD is slow, <a href="https://commons.wikimedia.org/wiki/File:LED_Digital_Display.jpg" rel="nofollow noreferrer">LED</a> probably would be faster depending on circuity used.</p>
  
  <p>So far I used online stopwatch, but these are limited by (usually) a 60Hz refresh rate of a computer LCD monitor. 60Hz lowers the resolution to about 16ms (1s/60Hz).</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-13T17:56:28.593Z
Comments.Text: This question appears to be off-topic because it is about electronics unrelated to video.  The only question I see you actually asking is "what is the refresh rate of a stopwatch?"  This has nothing to do with video even if the application of it does.  You may want to try the Electrical Engineering StackExchange with a focus on the question of "which display type is better for use in a device for high speed sync".
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-13T18:08:56.173Z
Comments.Text: Also, if you really want highest possible accuracy, video is not the way to do it, sync your audio tracks.  Video samples around 24 to 60 times a second, audio samples around 41,000 to 96,000 times per second.  Simply play a sound with a quick start and stop so that you can cleanly align on the edges of the sound.  This should work well unless the cameras you are using have bad sync internally.
Comments.UserDisplayName: AJ Henderson
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-08-13T20:12:18.960Z
Comments.Text: I agree with you actually. Thanks for a topic recommendation for EE SE.
Comments.UserDisplayName: Kozuch
Tags: <video-recording><sync><stereo>
Title: Millisecond stopwatch for visual stereo video synchronization measurement
UserDisplayName: Kozuch
ThreadText: # Millisecond stopwatch for visual stereo video synchronization measurement
  
  (Asked by: username_0 on 2014-08-13)
  
  I am trying to get [2 video streams into sync](https://video.stackexchange.com/questions/12312/creating-synchronized-stereo-videos-with-2-cameras-at-low-cost) at low cost. I would like to visually measure how good can I synchronize my cameras by pointing them to a millisecond capable stopwatch.
  
  Does anyone know what is the refresh rate of an "old style" monochromatic LCD stopwatch ([example](https://commons.wikimedia.org/wiki/File:Leet_stopwatch.JPG))? I don't have one so I haven't tried to capture these yet. [Wikipedia says](https://en.wikipedia.org/wiki/Liquid-crystal_display) an LCD could have a refresh rate as high as 200Hz. If LCD is slow, [LED](https://commons.wikimedia.org/wiki/File:LED_Digital_Display.jpg) probably would be faster depending on circuity used.
  
  So far I used online stopwatch, but these are limited by (usually) a 60Hz refresh rate of a computer LCD monitor. 60Hz lowers the resolution to about 16ms (1s/60Hz).
  
  **Tags:** video-recording, sync, stereo
  
  > **Comments:**
  > **username_1**: This question appears to be off-topic because it is about electronics unrelated to video.  The only question I see you actually asking is "what is the refresh rate of a stopwatch?"  This has nothing to do with video even if the application of it does.  You may want to try the Electrical Engineering StackExchange with a focus on the question of "which display type is better for use in a device for high speed sync".  
  > **username_1**: Also, if you really want highest possible accuracy, video is not the way to do it, sync your audio tracks.  Video samples around 24 to 60 times a second, audio samples around 41,000 to 96,000 times per second.  Simply play a sound with a quick start and stop so that you can cleanly align on the edges of the sound.  This should work well unless the cameras you are using have bad sync internally.  
  > **username_0**: I agree with you actually. Thanks for a topic recommendation for EE SE.  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2014-08-13. Score: 2
  
  You can only sync video to an accuracy of a frame, or somewhere in the area of 15-40 mSec depending on frame rate. So as long as whatever you're shooting can update and refresh at least that quickly, it's not important to do much better. Even shooting a mechanical metronome will probably get you as close as anything else. The refresh rate of the display shouldn't be a factor, if you're examining both clips on the same screen.
  
  > **Comments:**
  > **username_0**: Please note I have two cameras in stereo setup and with OpenCV I am showing a new frame for measurement only once in 2s so I can read the captured time easily. Say the exposition time is 1/1000s (1ms). In case of 60Hz monitor I may only be sure that my frame drift is less than 16ms if both frames show same time. I want to push this 16ms even to a smaller number - but this can only be done by getting more Hz on display that is captured by cameras, possibly 1000 Hz for ms accuracy.  
  > **username_2**: A faster display won't change anything. All that matters is the frame rate of the camera. Your captured motion is quantized at that rate, and observing the quanta more quickly or more often doesn't make those quanta any different.  
  > **username_3**: Agreed - assuming you're shooting at 60 fps, you'll only be grabbing a frame roughly every 17 milliseconds. Your display can update all it wants, but as long you're updating at least every 17 milliseconds (60 Hz), you'll be fine. There will be no difference between a 60 Hz and 1000 Hz display shot at 60 fps. As long as the refresh rate of your monitor (in Hz) is greater than or equal to your frame rate (in fps), you should be fine.  
  > **username_0**: I still think you both are wrong. You are still talking about a single camera. What I care about is the sync offset of TWO cameras. Example: Time is 0. I push a trigger at time=1.000s. First camera takes its first frame at time=1.000s. Second camera takes its first frame at time=1.005s. The 0.005 or 5ms is the offset I care about. Though on a display that has 60Hz both cameras show 1.000 value in their frame because the dislpay has not updated yet and will update at time=1.016s. That is my point.  
  > **username_1**: @username_0 - note that for that type of a sync, having a timer probably isn't ideal because it would be hard to tell exactly which segments were active during the frame exposure.  If you really want to do it visually, you need something that will light up in sequence so that you can tell which segments were active during each frame, thus giving you a clearer picture of your offset.  (Though I'd still prefer sound if the camera's have good internal A/V sync.)  
  > **username_2**: @username_0 - One camera or two, the frames occur at 16ms intervals (assuming 60fps). It makes no difference if the cameras are taking at different times: if you observe, side-by side, still frames from the two cameras, you will always see the images as captured at their respective times. Any time difference you see on the display can't be affected in any way by the display's speed or refresh rate. In any case, AJ has given you a good suggestion to use audio rather than video to determine the offset.  
  > **username_3**: Agreed, audio is a much better way to test the synchronization of cameras.  
  
  ---
  
  ### Answer by username_3 on 2014-08-13. Score: 0
  
  As Jim username_2 said, you can only sync video to an accuracy of a frame, which can be pretty tricky. If your two video streams are half a frame off, for instance, there's really no way for you to correct this difference any further (this is the worst case scenario).
  
  My suggestion would be to use some physical object or motion instead of a stopwatch. A "slate" or "clapboard" is a very common way of synchronizing audio and video and can easily be used to sync two cameras.
  
  For this case, some other physical movement might be easier to use - maybe put both cameras on the ground, shooting a ball dropping in front of a ruler or something along those lines.
  
  
  ---
  
  