Open adityagupta-9900 opened 3 years ago
you can comment these lines in function "close_video_writer" in siam-mot/demos/utils/vis_writer.py
just like this ` def close_video_writer(self): assert (self._video_writer is not None) self._video_writer.release()
# compress the videos
'''
comp_video_path = self._video_path.replace(".mp4", "_comp.mp4")
subprocess.run(["ffmpeg", "-i",
str(self._video_path),
"-vcodec", "libx264",
"-crf", "26",
str(comp_video_path)])
subprocess.run(["rm", str(self._video_path)])
subprocess.run(["mv", str(comp_video_path), self._video_path])
'''
`
after commenting these lines, I see the results
Getting the following error when "python3 demos/demo.py --demo-video data/person_car.mp4 --track-class person --dump-video True" is ran, "Unrecognized option 'crf'. Error splitting the argument list: Option not found" Also the output files are not getting created in demos/demos_vis
We also tried uninstalling and installing again ffmpeg package. It doesn't work