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 ?

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

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:

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

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当歌!
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization learning!
ffmpeg-user mailing list
[hidden email]

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