Need to sync two lists with atrribute time, but times aren't equal

Posted by virgula24 on Stack Overflow See other posts from Stack Overflow or by virgula24
Published on 2013-10-24T03:47:19Z Indexed on 2013/10/24 3:54 UTC
Read the original article Hit count: 77

Filed under:
|
|
|
|

I gonna try to describe my problem the best i can. I have two lists, one with audio frames and other with color frames (not relevant). Both of them have timestamps, they were captured at the same moment but at different instants. So, i have like this:

index  COLOR  AUDIO
0      841    846
1      873    897
2      905    948
3      940    1000

the frames start at high numbers because they were captured and then trimmed to specific parts, but im shot, frame 0 is synced with only 5ms apart(timestamp in ms).

On every case i have, the audio frames count is less than the color count. I need to make them have the same count. The stating frames may be color>audio, color

© Stack Overflow or respective owner

Related posts about c#

Related posts about algorithm