how to got microsecond for the start TimeStamp of FFmpeg export .avi ?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to got microsecond for the start TimeStamp of FFmpeg export .avi ?

Zoom.Quiet
background:
in win10, ew usage FFmpeg capture web cam. as .avi;
for base OpenCV analyze pupil/..etc. info.

problem:
we know FFmpeg load and work need time,
so means from call FFmpeg to real write .avi into disk , had to wait
random time;
but the pupil video must very accurate match with other camera frame events;
so we need know the timestamp as microsecond for the accurate start
time with FFmpeg recording.
because other camera base Python with OpenCV capture and export as frame image,
with microsecond timestamp as file name, such as:
1543892896.5286150.jpg
...

if we know the accurate start timestamp for .avi;
so we can base fps count every frame's microsecond timestamp, to match
other frame events

BUT:
FFmpeg not record frame timestamp into .avi or others video file,
and the .avi file's attribute only include:
create time; update time;
them all not the FFmpeg accurate start reording time.

so any suggest?

thanx for all.

--
life is pathetic, go Pythonic! 人生苦短, Python当歌!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization learning!
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".