theAIGuysCode / yolov4-deepsort

Object tracking implemented with YOLOv4, DeepSort, and TensorFlow.
GNU General Public License v3.0
1.31k stars 745 forks source link

Video has ended or failed, try a different video format! #70

Closed realtechspecs closed 3 years ago

realtechspecs commented 3 years ago

Each time I run the script, it shows a message at the end of the run cycle "Video has ended or failed, try a different video format!"

The output file has no object recognition boxes on it, it's just a clone of the input video.

Has anyone else encountered the issue? Any clues how to go about solving this problem?

I'm running it on a venv as specified in the readme

realtechspecs commented 3 years ago

I managed to get it to work by changing the input file from .mp4 to .avi format. Apparently, the script only works with avi video files.

RonaldYuren commented 1 year ago

I managed to get it to work by changing the input file from .mp4 to .avi format. Apparently, the script only works with avi video files.

Does the video has limit? I tried to transfer video into " .avi " but it didn't work