mooch443 / trex

TRex, a fast multi-animal tracking system with markerless identification, and 2D estimation of posture and visual fields.
https://trex.run
GNU General Public License v3.0
81 stars 8 forks source link

Unable to convert video file with tgrabs #211

Closed janey-haddock closed 5 months ago

janey-haddock commented 11 months ago

I compiled Trex to my laptop to use for my thesis project, but I am unable to convert video files using tgrabs.

We tried converting the file from a .MP4 to MOV. We tried converting different, unrelated videos. We tried it on a different system altogether, but we keep getting the same error. I have attached what we are seeing to a .txt file.

trex_error.txt

mooch443 commented 10 months ago

Ah I see, you have a manual compile (on Windows). You may have to go to the build folder -> x64 -> bin -> something -> opencv_*ffmpeg.dll and copy this file into your Release folder. It's hidden somewhere in the build folder after a successful build. Unfortunately, this step is still not automated for manual builds - and honestly it's kind of annoying that OpenCV does this.

mooch443 commented 10 months ago

Ah, for me it was this path:

trex\Application\build\opencv_install\x64\vc17\bin\opencv_videoio_ffmpeg481_64.dll

janey-haddock commented 7 months ago

Thank you so much!

I ended up trying it with a normal install and it worked. But I will keep this in mind if I ever dare to try a manual compile again.