video2numpy icon indicating copy to clipboard operation
video2numpy copied to clipboard

Performance Benchmarks for video decoding backends

Open iejMac opened this issue 3 years ago • 6 comments

iejMac avatar Jul 12 '22 12:07 iejMac

WIP - https://github.com/iejMac/video2numpy/pull/11

iejMac avatar Jul 13 '22 13:07 iejMac

Perhaps we should have a more representative benchmark dataset. Currently as an initial mp4 dataset I use one class of Kinetics700 train videos which is about 1000 videos of length ~25 seconds. The benchmark might not be accurate for dataset with a longer average length

iejMac avatar Jul 13 '22 13:07 iejMac

Initial benchmark of cv2 on 6 CPU machine using 6 threads: eff_cv2_50_224_6

htop output: Screen Shot 2022-07-13 at 7 31 37 PM

iejMac avatar Jul 13 '22 17:07 iejMac

Initial benchmark of ffmpeg on 6 CPU machine using 6 threads: eff_ffmpeg_50_224_6

htop output: Screen Shot 2022-07-13 at 7 34 09 PM

iejMac avatar Jul 13 '22 17:07 iejMac

https://github.com/NVIDIA/VideoProcessingFramework - test this out

iejMac avatar Jul 18 '22 11:07 iejMac

Improved cv2 read with https://github.com/iejMac/video2numpy/pull/13: test

iejMac avatar Jul 21 '22 13:07 iejMac