judwhite/YoloTrain

Export mp4 frames

judwhite opened this issue · 0 comments

yolo_mark.exe data/img cap_video <filename.mp4> N

data/img must exist! Otherwise yolo_mark says it wrote successfully when it didn't.

N is the sample rate (10 = every 10th frame)

Or use ffmpeg directly: ffmpeg -i input.mp4 -vf fps=1 out%03d.jpg (outputs 1 frame per second)