<p>This tool is impossible. Almost.</p>

<p>To check sync of audio/video, you need something what appeared in both streams, what can be used as sync points. In old days used Clapperboard during film shooting. In television there was hidden timecode at border of frame, in zone of overscan which not displayed on TV</p>

<p>If you writing professional software, include timecodes to both streams. If not, just stream your video and audio in a single container, it enough.</p>

CC BY-SA 3.0
2017-10-12T20:23:53.807Z
2017-10-16T13:39:41.983Z
2017-10-16T13:39:41.983Z
bukkojot
<p>I'm working on a script that live streams 3 hours of video to several servers. Is there a command (or tool... maybe using something else like wireshark?) that I could run on each of the streams to automate a check for glaring audio/video sync issues?</p>

<p>If so, at least please point me to the relevant reading materials/documentation. Thanks in advance!</p>

CC BY-SA 3.0
2017-10-13T00:33:23.437Z
What kind of stream and what is your budget? There are some options for SMPTE 2022 or SMPTE 2110 at the network level. There are also options if you can insert a fingerprint. I'd also seen a product a few years back that was using facial recognition to detect mouth shapes to see if they lined up with the sounds in the audio. But all of those require a not insignificant budget.
Michael Liebman
CC BY-SA 3.0
2017-10-14T14:11:01.883Z
Michael, I'm focusing on rtmp at the moment. Also, the script is using ffmpeg to launch the streams. I don't think I need anything quite that fancy. Is it possible to use ffmpeg to encode some sort of tag (perhaps at intervals of say, every 10 minutes) into the stream's audio and video that I can use as a sanity check?
bitterman
<video><ffmpeg><software-recommendation><sync>
ffprobe/ffplay/ffmpeg command for checking audio/video sync
bitterman
# ffprobe/ffplay/ffmpeg command for checking audio/video sync

(Asked by: username_0 on 2017-10-12)

I'm working on a script that live streams 3 hours of video to several servers. Is there a command (or tool... maybe using something else like wireshark?) that I could run on each of the streams to automate a check for glaring audio/video sync issues?

If so, at least please point me to the relevant reading materials/documentation. Thanks in advance!

**Tags:** video, ffmpeg, software-recommendation, sync

> **Comments:**
> **username_1**: What kind of stream and what is your budget? There are some options for SMPTE 2022 or SMPTE 2110 at the network level. There are also options if you can insert a fingerprint. I'd also seen a product a few years back that was using facial recognition to detect mouth shapes to see if they lined up with the sounds in the audio. But all of those require a not insignificant budget.  
> **username_0**: Michael, I'm focusing on rtmp at the moment. Also, the script is using ffmpeg to launch the streams. I don't think I need anything quite that fancy. Is it possible to use ffmpeg to encode some sort of tag (perhaps at intervals of say, every 10 minutes) into the stream's audio and video that I can use as a sanity check?  

---

## 1 answers

### Answer by username_2 on 2017-10-12. Score: 1 | Accepted answer

This tool is impossible. Almost.

To check sync of audio/video, you need something what appeared in both streams, what can be used as sync points. In old days used Clapperboard during film shooting. In television there was hidden timecode at border of frame, in zone of overscan which not displayed on TV

If you writing professional software, include timecodes to both streams. If not, just stream your video and audio in a single container, it enough.


---

