ryouchinsa / Rectlabel-support

RectLabel is an offline image annotation tool for object detection and segmentation.
https://rectlabel.com
504 stars 73 forks source link

[Video] can't create images #244

Closed ande4485 closed 8 months ago

ande4485 commented 8 months ago

I think it's a regression, but I can't export video in multiples images on version "Version 2023.12.08 (2023.12.08)" on Mac. [Step to reproduce]

My Rectlabel isn't in english so may be some descriptions aren't the same.

ryouchinsa commented 8 months ago

Thanks for writing the issue. Could you provide me the sample video file which cannot be converted on RectLabel?

ande4485 commented 8 months ago

Sorry because my video file seems to have a problem, because quickTime can't read it but on Google Drive I can. But may be if you have time, you can display an error message instead of "operation done" ?

ryouchinsa commented 8 months ago

If the video file name has a problem, could you tell me the file name? I want to reproduce the problem in my environment. I will check showing the error message.

ande4485 commented 8 months ago

https://github.com/ryouchinsa/Rectlabel-support/assets/38383248/de518cb5-187c-4392-9dc3-0c998d75927e

This is the video

ryouchinsa commented 8 months ago

Thanks for attaching the video. I could reproduce the problem in my environment.

A quick feedback is that it is because of the codec, MPEG-4 AAC, vp09. If the code is MPEG-4 AAC, H.264, the video file can be converted to image frames.

ryouchinsa commented 8 months ago

Using ffmpeg, you can convert the vp9 codec to h264 codec. Then, RectLabel can convert the h264 video file to image frames.

ffmpeg -i 290499344-de518cb5-187c-4392-9dc3-0c998d75927e.mp4 -codec:v h264 290499344-de518cb5-187c-4392-9dc3-0c998d75927e_h264.mp4

ande4485 commented 8 months ago

Ok thank you.