philipperemy / yolo-9000

YOLO9000: Better, Faster, Stronger - Real-Time Object Detection. 9000 classes!
Apache License 2.0
1.18k stars 309 forks source link

FFMPEG error making own video on Ubuntu #33

Closed sophia-wright-blue closed 5 years ago

sophia-wright-blue commented 5 years ago

I get the following error on trying to make my own video on Ubuntu with GPU

mask_scale: Using default '1.000000'
Loading weights from ../yolo9000-weights/yolo9000.weights...Done!
video file: /test_videos/demo.mp4
[ WARN:0] cvCreateFileCaptureWithPreference: backend FFMPEG doesn't support legacy API anymore.
Unable to stop the stream: Function not implemented
Couldn't connect to webcam.
: Function not implemented
darknet: ./src/utils.c:224: error: Assertion `0' failed.
Aborted (core dumped)

any help fixing this will be greatly appreciated.

Thanks,

philipperemy commented 5 years ago

Hum not sure on how to solve this one. Seems like an OpenCV issue.

sophia-wright-blue commented 5 years ago

thanks for replying @philipperemy , i'll look into this some more,

philipperemy commented 5 years ago

@sophia-wright-blue let us know when you found the fix!

MounirB commented 5 years ago

You can find a solution here maybe : cvcreatefilecapturewithpreference warning

philipperemy commented 5 years ago

@MounirB thanks for sharing!

VQHieu1012 commented 10 months ago

can you fix it yet?