[FFmpeg-user] Getting precise start time from wall-clock for capture

Arthur Wait artwait at gmail.com
Mon May 18 04:03:35 CEST 2015


Hi all,

I'm using FFMPEG to record video from several cameras attached to several
networked computers. The computers' clocks are all synced. I'd like to be
able to get a precise date/time for the first captured frame; this will
allow me to easily sync the recordings later on. I've found that just
getting the date/time from the command line is not accurate enough--it
reflects the time that the file is first written to disk, but not the time
that the first frame is captured.

I found a similar question posted to StackOverflow (
https://stackoverflow.com/questions/21262786/accurate-ffmpeg-capture-start-time),
and he describes the requirement quite well, though no one seemed to have a
workable solution (I tried the suggestions posted).

Anyone else have ideas for this?

Thanks very much!

Art


More information about the ffmpeg-user mailing list