visual-layer / fastdup

fastdup is a powerful free tool designed to rapidly extract valuable insights from your image & video datasets. Assisting you to increase your dataset images & labels quality and reduce your data operations costs at an unparalleled scale.
Other
1.51k stars 74 forks source link

[Bug]: DJI videos are extracted using wrong color map #298

Open dbickson opened 8 months ago

dbickson commented 8 months ago

What happened?

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './DJI_0066_T.MP4': Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2021-02-09T22:31:41.000000Z encoder : Lavf56.15.102 Duration: 00:00:14.52, start: 0.000000, bitrate: 9005 kb/s Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x512, 9004 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 58 tbc (default) Metadata: creation_time : 2021-02-09T22:31:41.000000Z handler_name : VideoHandler Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native)) [swscaler @ 0x55ae9edbff40] deprecated pixel format used, make sure you did set range correctly

What did you expect to see?

the video is extracted to frames but the colors are wierd

What version of fastdup were you runnning on?

1.64

What version of Python were you running on?

Python 3.10

Operating System

ubuntu 20

Reproduction steps

No response

Relevant log output

No response

Attach a screenshot [Optional]

No response

Contact Details [Optional]

No response